File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ 2025-06-20 Ulrike Fischer
2
+ * hyperref.dtx: test if \ifmeasuring@ already exists, tagging-project issue #920
3
+
1
4
2025-06-17 Ulrike Fischer
2
5
* hyperref.dtx: set the pdfa key automatically if an A-standard is
3
6
set in \DocumentMetadata. issue #387
Original file line number Diff line number Diff line change 10460
10460
% AMS\LaTeX\ processes all equations twice; we want to make sure
10461
10461
% that the hyper stuff is not executed twice, so we use the AMS
10462
10462
% |\ifmeasuring@|, initialized if AMS math is not used.
10463
+ % change 2025-06-20: test if the switch already exist, see tagging-project issue 920.
10463
10464
% \begin{macrocode}
10464
- \newif\ifmeasuring@\measuring@false
10465
+ \ifcsname ifmeasuring@\endcsname
10466
+ \else
10467
+ \expandafter\newif\csname ifmeasuring@\endcsname\measuring@false
10468
+ \fi
10465
10469
\newcommand\Hy@ifnotmeasuring[1]{#1}
10466
10470
\AddToHook{package/amsmath/after}
10467
10471
{
You can’t perform that action at this time.
0 commit comments