[latex3-commits] [git/LaTeX3-latex3-hyperref] testnewkeyval: start with language options (cf30641)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Jul 6 12:45:12 CEST 2022


Repository : https://github.com/latex3/hyperref
On branch  : testnewkeyval
Link       : https://github.com/latex3/hyperref/commit/cf306411c7e4a5ab87b6d98fc287bb889dc706aa

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

commit cf306411c7e4a5ab87b6d98fc287bb889dc706aa
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Jul 6 12:45:12 2022 +0200

    start with language options


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

cf306411c7e4a5ab87b6d98fc287bb889dc706aa
 hyperref.dtx | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/hyperref.dtx b/hyperref.dtx
index 10808b8..8497457 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -6269,6 +6269,29 @@
     }%
   }%
 }
+
+\DeclareKeys
+  {
+    ,vietnamese .code:n =
+      {%
+        \HyLang at addto\extrasvietnamese\HyLang at vietnamese
+         \Hy at AtEndOfPackage{%
+           \@ifundefined{T at PU}{}{%
+             \input{puvnenc.def}%
+           }%
+         }%
+      }
+    ,vietnam .code:n =
+      {%
+        \HyLang at addto\extrasvietnamese\HyLang at vietnamese
+         \Hy at AtEndOfPackage{%
+           \@ifundefined{T at PU}{}{%
+             \input{puvnenc.def}%
+           }%
+         }%
+      }
+  }
+
 %    \end{macrocode}
 %    Similar for option |arabic| that just loads the additions
 %    to PU encoding for Arabi.
@@ -6280,6 +6303,20 @@
     }%
   }%
 }
+
+\DeclareKeys
+  {
+    ,arabic .code:n =
+      {%
+        \Hy at AtEndOfPackage{%
+          \@ifundefined{T at PU}{}{%
+            \input{puarenc.def}%
+          }%
+        }%
+      }
+  }
+
+
 %    \end{macrocode}
 %
 % \section{Options to change appearance of links}\label{appearance}





More information about the latex3-commits mailing list.