Skip to content
Closed

Gh425 #426

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2026-06-17 Ulrike Fischer
* hyperref.dtx: fix faulty language if varioref is used, issue #425

2026-04-28 Ulrike Fischer
* hyperref.dtx: fix spurious space in \hyper@refstepcounter, issue #417

Version 2026-04-24 v7.01q

2026-04-24 Ulrike Fischer
Expand Down
8 changes: 6 additions & 2 deletions hyperref.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -5728,9 +5728,9 @@
% Instead of package babel's definition of \cmd{\addto} the
% implementation of package varioref is used. Additionally
% argument |#1| is checked for \cmd{\relax}.
% change 2026-06-17: do not execute \cmd{HyLang@XXX} here, gh/425
% \begin{macrocode}
\def\HyLang@addto#1#2{%
#2%
\@temptokena{#2}%
\ifx#1\relax
\let#1\@empty
Expand Down Expand Up @@ -5767,6 +5767,10 @@
\noexpand\define@key{Hyp}{#1}[]{%
\noexpand\@ifundefined{HyLang@#1@done}{%
\noexpand\HyLang@addto{\noexpand##1}{\noexpand##2}%
% \end{macrocode}
% Execute the command here to setup the language if babel is not used: gh/425
% \begin{macrocode}
\noexpand\UseName{HyLang@#2}%
#3%
\noexpand\@namedef{HyLang@#1@done}{}%
}{}%
Expand Down Expand Up @@ -10396,7 +10400,7 @@
% \begin{macro}{\hyper@refstepcounter}
% changed 2026-02-22 to use \cs{MakeLinkTarget}
% \begin{macrocode}
\def\hyper@refstepcounter#1{\ifHy@hypertexnames\MakeLinkTarget{#1}\else\MakeLinkTarget[#1]{} \fi}
\def\hyper@refstepcounter#1{\ifHy@hypertexnames\MakeLinkTarget{#1}\else\MakeLinkTarget[#1]{}\fi}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\Hy@ProvideTheHCounter}
Expand Down
Loading
Loading