From 77999e1c1535d5067f05a71f101395ff08c77661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sat, 29 Sep 2007 12:24:44 +0000 Subject: [PATCH] - Tutorial has now also PDF-bookmarks like the Intro and UserGuide git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20582 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Intro.lyx | 3 --- lib/doc/Tutorial.lyx | 55 +++++++++++++++++++++++++++++++++++++++++-- lib/doc/UserGuide.lyx | 4 ++-- 3 files changed, 55 insertions(+), 7 deletions(-) diff --git a/lib/doc/Intro.lyx b/lib/doc/Intro.lyx index 2372ab7f81..26ea9684c4 100644 --- a/lib/doc/Intro.lyx +++ b/lib/doc/Intro.lyx @@ -13,9 +13,6 @@ % the documentation team % email: lyx-docs@lists.lyx.org -% provides missing characters, -\usepackage{textcomp} - \usepackage{ifpdf} % part of the hyperref bundle \ifpdf % if pdflatex is used diff --git a/lib/doc/Tutorial.lyx b/lib/doc/Tutorial.lyx index b139e8d9ab..225e1eb0b1 100644 --- a/lib/doc/Tutorial.lyx +++ b/lib/doc/Tutorial.lyx @@ -1,8 +1,59 @@ -#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ +#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass book +\begin_preamble +% DO NOT ALTER THIS PREAMBLE!!! +% +%This preamble is designed to ensure that the document prints +% out as advertised. If you mess with this preamble, +% parts of the document may not print out as expected. If you +% have problems LaTeXing this file, please contact +% the documentation team +% email: lyx-docs@lists.lyx.org + +\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} } + + % link all cross references and URLs in pdf output + \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, + bookmarksopen, bookmarksopenlevel=2, + linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, + pdfpagelayout=OneColumn, pdfnewwindow=true, + pdfstartview=XYZ, plainpages=false, pdfpagelabels, + pdfauthor={LyX Team}, pdftex, + pdftitle={The LyX User's Guide},pdfsubject={LyX-documentation Intro}, + pdfkeywords={LyX}]{hyperref} + +\else % if dvi or ps is produced + + % 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 + \cleardoublepage + \pagenumbering{arabic} } + +% redefine the \LyX macro for PDF bookmarks +\def\LyX{\texorpdfstring{% + L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} + {LyX }} +\end_preamble \language english \inputencoding latin1 \font_roman default @@ -33,7 +84,7 @@ \paperpagestyle headings \tracking_changes false \output_changes false -\author "usti" +\author "" \end_header \begin_body diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index 530126c5ba..1330587e85 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -37674,7 +37674,7 @@ status collapsed \backslash -href{http://wiki.lyx.org/LyX/LyxFunctionList1-5-1}{ +href{http://wiki.lyx.org/LyX/LyxFunctionList}{ \end_layout \end_inset @@ -37694,7 +37694,7 @@ status collapsed \newline \begin_inset LatexCommand url -target "http://wiki.lyx.org/LyX/LyxFunctionList1-5-1" +target "http://wiki.lyx.org/LyX/LyxFunctionList" \end_inset