Skip to content

Commit

Permalink
use e-type
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Oct 31, 2023
1 parent 94da40b commit e12c103
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hyperref-linktarget.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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@sanitize\@currentHref
\@@_target_raise:n {\hyper@anchorstart{\@currentHref}\hyper@anchorend}
Expand Down Expand Up @@ -520,7 +520,7 @@
\cs_new_protected:Npn \@@_target_counter_anon:n #1
{
\int_gincr:N\Hy@linkcounter
\tl_gset:Nx \@currentHref
\tl_gset:Ne \@currentHref
{\tl_if_blank:nTF{#1}{page}{#1}*.\int_use:N\Hy@linkcounter}
\hook_use:n {__hyp/target/setname}
\@onelevel@sanitize\@currentHref
Expand All @@ -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@sanitize\@currentHref
\@@_target_raise:n {\hyper@anchorstart{\@currentHref}\hyper@anchorend}
Expand All @@ -557,7 +557,7 @@
{
\hook_gput_next_code:nn {@@/target/setname}
{
\tl_gset:Nx \@currentHref {#1}
\tl_gset:Ne \@currentHref {#1}
}
}

Expand Down

0 comments on commit e12c103

Please sign in to comment.