summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-04 00:51:54 +0000
committerKarl Berry <karl@freefriends.org>2009-09-04 00:51:54 +0000
commitd22dbedf055ea3923fb14ffc86889bddc06b1a96 (patch)
tree4385f0a354bb7b908c682a6d9708f16e9ca6629f /Master/texmf-dist/source/latex/hyperref/doc
parent24f8bd225abf1f277873c973a2a1bd76041133ef (diff)
hyperref update (2sep09)
git-svn-id: svn://tug.org/texlive/trunk@15059 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/doc')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/doc/manual.tex26
1 files changed, 22 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex
index 677df8efce9..9fe096a46f8 100644
--- a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex
+++ b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex
@@ -276,10 +276,26 @@ colorlinks=true}
override the ones set in \texttt{hyperref.cfg}:
\begin{verbatim}
-\usepackage[pdftitle={A Perfect Day},colorlinks=false]{hyperref}
+\usepackage[colorlinks=false]{hyperref}
+\hypersetup{pdftitle={A Perfect Day}}
\end{verbatim}
\end{itemize}
+As seen in the previous example, information entries
+(pdftitle, pdfauthor, \dots) should be set after the package is loaded.
+Otherwise \LaTeX\ expands the values of these options prematurely.
+Also \LaTeX\ strips spaces in options. Especially option `pdfborder'
+requires some care. Curly braces protect the value, if given
+as package option. They are not necessary in \verb|\hypersetup|.
+
+\begin{verbatim}
+\usepackage[pdfborder={0 0 0}]{hyperref}
+\hypersetup{pdfborder=0 0 0}
+\end{verbatim}
+
+Package `kvoptions-patch' patches \LaTeX\ to make it aware
+of key value options and to prevent premature value expansions.
+
Some options can be given at any time, but many are restricted: before
\verb|\begin{document}|, only in \verb|\usepackage[...]{hyperref}|,
before first use, etc.
@@ -398,10 +414,10 @@ colorlinks & boolean & false & Colors the text of links and anchors. The c
linkcolor & color & red & Color for normal internal links. \\
anchorcolor & color & black & Color for anchor text. \\
citecolor & color & green & Color for bibliographical citations in text. \\
-filecolor & color & magenta & Color for URLs which open local files. \\
+filecolor & color & cyan & Color for URLs which open local files. \\
menucolor & color & red & Color for Acrobat menu items. \\
runcolor & color & filecolor & Color for run links (launch annotations). \\
-urlcolor & color & cyan & Color for linked URLs. \\
+urlcolor & color & magenta & Color for linked URLs. \\
frenchlinks & boolean & false & use small caps instead of color for links
\end{longtable} \smallskip
@@ -544,7 +560,9 @@ The \texttt{pdfpagelayout} can be one of the following values.
SinglePage & Displays a single page; advancing flips the page \\
OneColumn & Displays the document in one column; continuous scrolling. \\
TwoColumnLeft & Displays the document in two columns, odd-numbered pages to the left. \\
-TwoColumnRight & Displays the document in two columns, odd-numbered pages to the right.
+TwoColumnRight & Displays the document in two columns, odd-numbered pages to the right.\\
+TwoPageLeft & Displays two pages, odd-numbered pages to the left (since PDF 1.5).\\
+TwoPageRight & Displays two pages, odd-numbered pages to the right (since PDF 1.5).
\end{longtable}
Finally, the \texttt{pdfpagetransition} can be one of the following