[latex3-commits] [git/LaTeX3-latex3-latex2e] gh239: LuaTeX and XeTeX tests (ca139253)
PhelypeOleinik
tex.phelype at gmail.com
Thu Jun 4 13:43:40 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : gh239
Link : https://github.com/latex3/latex2e/commit/ca139253523168955b8e1c2b025fe3c6b06f2a08
>---------------------------------------------------------------
commit ca139253523168955b8e1c2b025fe3c6b06f2a08
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date: Thu Jun 4 08:43:40 2020 -0300
LuaTeX and XeTeX tests
>---------------------------------------------------------------
ca139253523168955b8e1c2b025fe3c6b06f2a08
.../{github-0239d.tlg => github-0239d.luatex.tlg} | 88 ++++++++++++----------
base/testfiles/github-0239d.lvt | 32 +++++++-
.../{github-0239d.tlg => github-0239d.xetex.tlg} | 43 ++++-------
3 files changed, 96 insertions(+), 67 deletions(-)
diff --git a/base/testfiles/github-0239d.tlg b/base/testfiles/github-0239d.luatex.tlg
similarity index 53%
copy from base/testfiles/github-0239d.tlg
copy to base/testfiles/github-0239d.luatex.tlg
index 647ff027..eb372e9b 100644
--- a/base/testfiles/github-0239d.tlg
+++ b/base/testfiles/github-0239d.luatex.tlg
@@ -15,6 +15,10 @@ LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line ....
LaTeX Font Info: ... okay on input line ....
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line ....
LaTeX Font Info: ... okay on input line ....
+LaTeX Font Info: Trying to load font information for TU+lmr on input line ....
+LaTeX Font Warning: Font shape `TU/cmr/m/n' in size <10> not available
+(Font) Font shape `TU/lmr/m/n' tried instead on input line ...
+luaotfload | db : Font names database loaded from /usr/local/texlive/2020/texmf-var/luatex-cache/generic/names/luaotfload-names.luc
> \mygrave=macro:
->\T1-cmd \mygrave \T1\mygrave .
l. ...\show\mygrave
@@ -25,65 +29,71 @@ LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
->\?-cmd \mybullet \?\mybullet .
l. ...\show\mybullet
Completed box being shipped out [1]
-\vbox(633.0+0.0)x407.0
+\vbox(633.0+0.0)x407.0, direction TLT
.\glue 16.0
-.\vbox(617.0+0.0)x345.0, shifted 62.0
-..\vbox(12.0+0.0)x345.0, glue set 12.0fil
+.\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
...\glue 0.0 plus 1.0fil
-...\hbox(0.0+0.0)x345.0
+...\hbox(0.0+0.0)x345.0, direction TLT
..\glue 25.0
..\glue(\lineskip) 0.0
-..\vbox(550.0+0.0)x345.0, glue set 503.94617fil
+..\vbox(550.0+0.0)x345.0, glue set 503.94617fil, direction TLT
...\write-{}
-...\glue(\topskip) 3.05556
-...\hbox(6.94444+0.0)x345.0, glue set 316.66788fil
-....\hbox(0.0+0.0)x15.0
-....\T1/cmr/m/n/10 ^^e0
-....\glue 3.33333 plus 1.66666 minus 1.11111
-....\kern 0.0 (for accent)
-....\OT1/cmr/m/n/10 ^^R
-....\kern -5.00002 (for accent)
-....\OT1/cmr/m/n/10 a
+...\glue(\topskip) 3.02
+...\hbox(6.98+0.11)x345.0, glue set 325.0fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\TU/lmr/m/n/10 ^^e0
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 5.05556
-...\hbox(6.94444+0.0)x345.0, glue set 316.66788fil
-....\hbox(0.0+0.0)x15.0
-....\T1/cmr/m/n/10 ^^e0
-....\glue 3.33333 plus 1.66666 minus 1.11111
-....\kern 0.0 (for accent)
-....\OT1/cmr/m/n/10 ^^R
-....\kern -5.00002 (for accent)
-....\OT1/cmr/m/n/10 a
+...\glue(\baselineskip) 4.91
+...\hbox(6.98+0.11)x345.0, glue set 325.0fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\TU/lmr/m/n/10 ^^e0
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 7.55556
-...\hbox(4.44444+0.0)x345.0, glue set 300.00366fil
-....\hbox(0.0+0.0)x15.0
+...\glue(\baselineskip) 7.44556
+...\hbox(4.44444+0.0)x345.0, glue set 305.55457fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\TU/lmr/m/n/10 •
+....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
....\OMS/cmsy/m/n/10 ^^O
-....\glue 3.33333 plus 1.66666 minus 1.11111
-....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
-....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
+....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
....\TS1/cmr/m/n/10 ^^88
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue(\parskip) 0.0 plus 1.0
...\glue(\baselineskip) 7.55556
-...\hbox(4.44444+0.0)x345.0, glue set 300.00366fil
-....\hbox(0.0+0.0)x15.0
+...\hbox(4.44444+0.0)x345.0, glue set 305.55457fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\TU/lmr/m/n/10 •
+....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
....\OMS/cmsy/m/n/10 ^^O
-....\glue 3.33333 plus 1.66666 minus 1.11111
-....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
-....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
+....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
....\TS1/cmr/m/n/10 ^^88
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
@@ -92,7 +102,7 @@ Completed box being shipped out [1]
...\glue 0.0
...\glue 0.0 plus 0.0001fil
..\glue(\baselineskip) 23.55556
-..\hbox(6.44444+0.0)x345.0, glue set 170.0fil
+..\hbox(6.44444+0.0)x345.0, glue set 170.0fil, direction TLT
...\glue 0.0 plus 1.0fil
...\OT1/cmr/m/n/10 1
...\glue 0.0 plus 1.0fil
diff --git a/base/testfiles/github-0239d.lvt b/base/testfiles/github-0239d.lvt
index 86bccac9..94d8e9ef 100644
--- a/base/testfiles/github-0239d.lvt
+++ b/base/testfiles/github-0239d.lvt
@@ -13,13 +13,15 @@
\begin{document}
\let\UndeclareTextCommand\undeclare
+\ifx\Umathchar\UNDEFINED
+
\test{T1}{\`a}
\test{OT1}{\`a}
\NewCommandCopy\mygrave\`
\show\mygrave
-\UndeclareTextCommand\`{OT1}
\UndeclareTextCommand\`{T1}
+\UndeclareTextCommand\`{OT1}
\test{T1}{\mygrave a}
\test{OT1}{\mygrave a}
@@ -43,5 +45,33 @@
\test{OT1}{\mybullet}
\test{T1}{\mybullet}
+\else
+
+\test{TU}{\`a}
+
+\NewCommandCopy\mygrave\`
+\show\mygrave
+\UndeclareTextCommand\`{TU}
+
+\test{TU}{\mygrave a}
+
+
+
+\test{TU}{\textbullet}
+\test{OMS}{\textbullet}
+\test{TS1}{\textbullet}
+
+\NewCommandCopy\mybullet\textbullet
+\show\mybullet
+\UndeclareTextCommand\textbullet{TU}
+\UndeclareTextCommand\textbullet{OMS}
+\UndeclareTextCommand\textbullet{TS1}
+
+\test{TU}{\mybullet}
+\test{OMS}{\mybullet}
+\test{TS1}{\mybullet}
+
+\fi
+
\end{document}
diff --git a/base/testfiles/github-0239d.tlg b/base/testfiles/github-0239d.xetex.tlg
similarity index 76%
copy from base/testfiles/github-0239d.tlg
copy to base/testfiles/github-0239d.xetex.tlg
index 647ff027..24d82e2a 100644
--- a/base/testfiles/github-0239d.tlg
+++ b/base/testfiles/github-0239d.xetex.tlg
@@ -15,6 +15,9 @@ LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line ....
LaTeX Font Info: ... okay on input line ....
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line ....
LaTeX Font Info: ... okay on input line ....
+LaTeX Font Info: Trying to load font information for TU+lmr on input line ....
+LaTeX Font Warning: Font shape `TU/cmr/m/n' in size <10> not available
+(Font) Font shape `TU/lmr/m/n' tried instead on input line ...
> \mygrave=macro:
->\T1-cmd \mygrave \T1\mygrave .
l. ...\show\mygrave
@@ -35,56 +38,42 @@ Completed box being shipped out [1]
..\glue(\lineskip) 0.0
..\vbox(550.0+0.0)x345.0, glue set 503.94617fil
...\write-{}
-...\glue(\topskip) 3.05556
-...\hbox(6.94444+0.0)x345.0, glue set 316.66788fil
+...\glue(\topskip) 3.02
+...\hbox(6.98+0.10999)x345.0, glue set 325.0fil
....\hbox(0.0+0.0)x15.0
-....\T1/cmr/m/n/10 ^^e0
-....\glue 3.33333 plus 1.66666 minus 1.11111
-....\kern 0.0 (for accent)
-....\OT1/cmr/m/n/10 ^^R
-....\kern -5.00002 (for accent)
-....\OT1/cmr/m/n/10 a
+....\TU/lmr/m/n/10 ^^e0
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 5.05556
-...\hbox(6.94444+0.0)x345.0, glue set 316.66788fil
+...\glue(\baselineskip) 4.91002
+...\hbox(6.98+0.10999)x345.0, glue set 325.0fil
....\hbox(0.0+0.0)x15.0
-....\T1/cmr/m/n/10 ^^e0
-....\glue 3.33333 plus 1.66666 minus 1.11111
-....\kern 0.0 (for accent)
-....\OT1/cmr/m/n/10 ^^R
-....\kern -5.00002 (for accent)
-....\OT1/cmr/m/n/10 a
+....\TU/lmr/m/n/10 ^^e0
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 7.55556
-...\hbox(4.44444+0.0)x345.0, glue set 300.00366fil
+...\glue(\baselineskip) 7.44557
+...\hbox(4.44444+0.0)x345.0, glue set 305.55455fil
....\hbox(0.0+0.0)x15.0
+....\TU/lmr/m/n/10 •
+....\glue 3.33333 plus 1.66666 minus 1.11111
....\OMS/cmsy/m/n/10 ^^O
....\glue 3.33333 plus 1.66666 minus 1.11111
....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
-....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
-....\TS1/cmr/m/n/10 ^^88
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue(\parskip) 0.0 plus 1.0
...\glue(\baselineskip) 7.55556
-...\hbox(4.44444+0.0)x345.0, glue set 300.00366fil
+...\hbox(4.44444+0.0)x345.0, glue set 305.55455fil
....\hbox(0.0+0.0)x15.0
+....\TU/lmr/m/n/10 •
+....\glue 3.33333 plus 1.66666 minus 1.11111
....\OMS/cmsy/m/n/10 ^^O
....\glue 3.33333 plus 1.66666 minus 1.11111
....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
-....\TS1/cmr/m/n/10 ^^88
-....\glue 3.33333 plus 1.66498 minus 1.11221
-....\TS1/cmr/m/n/10 ^^88
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
More information about the latex3-commits
mailing list.