[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: docu about disabling (cdf05c0)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Jan 29 00:24:36 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/cdf05c0a2c0dde9d74b5b3287872fdda7da86b1c

>---------------------------------------------------------------

commit cdf05c0a2c0dde9d74b5b3287872fdda7da86b1c
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jan 29 00:24:36 2021 +0100

    docu about disabling


>---------------------------------------------------------------

cdf05c0a2c0dde9d74b5b3287872fdda7da86b1c
 hyperref-generic.dtx | 7 +++++++
 info/key-list.tex    | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 99243d0..d461ef0 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -213,6 +213,8 @@
 %   It does \emph{not} change the model of text colors. Be aware
 %   that while the PDF format allows cmyk (4 numbers) in the |/C| key of an annotation,
 %   this is often ignored by pdf viewers and the colors can be wrong.
+%   \item The boolean keys |url|, |link|, |run|, |menu|, |file| allow to deactivate
+%   locally the link types.
 %  \end{itemize}
 %
 %  \subsection{Changed behaviour}
@@ -308,6 +310,11 @@
 %  \pkg{bookmark} hasn't been loaded yet as bookmarks can't work properly if
 %  the anchors from hyperref are missing.
 %
+%  The |draft| option is a global option that can't be undone (at least not easily).
+%  Beside this there are also boolean keys |url|, |link|, |run|, |menu|, |file|
+%  which allow to locally disable a link type. So e.g.
+%  |\hypersetup{link=false}\ref{abc}| will give a reference without link (this
+%  is naturally also possible with |\ref*{abc}|).
 %
 %
 %  \section{Draftmode}
diff --git a/info/key-list.tex b/info/key-list.tex
index fff15ac..10a9868 100644
--- a/info/key-list.tex
+++ b/info/key-list.tex
@@ -22,7 +22,7 @@ done & colorlinks         & \textit{false}         & color links \\
 new/docu  & colormodel
 done   & debug              & \textit{false}         & provide details of anchors defined; same as verbose \\
 done, only package   & destlabel          & \textit{false}         & destinations are named by the first \verb|\label| after the anchor creation \\
-??   & draft              & \textit{false}         & do not do any hyperlinking \\
+done   & draft              & \textit{false}         & do not do any hyperlinking \\
 --   & driverfallback     &                        & default if no driver specified or detected\\
 --   & dvipdfm            &                        & use \textsf{dvipdfm} backend \\
 --   & dvipdfmx           &                        & use \textsf{dvipdfmx} backend \\
@@ -33,7 +33,7 @@ done, only package   & destlabel          & \textit{false}         & destination
 ??   &extension          & \textit{dvi}           & suffix of linked files \\
 done &filebordercolor    & \textit{0 .5 .5}       & color of border around file links \\
 done &filecolor          & \textit{cyan}          & color of file links \\
-??   &final              & \textit{true}          & opposite of option draft \\
+done   &final              & \textit{true}          & opposite of option draft \\
 dropped &frenchlinks        & \textit{false}         & use small caps instead of color for links \\
 done (ext) & hidelinks          &                        & Hide links (removing color and border) \\
 ?? hyperfigures       & \textit{false}         & make figures hyper links \\





More information about the latex3-commits mailing list.