Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reordered the execution of shipout hooks so that code in shipout/firs…
…tpage really executes first
- Loading branch information
1 parent
b21646c
commit 3db2fc5
Showing
4 changed files
with
213 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
\RequirePackage[enable-debug]{expl3} | ||
\ExplSyntaxOn | ||
\debug_on:n { check-declarations , deprecation } | ||
\ExplSyntaxOff | ||
|
||
\documentclass[a4paper]{article} | ||
|
||
\input{regression-test} | ||
|
||
\AddToHook{shipout/foreground}{\show\foreground} | ||
\AddToHook{shipout/background}{\show\background} | ||
\AddToHook{shipout/firstpage}{\show\firstpage} | ||
\makeatletter | ||
\g@addto@macro \@kernel@after@shipout@background | ||
{\show\kernel} | ||
\AddToHook{shipout/lastpage}{\show\lastpage} | ||
|
||
\DebugShipoutsOn | ||
|
||
\showoutput | ||
|
||
|
||
\begin{document} | ||
|
||
\START | ||
|
||
blub | ||
|
||
\end{document} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
This is a generated file for the l3build validation system. | ||
Don't change this file in any respect. | ||
Absolute page = 1 (target: 1) | ||
> \firstpage=undefined. | ||
\__hook_toplevel shipout/firstpage ... \firstpage | ||
l. ...\end{document} | ||
> \foreground=undefined. | ||
\__hook_toplevel shipout/foreground ...foreground | ||
l. ...\end{document} | ||
> \background=undefined. | ||
\__hook_toplevel shipout/background ...background | ||
l. ...\end{document} | ||
> \kernel=undefined. | ||
\@kernel@after@shipout@background ->\show \kernel | ||
l. ...\end{document} | ||
Executing lastpage hook on page 1 | ||
> \lastpage=undefined. | ||
\__hook_toplevel shipout/lastpage ...ow \lastpage | ||
l. ...\end{document} | ||
Completed box being shipped out [1] | ||
\vbox(682.0+0.0)x398.0 | ||
.\hbox(0.0+0.0)x0.0 | ||
.\hbox(0.0+0.0)x0.0 | ||
..\kern -72.27 | ||
..\vbox(0.0+0.0)x0.0, glue set 72.27fil | ||
...\kern -72.27 | ||
...\hbox(0.0+0.0)x0.0 | ||
....\glue 0.0 plus 1.0fil minus 1.0fil | ||
...\glue 0.0 plus 1.0fil minus 1.0fil | ||
.\glue 17.0 | ||
.\vbox(665.0+0.0)x345.0, shifted 53.0 | ||
..\vbox(12.0+0.0)x345.0, glue set 12.0fil | ||
...\glue 0.0 plus 1.0fil | ||
...\hbox(0.0+0.0)x345.0 | ||
..\glue 25.0 | ||
..\glue(\lineskip) 0.0 | ||
..\vbox(598.0+0.0)x345.0, glue set 587.9372fil | ||
...\write-{} | ||
...\glue(\topskip) 3.05556 | ||
...\hbox(6.94444+0.0)x345.0, glue set 310.5555fil | ||
....\hbox(0.0+0.0)x15.0 | ||
....\OT1/cmr/m/n/10 b | ||
....\OT1/cmr/m/n/10 l | ||
....\OT1/cmr/m/n/10 u | ||
....\OT1/cmr/m/n/10 b | ||
....\penalty 10000 | ||
....\glue(\parfillskip) 0.0 plus 1.0fil | ||
....\glue(\rightskip) 0.0 | ||
...\glue 0.0 plus 1.0fil | ||
...\glue 0.0 | ||
...\glue 0.0 plus 0.0001fil | ||
..\glue(\baselineskip) 23.55556 | ||
..\hbox(6.44444+0.0)x345.0, glue set 170.0fil | ||
...\glue 0.0 plus 1.0fil | ||
...\OT1/cmr/m/n/10 1 | ||
...\glue 0.0 plus 1.0fil | ||
.\kern -682.0 | ||
.\hbox(0.0+0.0)x0.0 | ||
..\kern -72.27 | ||
..\vbox(0.0+0.0)x0.0, glue set 72.27fil | ||
...\kern -72.27 | ||
...\hbox(0.0+0.0)x0.0 | ||
....\glue 0.0 plus 1.0fil minus 1.0fil | ||
...\glue 0.0 plus 1.0fil minus 1.0fil | ||
.\kern 682.0 | ||
.\kern 0.0 | ||
.\kern 0.0 | ||
.\kern -682.0 | ||
.\hbox(0.0+0.0)x0.0 | ||
.\kern 682.0 | ||
(shipout2-016.aux) |