- \IfFileExists{lmodern.sty}{\usepackage{lmodern}}\r
- {\usepackage[scaled=0.92]{helvet}\r
- \usepackage{mathptmx}\r
- \usepackage{courier} }\r
-\r
- % the pages of the TOC are numbered roman\r
- % and a pdf-bookmark for the TOC is added\r
- \pagenumbering{roman}\r
- \let\myTOC\tableofcontents\r
- \renewcommand\tableofcontents{%\r
- \pdfbookmark[1]{Contents}{}\r
- \myTOC\r
- \clearpage\r
- \pagenumbering{arabic} }\r
-\r
- % link all cross references and URLs in pdf output\r
- \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,\r
- linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,\r
- pdfpagelayout=OneColumn, pdfnewwindow=true,\r
- pdfstartview=XYZ, plainpages=false, pdfpagelabels,\r
- pdfauthor={LyX Team}, pdftex,\r
- pdftitle={The LyX User's Guide},pdfsubject={LyX-documentation Intro},\r
- pdfkeywords={LyX}]{hyperref}\r
- \r
-\else % if dvi or ps is produced\r
-\r
- % link all cross references and URLs in dvi output\r
- \usepackage[ps2pdf]{hyperref}\r
-\r
- % the pages of the TOC are numbered roman\r
- \pagenumbering{roman}\r
- \let\myTOC\tableofcontents\r
- \renewcommand\tableofcontents{%\r
- \pdfbookmark[1]{Contents}{}\r
- \myTOC\r
- \clearpage\r
- \pagenumbering{arabic} }\r
- \r
-\fi\r
-%\def\magyarOptions{defaults=over-1.4,footnote=huplain}\r
-%\usepackage{indentfirst}\r
-%\frenchspacing\r
-%\sloppypar\r
+ \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}\r
+\r
+\fi % end if pdflatex is used\r
+\r
+% the pages of the TOC is numbered roman\r
+% and a pdf-bookmark for the TOC is added\r
+\let\myTOC\tableofcontents\r
+\renewcommand\tableofcontents{%\r
+ \frontmatter\r
+ \pdfbookmark[1]{\contentsname}{}\r
+ \myTOC\r
+ \mainmatter }\r
+\r
+% redefine the \LyX macro for PDF bookmarks\r
+\def\LyX{\texorpdfstring{%\r
+ L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}\r
+ {LyX}}\r