[latex3-commits] [latex3/hyperref] develop, main: use e-type (e12c103)
github at latex-project.org
github at latex-project.org
Tue Oct 31 13:00:39 CET 2023
Repository : https://github.com/latex3/hyperref
On branches: develop,main
Link : https://github.com/latex3/hyperref/commit/e12c103a3b2b565ff0621ff4d1741e82ef412bab
>---------------------------------------------------------------
commit e12c103a3b2b565ff0621ff4d1741e82ef412bab
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Oct 31 13:00:39 2023 +0100
use e-type
>---------------------------------------------------------------
e12c103a3b2b565ff0621ff4d1741e82ef412bab
hyperref-linktarget.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hyperref-linktarget.dtx b/hyperref-linktarget.dtx
index dd28dba..58ff089 100644
--- a/hyperref-linktarget.dtx
+++ b/hyperref-linktarget.dtx
@@ -488,7 +488,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_target_manual:nn #1 #2 %#1 prefix, #2 name
{
- \tl_gset:Nx \@currentHref {#2}
+ \tl_gset:Ne \@currentHref {#2}
\hook_use:n {__hyp/target/setname}
\@onelevel at sanitize\@currentHref
\@@_target_raise:n {\hyper at anchorstart{\@currentHref}\hyper at anchorend}
@@ -520,7 +520,7 @@
\cs_new_protected:Npn \@@_target_counter_anon:n #1
{
\int_gincr:N\Hy at linkcounter
- \tl_gset:Nx \@currentHref
+ \tl_gset:Ne \@currentHref
{\tl_if_blank:nTF{#1}{page}{#1}*.\int_use:N\Hy at linkcounter}
\hook_use:n {__hyp/target/setname}
\@onelevel at sanitize\@currentHref
@@ -541,7 +541,7 @@
don't~exist.~No~target~created.}{}
}
{
- \tl_gset:Nx \@currentHref {\tl_if_blank:nTF{#1}{#2}{#1}.\use:c{theH#2}}
+ \tl_gset:Ne \@currentHref {\tl_if_blank:nTF{#1}{#2}{#1}.\use:c{theH#2}}
\hook_use:n {@@/target/setname}
\@onelevel at sanitize\@currentHref
\@@_target_raise:n {\hyper at anchorstart{\@currentHref}\hyper at anchorend}
@@ -557,7 +557,7 @@
{
\hook_gput_next_code:nn {@@/target/setname}
{
- \tl_gset:Nx \@currentHref {#1}
+ \tl_gset:Ne \@currentHref {#1}
}
}
More information about the latex3-commits
mailing list.