From 103b825e1f995cfc6575d61578e271bad187a86a Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Sun, 3 Nov 2019 10:40:44 +0100 Subject: [PATCH] test for auxtree --- testfiles/testauxtree.luatex.tlg | 8 ++ testfiles/testauxtree.lvt | 87 ++++++++++++++ testfiles/testauxtree.tlg | 193 +++++++++++++++++++++++++++++++ 3 files changed, 288 insertions(+) create mode 100644 testfiles/testauxtree.luatex.tlg create mode 100644 testfiles/testauxtree.lvt create mode 100644 testfiles/testauxtree.tlg diff --git a/testfiles/testauxtree.luatex.tlg b/testfiles/testauxtree.luatex.tlg new file mode 100644 index 00000000..d34f941d --- /dev/null +++ b/testfiles/testauxtree.luatex.tlg @@ -0,0 +1,8 @@ +This is a generated file for the l3build validation system. +Don't change this file in any respect. +Package atveryend Info: Empty hook `BeforeClearDocument' on input line .... +Package atveryend Info: Executing hook `AfterLastShipout' on input line .... +(testauxtree.aux) +Package atveryend Info: Empty hook `AtVeryEndDocument' on input line .... +Package atveryend Info: Empty hook `AtEndAfterFileList' on input line .... +Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line .... diff --git a/testfiles/testauxtree.lvt b/testfiles/testauxtree.lvt new file mode 100644 index 00000000..c93e522a --- /dev/null +++ b/testfiles/testauxtree.lvt @@ -0,0 +1,87 @@ +% !Mode:: "TeX:DE:UTF-8:Main" + +\documentclass{scrartcl} +\input{regression-test} + +\usepackage[english]{babel} +\usepackage[genericmode]{tagpdf} +\usepackage{graphicx} +\tagpdfifpdftexT + { + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} + } + +\tagpdfifluatexT + { + \usepackage{fontspec} + \usepackage{luacode} + } + + +\tagpdfsetup{add-new-tag = TAB/P, + add-new-tag = FIG/P, + tabsorder=structure, + activate-all, + log=v, + uncompress} + +\usepackage{fancyhdr} +\pagestyle{fancy} +\fancyhf{} + +\cfoot{\leavevmode\tagmcbegin{artifact=pagination}\thepage\tagmcend} +\ifluatex\else +\pdfcatalog{/Lang (en-UK)} +\pdfinfo {/Title (Title)} +\fi +\begin{document}\showoutput +\START +\directlua{print(kpse.var_value("TEXMFAUXTREES"))} +\end{document} +\tagstructbegin{tag=Document} + \tagstructbegin{tag=Sect} + \tagstructbegin{tag=H} + \tagmcbegin{tag=H} + \section{Section} + \tagmcend + \tagstructend + \tagstructbegin{tag=P} + \tagmcbegin{tag=P} + a paragraph\par x + \tagmcend + \tagstructend + + \tagstructbegin{tag=L} %List + \tagstructbegin{tag=LI} + \tagstructbegin{tag=Lbl} + \tagmcbegin{tag=Lbl} + 1. + \tagmcend + \tagstructend + \tagstructbegin{tag=LBody} + \tagmcbegin{tag=P} + List item body + \tagmcend + \tagstructend %lbody + \tagstructend %Li + + \tagstructbegin{tag=LI} + \tagstructbegin{tag=Lbl} + \tagmcbegin{tag=Lbl} + 2. + \tagmcend + \tagstructend + \tagstructbegin{tag=LBody} + \tagmcbegin{tag=P} + another List item body + \tagmcend + \tagstructend %lbody + \tagstructend %Li + \tagstructend %L + + \tagstructend %Sect +\tagstructend %Document + +\end{document} + diff --git a/testfiles/testauxtree.tlg b/testfiles/testauxtree.tlg new file mode 100644 index 00000000..4b0aa86b --- /dev/null +++ b/testfiles/testauxtree.tlg @@ -0,0 +1,193 @@ +This is a generated file for the l3build validation system. +Don't change this file in any respect. +! Undefined control sequence. +l. ...\directlua + {print(kpse.var_value("TEXMFAUXTREES"))} +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. +! Missing $ inserted. + + $ +l. ...\directlua{print(kpse.var_ + value("TEXMFAUXTREES"))} +I've inserted a begin-math/end-math symbol since I think +you left one out. Proceed, with fingers crossed. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <10.95> on input line .... +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line .... +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line .... +! Extra }, or forgotten $. +l. ......ua{print(kpse.var_value("TEXMFAUXTREES"))} +I've deleted a group-closing symbol because it seems to be +spurious, as in `$x}$'. But perhaps the } is legitimate and +you forgot something else, as in `\hbox{$x}'. In such cases +the way to recover is to insert both the forgotten and the +deleted material, e.g., by typing `I$}'. +! Missing $ inserted. + + $ +l. ...\end{document} +I've inserted a begin-math/end-math symbol since I think +you left one out. Proceed, with fingers crossed. +Completed box being shipped out [1] +\vbox(655.63496+4.08003)x435.61176 +.\hbox(0.0+0.0)x0.0 +.\glue -25.16531 +.\vbox(680.80028+4.08003)x418.25555, shifted 17.3562 +..\vbox(17.0+0.0)x418.25555, glue set 17.0fil +...\glue 0.0 plus 1.0fil +...\hbox(0.0+0.0)x418.25555 +....\hbox(0.0+0.0)x418.25555 +.....\vbox(0.0+0.0)x418.25555 +......\hbox(0.0+0.0)x418.25555 +.......\hbox(0.0+0.0)x0.0, glue set - 418.25555fil +........\vbox(0.0+0.0)x418.25555 +.........\hbox(0.0+0.0)x418.25555, glue set 209.12778fil +..........\hbox(0.0+0.0)x0.0 +..........\penalty 10000 +..........\glue(\parfillskip) 0.0 plus 1.0fil +..........\glue(\rightskip) 0.0 plus 1.0fil +........\glue 0.0 plus 1.0fil minus 1.0fil +.......\glue 0.0 plus 1.0fill +.......\vbox(0.0+0.0)x418.25555 +........\hbox(0.0+0.0)x418.25555, glue set 209.12778fil +.........\glue(\leftskip) 0.0 plus 1.0fil +.........\hbox(0.0+0.0)x0.0 +.........\penalty 10000 +.........\glue(\parfillskip) 0.0 +.........\glue(\rightskip) 0.0 plus 1.0fil +.......\glue 0.0 plus 1.0fill +.......\hbox(0.0+0.0)x0.0, glue set - 418.25555fil +........\glue 0.0 plus 1.0fil minus 1.0fil +........\vbox(0.0+0.0)x418.25555 +.........\hbox(0.0+0.0)x418.25555, glue set 418.25555fil +..........\glue(\leftskip) 0.0 plus 1.0fil +..........\hbox(0.0+0.0)x0.0 +..........\penalty 10000 +..........\glue(\parfillskip) 0.0 +..........\glue(\rightskip) 0.0 +......\rule(0.4+0.0)x418.25555 +......\glue -0.4 +....\glue 0.0 plus 1.0fil minus 1.0fil +..\glue 20.40001 +..\glue(\lineskip) 0.0 +..\vbox(595.80026+0.0)x418.25555, glue set 584.73781fil +...\write-{} +...\write1{\babel@aux{english}{}} +...\glue(\topskip) 2.7875 +...\hbox(8.2125+2.73749)x418.25555, glue set 176.92595fil +....\hbox(0.0+0.0)x10.88788 +....\T1/cmr/m/n/10.95 p +....\T1/cmr/m/n/10.95 r +....\T1/cmr/m/n/10.95 i +....\T1/cmr/m/n/10.95 n +....\kern-0.30225 +....\T1/cmr/m/n/10.95 t +....\T1/cmr/m/n/10.95 ( +....\T1/cmr/m/n/10.95 k +....\T1/cmr/m/n/10.95 p +....\T1/cmr/m/n/10.95 s +....\T1/cmr/m/n/10.95 e +....\T1/cmr/m/n/10.95 . +....\T1/cmr/m/n/10.95 v +....\kern-0.60446 +....\T1/cmr/m/n/10.95 a +....\T1/cmr/m/n/10.95 r +....\mathon +....\hbox(3.44444+0.0)x4.92598, shifted 1.64249 +.....\OML/cmm/m/it/8 v +....\OML/cmm/m/it/10.95 a +....\OML/cmm/m/it/10.95 l +....\kern0.21547 +....\OML/cmm/m/it/10.95 u +....\OML/cmm/m/it/10.95 e +....\OT1/cmr/m/n/10.95 ( +....\OT1/cmr/m/n/10.95 " +....\OML/cmm/m/it/10.95 T +....\kern1.52084 +....\OML/cmm/m/it/10.95 E +....\kern0.63113 +....\OML/cmm/m/it/10.95 X +....\kern0.85925 +....\OML/cmm/m/it/10.95 M +....\kern1.19383 +....\OML/cmm/m/it/10.95 F +....\kern1.52084 +....\OML/cmm/m/it/10.95 A +....\OML/cmm/m/it/10.95 U +....\kern1.19383 +....\OML/cmm/m/it/10.95 X +....\kern0.85925 +....\OML/cmm/m/it/10.95 T +....\kern1.52084 +....\OML/cmm/m/it/10.95 R +....\kern0.0846 +....\OML/cmm/m/it/10.95 E +....\kern0.63113 +....\OML/cmm/m/it/10.95 E +....\kern0.63113 +....\OML/cmm/m/it/10.95 S +....\kern0.63113 +....\OT1/cmr/m/n/10.95 " +....\OT1/cmr/m/n/10.95 ) +....\OT1/cmr/m/n/10.95 ) +....\mathoff +....\penalty 10000 +....\glue(\parfillskip) 0.0 plus 1.0fil +....\glue(\rightskip) 0.0 +...\glue -2.73749 +...\glue 0.0 plus 1.0fil +...\glue 0.0 +...\glue 0.0 plus 0.0001fil +..\glue(\baselineskip) 34.00002 +..\hbox(13.59999+4.08003)x418.25555 +...\hbox(13.59999+4.08003)x418.25555 +....\vbox(13.59999+4.08003)x418.25555 +.....\rule(0.0+0.0)x418.25555 +.....\glue 4.08003 +.....\hbox(9.51996+4.08003)x418.25555 +......\hbox(0.0+0.0)x0.0, glue set - 418.25555fil +.......\vbox(0.0+0.0)x418.25555 +........\hbox(0.0+0.0)x418.25555, glue set 209.12778fil +.........\hbox(0.0+0.0)x0.0 +.........\penalty 10000 +.........\glue(\parfillskip) 0.0 plus 1.0fil +.........\glue(\rightskip) 0.0 plus 1.0fil +.......\glue 0.0 plus 1.0fil minus 1.0fil +......\glue 0.0 plus 1.0fill +......\vbox(9.51996+4.08003)x418.25555 +.......\hbox(9.51996+4.08003)x418.25555, glue set 206.4058fil +........\glue(\leftskip) 0.0 plus 1.0fil +........\hbox(0.0+0.0)x0.0 +........\pdfliteral page{/Artifact /l3pdf1 BDC} +........\write1{\zref@newlabel{l3pdf1}{\pdf@abspage{\Z@C@pdf@abspage }}} +........\T1/cmr/m/n/10.95 1 +........\pdfliteral page{EMC} +........\rule(9.51996+4.08003)x0.0 +........\penalty 10000 +........\glue(\parfillskip) 0.0 +........\glue(\rightskip) 0.0 plus 1.0fil +......\glue 0.0 plus 1.0fill +......\hbox(0.0+0.0)x0.0, glue set - 418.25555fil +.......\glue 0.0 plus 1.0fil minus 1.0fil +.......\vbox(0.0+0.0)x418.25555 +........\hbox(0.0+0.0)x418.25555, glue set 418.25555fil +.........\glue(\leftskip) 0.0 plus 1.0fil +.........\hbox(0.0+0.0)x0.0 +.........\penalty 10000 +.........\glue(\parfillskip) 0.0 +.........\glue(\rightskip) 0.0 +...\glue 0.0 plus 1.0fil minus 1.0fil +.\kern 0.0 +Package atveryend Info: Empty hook `BeforeClearDocument' on input line .... +Package atveryend Info: Executing hook `AfterLastShipout' on input line .... +(testauxtree.aux) +Package atveryend Info: Empty hook `AtVeryEndDocument' on input line .... +Package atveryend Info: Empty hook `AtEndAfterFileList' on input line .... +Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line .... +Bad grouping: 2!