mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-27 19:40:10 +00:00
preamble cleanup for the docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dd1b6a0612
commit
27b51b735d
@ -25,16 +25,6 @@
|
||||
\usepackage{mathptmx}
|
||||
\usepackage{courier} }
|
||||
|
||||
% 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
|
||||
\clearpage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
% link all cross references and URLs in pdf output
|
||||
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
|
||||
bookmarksopen, bookmarksopenlevel=2,
|
||||
@ -50,16 +40,17 @@
|
||||
% link all cross references and URLs in dvi output
|
||||
\usepackage[ps2pdf]{hyperref}
|
||||
|
||||
\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
|
||||
\clearpage
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
\fi
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
|
@ -16,20 +16,12 @@
|
||||
\usepackage{ifpdf} % part of the hyperref bundle
|
||||
\ifpdf % if pdflatex is used
|
||||
|
||||
% set fonts for nicer pdf view
|
||||
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{%
|
||||
\usepackage[scaled=0.92]{helvet}
|
||||
\usepackage{mathptmx}
|
||||
\usepackage{courier} }
|
||||
% 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} }
|
||||
% set fonts for nicer pdf view
|
||||
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{%
|
||||
\usepackage[scaled=0.92]{helvet}
|
||||
\usepackage{mathptmx}
|
||||
\usepackage{courier} }
|
||||
|
||||
% link all cross references and URLs in pdf output
|
||||
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
|
||||
linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
|
||||
@ -44,7 +36,10 @@
|
||||
% link all cross references and URLs in dvi output
|
||||
\usepackage[ps2pdf]{hyperref}
|
||||
|
||||
\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{%
|
||||
@ -52,8 +47,6 @@
|
||||
\myTOC
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
\fi
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
@ -24395,7 +24388,7 @@ Question: Who was the first physics Nobel prize winner?
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Branch Answer
|
||||
status open
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
Answer: Wilhelm Conrad Röntgen
|
||||
|
@ -25,16 +25,6 @@
|
||||
\usepackage{mathptmx}
|
||||
\usepackage{courier} }
|
||||
|
||||
% 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]{Inhaltsverzeichnis}{}
|
||||
\myTOC
|
||||
\clearpage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
% link all cross references and URLs in pdf output
|
||||
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
|
||||
bookmarksopen, bookmarksopenlevel=1,
|
||||
@ -50,16 +40,17 @@
|
||||
% link all cross references and URLs in dvi output
|
||||
\usepackage[ps2pdf]{hyperref}
|
||||
|
||||
\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}{}
|
||||
\pdfbookmark[1]{Inhaltsverzeichnis}{}
|
||||
\myTOC
|
||||
\clearpage
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
\fi
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
@ -102,8 +93,6 @@
|
||||
\output_changes false
|
||||
\author ""
|
||||
\author ""
|
||||
\author ""
|
||||
\author ""
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
|
@ -25,15 +25,6 @@
|
||||
\usepackage{mathptmx}
|
||||
\usepackage{courier} }
|
||||
|
||||
% 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]{Contenidos}{}
|
||||
\myTOC
|
||||
\clearpage
|
||||
\pagenumbering{arabic} }
|
||||
% link all cross references and URLs in pdf output
|
||||
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
|
||||
bookmarksopen, bookmarksopenlevel=2,
|
||||
@ -49,16 +40,17 @@
|
||||
% link all cross references and URLs in dvi output
|
||||
\usepackage[ps2pdf]{hyperref}
|
||||
|
||||
\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]{Contenidos}{}
|
||||
\myTOC
|
||||
\clearpage
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
\fi
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
|
@ -21,15 +21,7 @@
|
||||
\usepackage[scaled=0.92]{helvet}
|
||||
\usepackage{mathptmx}
|
||||
\usepackage{courier} }
|
||||
% 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]{Índice general}{}
|
||||
\myTOC
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
% link all cross references and URLs in pdf output
|
||||
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
|
||||
linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
|
||||
@ -44,7 +36,10 @@
|
||||
% link all cross references and URLs in dvi output
|
||||
\usepackage[ps2pdf]{hyperref}
|
||||
|
||||
\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{%
|
||||
@ -52,8 +47,6 @@
|
||||
\myTOC
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
\fi
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
|
Loading…
x
Reference in New Issue
Block a user