LyX ⇒ Error in index marks
Error in index marks
This is an extract of the code for the Index, al the beginning of the document,that I write mannually:
\pdfbookmark[-1]{ÍNDICE GENERAL}{índice}Índice general
\thispagestyle{empty}
\vspace*{5pt}
\pdfbookmark[1]{Capítulo XXXIV. MAGNETISMO TERRESTRE}{capítulo34}
Capítulo \ref{chap:34}.– Magnetismo terrestre.
\vspace*{5pt}
[sec:3401].– Campo magnético terrestre. Definiciones y unidades, 1. [sec:3402].– Componentes del campo magnético terrestre, 2. [sec:3403].– Declinación magnética. Su corrección, 4. [sec:3404].– Inclinación, 4. [sec:3405].– Cartas magnéticas, 5.
\vspace*{5pt}
\pdfbookmark[1]{Capítulo XXXV. AGUJA MAGNÉTICA}{capítulo35}
Capítulo \ref{chap:35}.– Aguja magnética.
\vspace*{5pt}
[sec:3501].– Definición y nomenclatura, 11. [sec:3502].– Momento magnético, 14. [sec:3503].– Sensibilidad y estabilidad, 15. [sec:3504].– Obtención de las características, 16. [sec:3505].– Relleno del mortero, 17. [sec:3506].– Revisiones, conservación y cuidados, 17. [sec:3507].– Emplazamiento de la aguja, 18. [sec:3508].– Distintos tipos de agujas magnéticas, 19.
.
.
.
This is the LAST line in the preamble of the document:
\usepackage[bookmarks=true,bookmarksopen=true,bookmarksopenlevel=2,bookmarksnumbered=true,breaklinks=true]{hyperref}
This will be an ebook, so the marks in the pdf are a very important subject.
Thank you.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis