summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref/doc
diff options
context:
space:
mode:
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