[latex3-commits] [git/LaTeX3-latex3-latex2e] picture-lengths: picture mode test (05a6f908)

David Carlisle d.p.carlisle at gmail.com
Sat Aug 15 19:35:39 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : picture-lengths
Link       : https://github.com/latex3/latex2e/commit/05a6f908a6caf0e6f222ba415c229c5ed6bbd7a8

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

commit 05a6f908a6caf0e6f222ba415c229c5ed6bbd7a8
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Aug 15 18:35:39 2020 +0100

    picture mode test


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

05a6f908a6caf0e6f222ba415c229c5ed6bbd7a8
 base/testfiles/tlb-picture-01.lvt |  42 ++++++
 base/testfiles/tlb-picture-01.tlg | 261 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 303 insertions(+)

diff --git a/base/testfiles/tlb-picture-01.lvt b/base/testfiles/tlb-picture-01.lvt
new file mode 100644
index 00000000..a86a8624
--- /dev/null
+++ b/base/testfiles/tlb-picture-01.lvt
@@ -0,0 +1,42 @@
+\documentclass{article}
+\input{test2e}
+
+
+% test new length syntax does not error and
+% generally improve coverage of picture mode in test suite
+
+
+\begin{document}
+
+\newlength\zzz
+\newlength\zzzb
+\setlength\zzz{100pt}
+
+\START
+
+\begin{picture}(200,4\zzz)
+
+\loop
+\addtolength\zzzb{40pt}%
+\put(\zzzb+30pt,\zzzb+40pt){\line(1,0){150pt}}
+\put(\zzzb+30pt,\zzzb+40pt){\line(0,1){60}}
+\put(\zzzb+30pt,\zzzb+\zzz){\line(1,0){20}}
+\put(\zzzb+50pt,\zzzb+\zzz){\line(1,-4){10}}
+\put(\zzzb+60pt,\zzzb+60pt){\line(1,0){50pt+50pt}}
+\put(\zzzb+160pt,\zzzb+60pt){\line(1,-1){20}}
+\put(\zzzb+\zzz,\zzzb+50pt){\line(0,-1){80}}
+\put(\zzzb+130pt,\zzzb+50pt){\line(0,-1){\zzz-20pt}}
+\put(\zzzb+\zzz,\zzzb+-30pt){\line(1,0){30}}
+\put(\zzzb+\zzz,\zzzb+61pt){\line(0,1){49}}
+\put(\zzzb+130pt,\zzzb+61pt){\line(0,1){49}}
+\put(\zzzb+\zzz,\zzzb+\zzz+10pt){\line(1,0){30}}
+\ifdim\zzzb<200pt
+\repeat
+
+\multiput(0,10)(5mm,5mm){5}{\circle{7mm}}
+\put(2cm,2pt){\oval(20,10pt)}
+\put(1cm,8cm){\dashbox{2}(2cm,2cm)}
+\put(4cm,10cm){\framebox(2cm,2cm){hello}}
+\end{picture}
+
+\END
\ No newline at end of file
diff --git a/base/testfiles/tlb-picture-01.tlg b/base/testfiles/tlb-picture-01.tlg
new file mode 100644
index 00000000..ff134a09
--- /dev/null
+++ b/base/testfiles/tlb-picture-01.tlg
@@ -0,0 +1,261 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+Overfull \hbox (85.35825pt too wide) detected at line 38
+[][]
+\hbox(57.10548+0.19998)x0.0
+.\kern 28.45274
+.\hbox(57.10548+0.19998)x0.0
+..\hbox(0.19998+0.19998)x0.0, glue set - 1.0fil
+...\kern 0.0
+...\hbox(0.19998+0.19998)x1.0
+....\rule(0.19998+0.19998)x1.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.19998+0.19998)x0.0, glue set - 1.0fil, shifted -56.9055
+...\kern 0.0
+...\hbox(0.19998+0.19998)x1.0
+....\rule(0.19998+0.19998)x1.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.19998+0.19998)x0.0, glue set - 56.9055fil
+...\kern 56.9055
+...\glue -1.0
+...\hbox(0.19998+0.19998)x1.0
+....\rule(0.19998+0.19998)x1.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.19998+0.19998)x0.0, glue set - 56.9055fil, shifted -56.9055
+...\kern 56.9055
+...\glue -1.0
+...\hbox(0.19998+0.19998)x1.0
+....\rule(0.19998+0.19998)x1.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.19998+0.19998)x0.0, glue set - 55.0fil
+...\kern 0.0
+...\glue 3.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.19998+0.19998)x0.0, glue set - 55.0fil, shifted -56.9055
+...\kern 0.0
+...\glue 3.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\hbox(0.19998+0.19998)x4.0
+....\rule(0.19998+0.19998)x2.0
+....\glue 2.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(1.0+0.0)x0.0, glue set - 0.2fil
+...\kern 0.0
+...\hbox(1.0+0.0)x0.2
+....\glue -0.19998
+....\rule(1.0+*)x0.39998
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(1.0+0.0)x0.0, glue set - 57.1055fil
+...\kern 56.9055
+...\hbox(1.0+0.0)x0.2
+....\glue -0.19998
+....\rule(1.0+*)x0.39998
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.0+1.0)x0.0, glue set - 0.2fil, shifted -56.9055
+...\kern 0.0
+...\hbox(1.0+0.0)x0.2, shifted 1.0
+....\glue -0.19998
+....\rule(1.0+*)x0.39998
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.0+1.0)x0.0, glue set - 57.1055fil, shifted -56.9055
+...\kern 56.9055
+...\hbox(1.0+0.0)x0.2, shifted 1.0
+....\glue -0.19998
+....\rule(1.0+*)x0.39998
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(55.0+0.0)x0.0, glue set - 0.2fil
+...\kern 0.0
+...\glue -0.19998
+...\vbox(55.0+0.0)x0.39998
+....\glue 2.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 3.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(55.0+0.0)x0.0, glue set - 57.1055fil
+...\kern 56.9055
+...\glue -0.19998
+...\vbox(55.0+0.0)x0.39998
+....\glue 2.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 2.0
+....\glue(\lineskip) 0.0
+....\hbox(2.0+0.0)x0.39998
+.....\rule(2.0+*)x0.39998
+....\glue 3.0
+...\glue 0.0 plus 1.0fil minus 1.0fil
+.\vbox(56.9055+0.0)x56.9055, glue set 28.45276fil
+..\glue 0.0 plus 1.0fil minus 1.0fil
+..\hbox(0.0+0.0)x56.9055, glue set 18.9685fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\glue 0.0 plus 1.0fil minus 1.0fil
+..\kern 0.0





More information about the latex3-commits mailing list.