[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: use legacy_if_set (1e1e6cc)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Jul 10 01:04:41 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/1e1e6cc9355857e5a09b66e216815980e0be6e40

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

commit 1e1e6cc9355857e5a09b66e216815980e0be6e40
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Jul 10 01:04:41 2022 +0200

    use legacy_if_set


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

1e1e6cc9355857e5a09b66e216815980e0be6e40
 hyperref-generic.dtx | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 9644406..9445e7a 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -3090,12 +3090,8 @@
 %    \begin{macrocode}
 \keys_define:nn { hyp / setup }
  {
-   ,verbose .choice:
-   ,verbose / true  .code:n = { \Hy at verbosetrue}
-   ,verbose / false .code:n = { \Hy at verbosefalse}
-   ,verbose .default:n = {true}
-   ,debug .meta:n = {verbose=#1}
-   ,debug .default:n = {true}
+   ,verbose   .legacy_if_set:n  = {Hy at verbose}
+   ,debug     .legacy_if_set:n  = {Hy at verbose}
  }
 \keys_define:nn { hyp / setup }
   {
@@ -3124,8 +3120,8 @@
    ,linkfileprefix .tl_set:N  = \Hy at linkfileprefix
    ,localanchorname .legacy_if_set:n = {Hy at localanchorname}
    ,naturalnames .legacy_if_set:n = {Hy at naturalnames}
-   ,pageanchor .legacy_if_set:n = {Hy at pageanchor}
-   ,plainpages .legacy_if_set:n = {Hy at plainpages}
+   ,pageanchor   .legacy_if_set:n = {Hy at pageanchor}
+   ,plainpages   .legacy_if_set:n = {Hy at plainpages}
  }
 
 \keys_define:nn { hyp / setup }





More information about the latex3-commits mailing list.