]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/UserGuide.lyx
documentation: some preamble fixes, part 2/3
[lyx.git] / lib / doc / UserGuide.lyx
index c0f33f243ba5589a605f0cec315734b4eaeb8005..738d69d79fa528012693b0d8478375b021c26e7f 100644 (file)
 % for correct jump positions whe clicking on a link to a float
 \usepackage[figure]{hypcap}
 
- % the pages of the TOC are numbered roman
- % and a pdf-bookmark for the TOC is added
- \pagenumbering{roman}
- \let\myTOC\tableofcontents
- \renewcommand\tableofcontents{%
-   \pdfbookmark[1]{Contents}{}
-   \myTOC
-   \cleardoublepage
-   \pagenumbering{arabic} }
+% the pages of the TOC is numbered roman
+% and a pdf-bookmark for the TOC is added
+\let\myTOC\tableofcontents
+\renewcommand\tableofcontents{%
+  \frontmatter
+  \pdfbookmark[1]{\contentsname}{}
+  \myTOC
+  \mainmatter }
 
 % redefine the \LyX macro for PDF bookmarks
 \def\LyX{\texorpdfstring{%
@@ -36533,7 +36532,7 @@ Preferences
 
 \begin_layout Standard
 The preferences dialog is described in detail in chapter
-\begin_inset Formula $\,$
+\begin_inset space \thinspace{}
 \end_inset