Skip to content

Commit 39ba821

Browse files
committed
start to remove dependency from atbegshi, issue #371
1 parent 67614fa commit 39ba821

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

ChangeLog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* hyperref.dtx: added a group in the xetex driver, issue #380.
33
* hyperref.dtx: renamed \textin to \textinsymbol, issue #377
44
* hyperref.dtx: remove dependency from atveryend, issue #371
5+
* hyperref.dtx: start to remove dependy from atbegshi, issue #371
56

67
2024-11-05 Ulrike Fischer
78
* hyperref-linktarget.dtx: add a kern to guard anchor in para hook.

hyperref.dtx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9683,19 +9683,19 @@
96839683
\let\Hy@EveryPageHook\@empty
96849684
\let\Hy@EveryPageBoxHook\@empty
96859685
\let\Hy@FirstPageHook\@empty
9686-
\AtBeginShipout{%
9686+
\AddToHook{shipout/before}{%
96879687
\Hy@EveryPageHook
96889688
\ifx\Hy@EveryPageBoxHook\@empty
96899689
\else
9690-
\setbox\AtBeginShipoutBox=\vbox{%
9690+
\setbox\ShipoutBox=\vbox{%
96919691
\offinterlineskip
96929692
\Hy@EveryPageBoxHook
9693-
\box\AtBeginShipoutBox
9693+
\box\ShipoutBox
96949694
}%
96959695
\fi
96969696
}
96979697
\Hy@iffileloaded{hpdftex.def}{%
9698-
\AtBeginShipout{%
9698+
\AddToHook{shipout/before}{%
96999699
\Hy@FirstPageHook
97009700
\global\let\Hy@FirstPageHook\@empty
97019701
}%
@@ -14230,9 +14230,9 @@
1423014230
>>%
1423114231
>>%
1423214232
}%
14233-
\AtBeginShipout{%
14234-
\setbox\AtBeginShipoutBox=\hbox{%
14235-
\copy\AtBeginShipoutBox
14233+
\AddToHook{shipout/before}{%
14234+
\setbox\ShipoutBox=\hbox{%
14235+
\copy\ShipoutBox
1423614236
\@pdfm@mark{%
1423714237
put @resources <<%
1423814238
/Properties<<%

0 commit comments

Comments
 (0)