preamble cleanup for the docs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20506 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-09-25 21:07:43 +00:00
parent f1fb624bae
commit 0f61e68ba7
5 changed files with 26 additions and 64 deletions

View File

@ -25,16 +25,6 @@
\usepackage{mathptmx} \usepackage{mathptmx}
\usepackage{courier} } \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 % link all cross references and URLs in pdf output
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered, \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
bookmarksopen, bookmarksopenlevel=2, bookmarksopen, bookmarksopenlevel=2,
@ -50,16 +40,17 @@
% link all cross references and URLs in dvi output % link all cross references and URLs in dvi output
\usepackage[ps2pdf]{hyperref} \usepackage[ps2pdf]{hyperref}
\fi % end if pdflatex is used
% the pages of the TOC are numbered roman % the pages of the TOC are numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{roman} \pagenumbering{roman}
\let\myTOC\tableofcontents \let\myTOC\tableofcontents
\renewcommand\tableofcontents{% \renewcommand\tableofcontents{%
\pdfbookmark[1]{Contents}{} \pdfbookmark[1]{Contents}{}
\myTOC \myTOC
\clearpage \cleardoublepage
\pagenumbering{arabic} } \pagenumbering{arabic} }
\fi
% redefine the \LyX macro for PDF bookmarks % redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{% \def\LyX{\texorpdfstring{%

View File

@ -1,5 +1,5 @@
#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 286 \lyxformat 287
\begin_document \begin_document
\begin_header \begin_header
\textclass scrbook \textclass scrbook
@ -21,15 +21,7 @@
\usepackage[scaled=0.92]{helvet} \usepackage[scaled=0.92]{helvet}
\usepackage{mathptmx} \usepackage{mathptmx}
\usepackage{courier} } \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} }
% link all cross references and URLs in pdf output % link all cross references and URLs in pdf output
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered, \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
@ -44,7 +36,10 @@
% link all cross references and URLs in dvi output % link all cross references and URLs in dvi output
\usepackage[ps2pdf]{hyperref} \usepackage[ps2pdf]{hyperref}
\fi % end if pdflatex is used
% the pages of the TOC are numbered roman % the pages of the TOC are numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{roman} \pagenumbering{roman}
\let\myTOC\tableofcontents \let\myTOC\tableofcontents
\renewcommand\tableofcontents{% \renewcommand\tableofcontents{%
@ -52,8 +47,6 @@
\myTOC \myTOC
\cleardoublepage \cleardoublepage
\pagenumbering{arabic} } \pagenumbering{arabic} }
\fi
% redefine the \LyX macro for PDF bookmarks % redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{% \def\LyX{\texorpdfstring{%
@ -81,6 +74,8 @@
\graphics default \graphics default
\paperfontsize 12 \paperfontsize 12
\spacing single \spacing single
\use_hyperref false
\pdf_store_options false
\papersize default \papersize default
\use_geometry false \use_geometry false
\use_amsmath 1 \use_amsmath 1
@ -18019,7 +18014,9 @@ wrap
width. width.
It can be inserted using the menu It can be inserted using the menu
\begin_inset Wrap figure \begin_inset Wrap figure
lines 0
placement l placement l
overhang 0col%
width "40col%" width "40col%"
status open status open

View File

@ -25,16 +25,6 @@
\usepackage{mathptmx} \usepackage{mathptmx}
\usepackage{courier} } \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 % link all cross references and URLs in pdf output
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered, \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
bookmarksopen, bookmarksopenlevel=1, bookmarksopen, bookmarksopenlevel=1,
@ -50,16 +40,17 @@
% link all cross references and URLs in dvi output % link all cross references and URLs in dvi output
\usepackage[ps2pdf]{hyperref} \usepackage[ps2pdf]{hyperref}
\fi % end if pdflatex is used
% the pages of the TOC are numbered roman % the pages of the TOC are numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{roman} \pagenumbering{roman}
\let\myTOC\tableofcontents \let\myTOC\tableofcontents
\renewcommand\tableofcontents{% \renewcommand\tableofcontents{%
\pdfbookmark[1]{Contents}{} \pdfbookmark[1]{Inhaltsverzeichnis}{}
\myTOC \myTOC
\clearpage \cleardoublepage
\pagenumbering{arabic} } \pagenumbering{arabic} }
\fi
% redefine the \LyX macro for PDF bookmarks % redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{% \def\LyX{\texorpdfstring{%
@ -102,8 +93,6 @@
\output_changes false \output_changes false
\author "" \author ""
\author "" \author ""
\author ""
\author ""
\end_header \end_header
\begin_body \begin_body

View File

@ -25,15 +25,6 @@
\usepackage{mathptmx} \usepackage{mathptmx}
\usepackage{courier} } \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 % link all cross references and URLs in pdf output
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered, \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
bookmarksopen, bookmarksopenlevel=2, bookmarksopen, bookmarksopenlevel=2,
@ -49,16 +40,17 @@
% link all cross references and URLs in dvi output % link all cross references and URLs in dvi output
\usepackage[ps2pdf]{hyperref} \usepackage[ps2pdf]{hyperref}
\fi % end if pdflatex is used
% the pages of the TOC are numbered roman % the pages of the TOC are numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{roman} \pagenumbering{roman}
\let\myTOC\tableofcontents \let\myTOC\tableofcontents
\renewcommand\tableofcontents{% \renewcommand\tableofcontents{%
\pdfbookmark[1]{Contenidos}{} \pdfbookmark[1]{Contenidos}{}
\myTOC \myTOC
\clearpage \cleardoublepage
\pagenumbering{arabic} } \pagenumbering{arabic} }
\fi
% redefine the \LyX macro for PDF bookmarks % redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{% \def\LyX{\texorpdfstring{%

View File

@ -21,15 +21,7 @@
\usepackage[scaled=0.92]{helvet} \usepackage[scaled=0.92]{helvet}
\usepackage{mathptmx} \usepackage{mathptmx}
\usepackage{courier} } \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 % link all cross references and URLs in pdf output
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered, \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
@ -44,7 +36,10 @@
% link all cross references and URLs in dvi output % link all cross references and URLs in dvi output
\usepackage[ps2pdf]{hyperref} \usepackage[ps2pdf]{hyperref}
\fi % end if pdflatex is used
% the pages of the TOC are numbered roman % the pages of the TOC are numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{Roman} \pagenumbering{Roman}
\let\myTOC\tableofcontents \let\myTOC\tableofcontents
\renewcommand\tableofcontents{% \renewcommand\tableofcontents{%
@ -52,8 +47,6 @@
\myTOC \myTOC
\cleardoublepage \cleardoublepage
\pagenumbering{arabic} } \pagenumbering{arabic} }
\fi
% redefine the \LyX macro for PDF bookmarks % redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{% \def\LyX{\texorpdfstring{%