X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FTutorial.lyx;h=edeedbccc71132c5c745b1557225a13b4a4abf03;hb=327b0d3d63cdff0e81eecd7587f0cb653d218779;hp=a036c554627a0c74043c5402d662b6dfae895b94;hpb=6dab61d8451d0fed0cbdd9ab7ed7506413ecb2ab;p=lyx.git diff --git a/lib/doc/Tutorial.lyx b/lib/doc/Tutorial.lyx index a036c55462..edeedbccc7 100644 --- a/lib/doc/Tutorial.lyx +++ b/lib/doc/Tutorial.lyx @@ -1,5 +1,5 @@ -#LyX 1.6.0beta3 created this file. For more info see http://www.lyx.org/ -\lyxformat 335 +#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 338 \begin_document \begin_header \textclass book @@ -21,15 +21,14 @@ \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]{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{% @@ -46,6 +45,7 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default \paperfontsize 12 \spacing single