[latex3-commits] [git/LaTeX3-latex3-hyperref] testnewkeyval: more keys (03a9bda)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sat Jul 2 19:28:51 CEST 2022
Repository : https://github.com/latex3/hyperref
On branch : testnewkeyval
Link : https://github.com/latex3/hyperref/commit/03a9bda6db6c0eca5d421469c59658e7be94249c
>---------------------------------------------------------------
commit 03a9bda6db6c0eca5d421469c59658e7be94249c
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Jul 2 19:28:51 2022 +0200
more keys
>---------------------------------------------------------------
03a9bda6db6c0eca5d421469c59658e7be94249c
hyperref.dtx | 32 ++++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/hyperref.dtx b/hyperref.dtx
index 75395e5..ae92ac2 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -4830,12 +4830,19 @@
}
% \end{macrocode}
%
-% Determines whether an automatic anchor is put on each page
+% Determines whether an automatic anchor is put on each page.
% \begin{macrocode}
\define at key{Hyp}{pageanchor}[true]{%
\Hy at boolkey{pageanchor}{#1}%
}
% \end{macrocode}
+% This can be changed inside the document if wanted.
+% \begin{macrocode}
+\DeclareKeys
+ {
+ ,pageanchor .legacy_if_set:n {Hy at pageanchor}
+ }
+% \end{macrocode}
% Are the page links done as plain arabic numbers, or do
% they follow the formatting of the package? The latter loses
% if you put in typesetting like |\textbf| or the like.
@@ -4843,6 +4850,10 @@
\define at key{Hyp}{plainpages}[true]{%
\Hy at boolkey{plainpages}{#1}%
}
+\DeclareKeys
+ {
+ ,plainpages .legacy_if_set:n {Hy at plainpages}
+ }
% \end{macrocode}
% Are the names for anchors made as per the HyperTeX system,
% or do they simply use what \LaTeX\ provides?
@@ -4850,6 +4861,10 @@
\define at key{Hyp}{naturalnames}[true]{%
\Hy at boolkey{naturalnames}{#1}%
}
+\DeclareKeys
+ {
+ ,naturalnames .legacy_if_set:n {Hy at naturalnames}
+ }
% \end{macrocode}
% Completely ignore the names as per the HyperTeX system,
% and use unique counters.
@@ -4857,19 +4872,32 @@
\define at key{Hyp}{hypertexnames}[true]{%
\Hy at boolkey{hypertexnames}{#1}%
}
+\DeclareKeys
+ {
+ ,hypertexnames .legacy_if_set:n {Hy at hypertexnames}
+ }
% \end{macrocode}
% Currently, |dvips| doesn't allow anchors nested within targets,
% so this option tries to stop that happening. Other processors
-% may be able to cope.
+% may be able to cope. This option is unused and only kept for
+% compabiblity
% \begin{macrocode}
\define at key{Hyp}{nesting}[true]{%
\Hy at boolkey{nesting}{#1}%
}
+\DeclareKeys
+ {
+ ,nesting .legacy_if_set:n {Hy at nesting}
+ }
% \end{macrocode}
% \begin{macrocode}
\define at key{Hyp}{destlabel}[true]{%
\Hy at boolkey{destlabel}{#1}%
}
+\DeclareKeys
+ {
+ ,destlabel .legacy_if_set:n {Hy at destlabel}
+ }
% \end{macrocode}
%
% \begin{macrocode}
More information about the latex3-commits
mailing list.