[latex3-commits] [latex3/latex2e] gh1123: unhbox in showkeys for #1123 (7c90d099)

github at latex-project.org github at latex-project.org
Sat Dec 16 11:09:58 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : gh1123
Link       : https://github.com/latex3/latex2e/commit/7c90d099a547a7945600c42e22b699231f82875d

>---------------------------------------------------------------

commit 7c90d099a547a7945600c42e22b699231f82875d
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Dec 16 10:09:58 2023 +0000

    unhbox in showkeys for #1123


>---------------------------------------------------------------

7c90d099a547a7945600c42e22b699231f82875d
 required/tools/testfiles-search/github-1123.lvt | 28 +++++++++
 required/tools/testfiles-search/github-1123.tlg | 75 +++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/required/tools/testfiles-search/github-1123.lvt b/required/tools/testfiles-search/github-1123.lvt
new file mode 100644
index 00000000..746ca3f6
--- /dev/null
+++ b/required/tools/testfiles-search/github-1123.lvt
@@ -0,0 +1,28 @@
+\documentclass{article}
+\input{test2e}
+\usepackage{amsthm}% required to demonstrate issue
+%\usepackage[notcite,notref]{showkeys}
+\newtheoremstyle{mystyle}
+{}%
+{}%
+{\itshape}%
+{}%
+{\bfseries}%
+{.}%
+{\newline}% <--- is ignored if showkeys is active
+{}%
+
+\theoremstyle{mystyle}
+\newtheorem{theorem}{Theorem}
+\usepackage[OT1]{fontenc}
+\showoutput
+\begin{document}
+
+\START
+% AAA and BBB should be on different lines
+\begin{theorem}[AAA]
+\label{firstlabel}%
+BBB
+\end{theorem}
+
+\end{document}
\ No newline at end of file
diff --git a/required/tools/testfiles-search/github-1123.tlg b/required/tools/testfiles-search/github-1123.tlg
new file mode 100644
index 00000000..736e2799
--- /dev/null
+++ b/required/tools/testfiles-search/github-1123.tlg
@@ -0,0 +1,75 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+! Undefined control sequence.
+\SK@@label ...tmargin \kern \marginparsep }\unbox 
+                                                  \@labels }\else \dimen@ \p...
+l. ...\label{firstlabel}
+                       %
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.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
+....\hbox(0.0+0.0)x345.0
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 531.94318fil
+...\write-{}
+...\write1{\newlabel{firstlabel}{{1}{\thepage }{}{}{}}}
+...\glue(\topskip) 3.05556
+...\hbox(6.94444+0.0)x345.0, glue set 318.73903fil
+....\hbox(0.0+0.0)x0.0, glue set - 65.04944fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(0.0+0.0)x54.04944
+......\hbox(8.89998+3.4)x54.04944
+.......\hbox(12.29997+0.0)x54.04944, shifted 3.4
+........\vbox(12.29997+0.0)x54.04944
+.........\rule(0.4+0.0)x*
+.........\hbox(11.49998+0.0)x54.04944
+..........\rule(*+*)x0.4
+..........\vbox(11.49998+0.0)x53.24945
+...........\glue 3.0
+...........\hbox(5.49998+0.0)x53.24945
+............\kern 3.0
+............\OT1/cmtt/m/n/9 f
+............\OT1/cmtt/m/n/9 i
+............\OT1/cmtt/m/n/9 r
+............\OT1/cmtt/m/n/9 s
+............\OT1/cmtt/m/n/9 t
+............\OT1/cmtt/m/n/9 l
+............\OT1/cmtt/m/n/9 a
+............\OT1/cmtt/m/n/9 b
+............\OT1/cmtt/m/n/9 e
+............\OT1/cmtt/m/n/9 l
+............\kern 3.0
+...........\glue 3.0
+..........\rule(*+*)x0.4
+.........\rule(0.4+0.0)x*
+.....\kern 0.0
+.....\kern 11.0
+....\OT1/cmr/m/it/10 "
+....\OT1/cmr/m/it/10 B
+....\OT1/cmr/m/it/10 B
+....\OT1/cmr/m/it/10 B
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -51
+...\glue 8.0 plus 2.0 minus 4.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
+...\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
+(github-1123.aux)





More information about the latex3-commits mailing list.