From 0f61e68ba7db3a0a5721eaba47fb7a86e09dbacc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Tue, 25 Sep 2007 21:07:43 +0000 Subject: [PATCH] preamble cleanup for the docs git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20506 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Intro.lyx | 17 ++++------------- lib/doc/UserGuide.lyx | 21 +++++++++------------ lib/doc/de/Intro.lyx | 21 +++++---------------- lib/doc/es/Intro.lyx | 16 ++++------------ lib/doc/es/UserGuide.lyx | 15 ++++----------- 5 files changed, 26 insertions(+), 64 deletions(-) diff --git a/lib/doc/Intro.lyx b/lib/doc/Intro.lyx index 50b1c5377e..2372ab7f81 100644 --- a/lib/doc/Intro.lyx +++ b/lib/doc/Intro.lyx @@ -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{% diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index 175201c4bc..e333bad32f 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -1,5 +1,5 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 286 +\lyxformat 287 \begin_document \begin_header \textclass scrbook @@ -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]{Contents}{} - \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{% @@ -81,6 +74,8 @@ \graphics default \paperfontsize 12 \spacing single +\use_hyperref false +\pdf_store_options false \papersize default \use_geometry false \use_amsmath 1 @@ -18019,7 +18014,9 @@ wrap width. It can be inserted using the menu \begin_inset Wrap figure +lines 0 placement l +overhang 0col% width "40col%" status open diff --git a/lib/doc/de/Intro.lyx b/lib/doc/de/Intro.lyx index 42ed6b3db8..1ae7241934 100644 --- a/lib/doc/de/Intro.lyx +++ b/lib/doc/de/Intro.lyx @@ -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 diff --git a/lib/doc/es/Intro.lyx b/lib/doc/es/Intro.lyx index 374afd2a32..35b3cae36b 100644 --- a/lib/doc/es/Intro.lyx +++ b/lib/doc/es/Intro.lyx @@ -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{% diff --git a/lib/doc/es/UserGuide.lyx b/lib/doc/es/UserGuide.lyx index 439c5c3c4f..5a0a0253c6 100644 --- a/lib/doc/es/UserGuide.lyx +++ b/lib/doc/es/UserGuide.lyx @@ -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{% -- 2.39.2