[latex3-commits] [git/LaTeX3-latex3-latex2e] gh239: Update test files for composites (b9ee6f18)

PhelypeOleinik tex.phelype at gmail.com
Fri Jun 12 01:38:55 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh239
Link       : https://github.com/latex3/latex2e/commit/b9ee6f18237725cbf7ff8facfbb32e797a64cd6f

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

commit b9ee6f18237725cbf7ff8facfbb32e797a64cd6f
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Thu Jun 11 20:38:55 2020 -0300

    Update test files for composites


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

b9ee6f18237725cbf7ff8facfbb32e797a64cd6f
 base/testfiles/github-0239d.lvt       | 19 ++++++++++++++++---
 base/testfiles/github-0239d.tlg       | 15 +++++++++++++++
 base/testfiles/github-0239d.xetex.tlg | 11 +++++++++++
 3 files changed, 42 insertions(+), 3 deletions(-)

diff --git a/base/testfiles/github-0239d.lvt b/base/testfiles/github-0239d.lvt
index 0760dad3..732cde3e 100644
--- a/base/testfiles/github-0239d.lvt
+++ b/base/testfiles/github-0239d.lvt
@@ -14,8 +14,10 @@
 \START
 
 \let\undeclare\UndeclareTextCommand
+\let\declare\DeclareTextCompositeCommand
 \begin{document}
 \let\UndeclareTextCommand\undeclare
+\let\DeclareTextCompositeCommand\declare
 
 \ifx\Umathchar\UNDEFINED
 
@@ -24,8 +26,12 @@
 
 \NewCommandCopy\mygrave\`
 \show\mygrave
-\UndeclareTextCommand\`{T1}
-\UndeclareTextCommand\`{OT1}
+\expandafter\show\csname T1\string\mygrave\endcsname
+\expandafter\show
+  \csname\expandafter\string
+    \csname T1\string\mygrave\endcsname-a\endcsname
+\DeclareTextCompositeCommand{\`}{T1}{a}{ERROR}
+\DeclareTextCompositeCommand{\`}{OT1}{a}{ERROR}
 
 \test{T1}{\mygrave a}
 \test{OT1}{\mygrave a}
@@ -39,6 +45,8 @@
 
 \NewCommandCopy\mybullet\textbullet
 \show\mybullet
+\expandafter\show\csname T1\string\mybullet\endcsname
+\expandafter\show\csname TS1\string\mybullet\endcsname
 \UndeclareTextCommand\textbullet{OMS}
 \UndeclareTextCommand\textbullet{TS1}
 \UndeclareTextCommand\textbullet{OT1}
@@ -55,7 +63,11 @@
 
 \NewCommandCopy\mygrave\`
 \show\mygrave
-\UndeclareTextCommand\`{TU}
+\expandafter\show\csname TU\string\mygrave\endcsname
+\expandafter\show
+  \csname\expandafter\string
+    \csname TU\string\mygrave\endcsname-a\endcsname
+\DeclareTextCompositeCommand{\`}{TU}{a}{ERROR}
 
 \test{TU}{\mygrave a}
 
@@ -67,6 +79,7 @@
 
 \NewCommandCopy\mybullet\textbullet
 \show\mybullet
+\expandafter\show\csname TU\string\mybullet\endcsname
 \UndeclareTextCommand\textbullet{TU}
 \UndeclareTextCommand\textbullet{OMS}
 \UndeclareTextCommand\textbullet{TS1}
diff --git a/base/testfiles/github-0239d.tlg b/base/testfiles/github-0239d.tlg
index 647ff027..1fe6da0e 100644
--- a/base/testfiles/github-0239d.tlg
+++ b/base/testfiles/github-0239d.tlg
@@ -18,12 +18,27 @@ LaTeX Font Info:    ... okay on input line ....
 > \mygrave=macro:
 ->\T1-cmd \mygrave \T1\mygrave .
 l. ...\show\mygrave
+> \T1\mygrave=macro:
+#1->\@text at composite \T1\mygrave #1\@empty \@text at composite {\add at accent {0}{#1}}.
+<recently read> \T1\mygrave 
+l. ......er\show\csname T1\string\mygrave\endcsname
+> \\T1\mygrave-a=macro:
+->^^e0.
+<recently read> \\T1\mygrave-a 
+l. ......me T1\string\mygrave\endcsname-a\endcsname
 LaTeX Font Info:    Trying to load font information for OMS+cmr on input line ....
 LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available
 (Font)              Font shape `OMS/cmsy/m/n' tried instead on input line ...
 > \mybullet=macro:
 ->\?-cmd \mybullet \?\mybullet .
 l. ...\show\mybullet
+> \T1\mybullet=\long macro:
+->\UseTextSymbol {TS1}\mybullet .
+<recently read> \T1\mybullet 
+l. ......r\show\csname T1\string\mybullet\endcsname
+> \TS1\mybullet=\char"88.
+<recently read> \TS1\mybullet 
+l. ......\show\csname TS1\string\mybullet\endcsname
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0
 .\glue 16.0
diff --git a/base/testfiles/github-0239d.xetex.tlg b/base/testfiles/github-0239d.xetex.tlg
index b74b299c..57945cf4 100644
--- a/base/testfiles/github-0239d.xetex.tlg
+++ b/base/testfiles/github-0239d.xetex.tlg
@@ -18,12 +18,23 @@ LaTeX Font Info:    ... okay on input line ....
 > \mygrave=macro:
 ->\T1-cmd \mygrave \T1\mygrave .
 l. ...\show\mygrave
+> \TU\mygrave=macro:
+#1->\@text at composite \TU\mygrave #1\@empty \@text at composite {\add at unicode@accent {"0300}{#1}}.
+<recently read> \TU\mygrave 
+l. ......er\show\csname TU\string\mygrave\endcsname
+> \\TU\mygrave-a=macro:
+->\iffontchar \font "00E0 ^^e0\else \add at unicode@accent {"0300}{a}\fi .
+<recently read> \\TU\mygrave-a 
+l. ......me TU\string\mygrave\endcsname-a\endcsname
 LaTeX Font Info:    Trying to load font information for OMS+cmr on input line ....
 LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available
 (Font)              Font shape `OMS/cmsy/m/n' tried instead on input line ...
 > \mybullet=macro:
 ->\?-cmd \mybullet \?\mybullet .
 l. ...\show\mybullet
+> \TU\mybullet=\char"2022.
+<recently read> \TU\mybullet 
+l. ......r\show\csname TU\string\mybullet\endcsname
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0
 .\glue 16.0





More information about the latex3-commits mailing list.