]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Tutorial.lyx
UserGuide.lyx: clarify the description of the character encodings
[lyx.git] / lib / doc / Tutorial.lyx
index a0aaf57bfe70aaad8aecb1d41294c24e7c360a3a..132f45bf83353d2880533c151ac27d93c6244b30 100644 (file)
 
 \fi % end if pdflatex is used
 
- % 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]{\contentsname}{}
-   \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{%