[latex3-commits] [git/LaTeX3-latex3-latex2e] gh836: test file showing the problem (59a6ce07)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Jun 1 17:59:12 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : gh836
Link : https://github.com/latex3/latex2e/commit/59a6ce07b22e0f46e779aeb8fc170f8033ec2435
>---------------------------------------------------------------
commit 59a6ce07b22e0f46e779aeb8fc170f8033ec2435
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Jun 1 17:59:12 2022 +0200
test file showing the problem
>---------------------------------------------------------------
59a6ce07b22e0f46e779aeb8fc170f8033ec2435
base/testfiles-ltmarks/github-0836.lvt | 41 ++++++++++++
base/testfiles-ltmarks/github-0836.tlg | 111 +++++++++++++++++++++++++++++++++
2 files changed, 152 insertions(+)
diff --git a/base/testfiles-ltmarks/github-0836.lvt b/base/testfiles-ltmarks/github-0836.lvt
new file mode 100644
index 00000000..489d71fc
--- /dev/null
+++ b/base/testfiles-ltmarks/github-0836.lvt
@@ -0,0 +1,41 @@
+%
+% from Ulrike
+%
+
+
+
+\documentclass{book}
+
+\newbox\mybox
+
+\makeatletter
+\AddToHook{cmd/@opcol/before}{{\showoutput\showbox\@outputbox}}
+\makeatother
+
+\input{regression-test}
+
+\begin{document}
+
+\START
+
+% mimic marginnote ...
+
+x
+
+\vspace{44\baselineskip}
+
+\setbox\mybox\vbox to \ht\strutbox{blub\vss}%
+\box\mybox\vskip-\baselineskip
+blub \\zzz
+\newpage
+
+% trival case:
+
+\vbox to 1cm{xxx\vss}
+\break
+
+\OMIT
+\end{document}
+
+
+
diff --git a/base/testfiles-ltmarks/github-0836.tlg b/base/testfiles-ltmarks/github-0836.tlg
new file mode 100644
index 00000000..12551a83
--- /dev/null
+++ b/base/testfiles-ltmarks/github-0836.tlg
@@ -0,0 +1,111 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> \box...=
+\vbox(550.0+0.0)x345.0
+.\write-{}
+.\glue(\topskip) 5.69446
+.\hbox(4.30554+0.0)x345.0, glue set 324.7222fil
+..\hbox(0.0+0.0)x15.0
+..\OT1/cmr/m/n/10 x
+..\penalty 10000
+..\glue(\parfillskip) 0.0 plus 1.0fil
+..\glue(\rightskip) 0.0
+.\glue 528.0
+.\glue 0.0
+.\glue(\baselineskip) 3.60004
+.\vbox(8.39996+0.0)x345.0, glue set 1.45552fil
+..\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 minus 1.0fil
+.\glue 0.0
+! OK.
+\__hook_toplevel cmd/@opcol/before ...\@outputbox
+ }
+l. ...\newpage
+! Package mark Error: Infinite shrinkage found in 'page'.
+For immediate help type H <return>.
+ ...
+l. ...\newpage
+This is a coding error.
+The mark region 'page' contains some infinite negative glue allowing it to
+shrink to an arbitrary size. This makes it impossible to split the region
+apart to get at its marks. They are lost.
+[1
+]
+> \box...=
+\vbox(550.0+0.0)x345.0, glue set 528.0fil
+.\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 0.0 plus 1.0fil
+..\penalty -10000
+..\glue(\rightskip) 0.0
+.\penalty 300
+.\glue(\baselineskip) 7.69446
+.\hbox(4.30554+0.0)x345.0, glue set 331.66667fil
+..\OT1/cmr/m/n/10 z
+..\OT1/cmr/m/n/10 z
+..\OT1/cmr/m/n/10 z
+..\penalty 10000
+..\glue(\parfillskip) 0.0 plus 1.0fil
+..\glue(\rightskip) 0.0
+.\glue 0.0 plus 1.0fil
+.\glue 0.0
+! OK.
+\__hook_toplevel cmd/@opcol/before ...\@outputbox
+ }
+l. ...\newpage
+[2]
+Underfull \vbox (badness 10000) has occurred while \output is active
+\vbox(550.0+0.0)x345.0
+.\glue(\topskip) 0.0
+.\vbox(28.45274+0.0)x345.0, glue set 24.1472fil
+..\hbox(4.30554+0.0)x345.0, glue set 314.1666fil
+...\hbox(0.0+0.0)x15.0
+...\OT1/cmr/m/n/10 x
+...\OT1/cmr/m/n/10 x
+...\OT1/cmr/m/n/10 x
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+..\glue 0.0 plus 1.0fil minus 1.0fil
+.\glue 0.0
+> \box...=
+\vbox(550.0+0.0)x345.0
+.\glue(\topskip) 0.0
+.\vbox(28.45274+0.0)x345.0, glue set 24.1472fil
+..\hbox(4.30554+0.0)x345.0, glue set 314.1666fil
+...\hbox(0.0+0.0)x15.0
+...\OT1/cmr/m/n/10 x
+...\OT1/cmr/m/n/10 x
+...\OT1/cmr/m/n/10 x
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+..\glue 0.0 plus 1.0fil minus 1.0fil
+.\glue 0.0
+! OK.
+\__hook_toplevel cmd/@opcol/before ...\@outputbox
+ }
+l. ...\break
+! Package mark Error: Infinite shrinkage found in 'page'.
+For immediate help type H <return>.
+ ...
+l. ...\break
+This is a coding error.
+The mark region 'page' contains some infinite negative glue allowing it to
+shrink to an arbitrary size. This makes it impossible to split the region
+apart to get at its marks. They are lost.
+[3]
More information about the latex3-commits
mailing list.