[latex3-commits] [git/LaTeX3-latex3-hyperref] extract-autoref: correct variable name (49687f1)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Nov 21 16:26:10 CET 2020


Repository : https://github.com/latex3/hyperref
On branch  : extract-autoref
Link       : https://github.com/latex3/hyperref/commit/49687f1bd5cd269f61556b90c5493466db5b8fe5

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

commit 49687f1bd5cd269f61556b90c5493466db5b8fe5
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Nov 21 16:26:10 2020 +0100

    correct variable name


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

49687f1bd5cd269f61556b90c5493466db5b8fe5
 hyperref-autoref.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/hyperref-autoref.dtx b/hyperref-autoref.dtx
index a430be2..62c79a9 100644
--- a/hyperref-autoref.dtx
+++ b/hyperref-autoref.dtx
@@ -41,9 +41,9 @@
 \cs_new_protected:Npn \_@@_autoref_process_ini:nN #1 #2
   {
      \tl_set:Nn   \l_@@_autoref_languagename_tl {#1}
-     \tl_if_exist:cF { l_@@_autoref_captions\l_@@_autoref_languagename_tl _tl }
+     \tl_if_exist:cF { g_@@_autoref_captions\l_@@_autoref_languagename_tl _tl }
        {
-         \tl_new:c { l_@@_autoref_captions\l_@@_autoref_languagename_tl _tl }
+         \tl_new:c { g_@@_autoref_captions\l_@@_autoref_languagename_tl _tl }
        }
 %    \end{macrocode}
 % We do nothing if no ini was found, that is consistent with the current
@@ -71,7 +71,7 @@
       {
         unknown .code:n =
          {
-           \tl_gput_right:cx { l_@@_autoref_captions\l_@@_autoref_languagename_tl _tl }
+           \tl_gput_right:cx { g_@@_autoref_captions\l_@@_autoref_languagename_tl _tl }
              {
                \exp_not:N \tl_set:cn { \l_keys_key_str autorefname }{\exp_not:n{#1}}
              }
@@ -82,11 +82,11 @@
      {
        unknown .code:n  =
          {
-           \tl_if_exist:cF { l_@@_autoref_captions\l_keys_key_str _tl }
+           \tl_if_exist:cF { g_@@_autoref_captions\l_keys_key_str _tl }
              {
-               \tl_new:c { l_@@_autoref_captions\l_keys_key_str _tl }
+               \tl_new:c { g_@@_autoref_captions\l_keys_key_str _tl }
              }
-           \tl_gput_right:cx { l_@@_autoref_captions\l_keys_key_str _tl }
+           \tl_gput_right:cx { g_@@_autoref_captions\l_keys_key_str _tl }
              {
                \exp_not:N \tl_set:cn { \l_@@_autoref_counter_tl autorefname }{\exp_not:n{#1}}
              }





More information about the latex3-commits mailing list.