[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: correct setref, issue #261 (ab7b900)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sun Nov 13 12:30:04 CET 2022
Repository : https://github.com/latex3/hyperref
On branch : cleanup-patches
Link : https://github.com/latex3/hyperref/commit/ab7b900df35af5320051c5006352c3e637259fc9
>---------------------------------------------------------------
commit ab7b900df35af5320051c5006352c3e637259fc9
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun Nov 13 12:30:04 2022 +0100
correct setref, issue #261
>---------------------------------------------------------------
ab7b900df35af5320051c5006352c3e637259fc9
ChangeLog.txt | 1 +
hyperref.dtx | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 90fe76e..9319cf1 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,5 +1,6 @@
2022-XX-XX Ulrike Fischer/David Carlisle
* don't set the pagesize if \mag is different from 1000, see issue #1138 in latex3.
+ * avoid error from old labels if hyperref is loaded, issue #261
2022-09-22 Ulrike Fischer/David Carlisle
* adapt setpagesize option to changes in LaTeX (stockwidth is always defined)
diff --git a/hyperref.dtx b/hyperref.dtx
index df1fcce..6d5f16a 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -12442,6 +12442,8 @@
% normal text (which is used as an anchor).
% (|\endinput| have to be on the same line like |\fi|, or you
% have to use |\expandafter| before.)
+%
+% change 2022-11-13: added an |\@empty| for issue\#261.
% \begin{macrocode}
\ifHy at texht
\expandafter\endinput
@@ -12455,7 +12457,7 @@
Reference `#3' on page \thepage \space undefined%
}%
\else
- \expandafter\Hy at setref@link#1\@empty\@empty\@nil{#2}%
+ \expandafter\Hy at setref@link#1\@empty\@empty\@empty\@nil{#2}%
\fi
}
% \end{macrocode}
More information about the latex3-commits
mailing list.