[Gpg4win-commits] r1440 - in trunk/doc: . manual

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed May 26 12:31:03 CEST 2010


Author: emanuel
Date: 2010-05-26 12:31:02 +0200 (Wed, 26 May 2010)
New Revision: 1440

Modified:
   trunk/doc/ChangeLog
   trunk/doc/manual/gpg4win-compendium-de.tex
Log:
Set additional pdf bookmarks and options.


Modified: trunk/doc/ChangeLog
===================================================================
--- trunk/doc/ChangeLog	2010-05-25 13:22:19 UTC (rev 1439)
+++ trunk/doc/ChangeLog	2010-05-26 10:31:02 UTC (rev 1440)
@@ -1,3 +1,8 @@
+2010-05-26  Emanuel Schuetze <emanuel at intevation.de>
+
+	* manual/gpg4win-compendium-de.tex: Set additional pdf bookmarks
+	and options.
+
 2010-05-25  Emanuel Schuetze <emanuel at intevation.de>
 
 	* manual/fdl-book.tex, manual/gpg4win-compendium-de.tex:

Modified: trunk/doc/manual/gpg4win-compendium-de.tex
===================================================================
--- trunk/doc/manual/gpg4win-compendium-de.tex	2010-05-25 13:22:19 UTC (rev 1439)
+++ trunk/doc/manual/gpg4win-compendium-de.tex	2010-05-26 10:31:02 UTC (rev 1440)
@@ -46,6 +46,8 @@
 
 % Hyperref should be among the last packages loaded
 \usepackage[breaklinks,
+    bookmarks,
+    bookmarksnumbered,
     pdftitle={Das Gpg4win-Kompendium},
     pdfauthor={Emanuel Schütze et al.},
     pdfsubject={E-Mail-Sicherheit mit GnuPG für Windows},
@@ -235,7 +237,7 @@
 %%% BEGIN DOCUMENT %%%
 
 \begin{document}
-
+\T\pdfbookmark[0]{Titelseite}{titel}
 % set title page
 \texorhtml{
     \ifthenelse{\boolean{DIN-A5}}
@@ -358,7 +360,8 @@
         von Kommandozeilen) verwendet.
 \end{itemize}
 
-\clearpage
+\cleardoublepage
+\T\pdfbookmark[0]{\contentsname}{toc}
 \tableofcontents
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -5592,9 +5595,8 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Appendix
 
-% page break in toc
-%TODOA5
-\addtocontents{toc}{\protect\newpage}
+% page break in toc (for A5 paper only)
+\T\ifthenelse{\boolean{DIN-A5}}{addtocontents{toc}{\protect\newpage}}{}
 
 \appendix
 \T\part{Anhang}
@@ -6116,8 +6118,13 @@
 
 \clearpage
 % in Inhaltsverzeichnis aufnehmen
-\T\phantomsection
-\T\addcontentsline{toc}{chapter}{Index}
+\T\pdfbookmark[-1]{Index}{Index}
+\begingroup
+  \let\WriteBookmarks\relax
+  \T\phantomsection
+  \T\addcontentsline{toc}{chapter}{Index}
+\endgroup
+
 % Index ausgeben
 \T\printindex
 



More information about the Gpg4win-commits mailing list