[latex3-commits] [l3svn] branch master updated: Add another test for ctex.

noreply at latex-project.org noreply at latex-project.org
Tue Oct 6 09:54:49 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  415271f   Add another test for ctex.
415271f is described below

commit 415271f2844d5f401532786721ca7cf554a06210
Author: Qing Lee <sobenlee at gmail.com>
Date:   Tue Oct 6 10:18:15 2015 +0800

    Add another test for ctex.
---
 contrib/testfiles/ctex002.luatex.tlg |  104 +++++++++++++++++++++++++++++++
 contrib/testfiles/ctex002.lvt        |   64 +++++++++++++++++++
 contrib/testfiles/ctex002.ptex.tlg   |   21 +++++++
 contrib/testfiles/ctex002.tlg        |  113 ++++++++++++++++++++++++++++++++++
 contrib/testfiles/ctex002.uptex.tlg  |   21 +++++++
 contrib/testfiles/ctex002.xetex.tlg  |   75 ++++++++++++++++++++++
 6 files changed, 398 insertions(+)

diff --git a/contrib/testfiles/ctex002.luatex.tlg b/contrib/testfiles/ctex002.luatex.tlg
new file mode 100644
index 0000000..5ae0e4d
--- /dev/null
+++ b/contrib/testfiles/ctex002.luatex.tlg
@@ -0,0 +1,104 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+%%
+LaTeX Font Info:    Font shape `LTJY3/FandolSong-Regular(0)/m/sl' in size <10.53937> not available
+(Font)              Font shape `LTJY3/FandolSong-Regular(0)/m/it' tried instead on input line ....
+luaotfload | load : path lookup of "FandolKai-Regular.otf" unsuccessful, falling back to file:
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0, direction TLT
+.\whatsit4=[]
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
+..\whatsit4=[]
+..\vbox(12.0+0.0)x345.0, glue set 4.98077fil, direction TLT
+...\whatsit4=[]
+...\glue 0.0 plus 1.0fil
+...\hbox(7.01923+0.0)x345.0, glue set 339.73032fil, direction TLT
+....\whatsit4=[]
+....\glue 0.0 plus 1.0fil
+....\EU2/lmr/m/n/10.53937 1
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 522.23804fil, direction TLT
+...\whatsit4=[]
+...\write-{}
+...\glue(\topskip) 0.72536
+...\hbox(9.27464+1.26472)x345.0, glue set 265.95474fil, direction TLT
+....\whatsit4=[]
+....\whatsit
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x21.07874, direction TLT
+....\hbox(9.27464+1.26472)x10.53937, direction TLT
+.....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 你
+....\glue 0.0 plus 0.60931
+....\hbox(9.27464+1.26472)x10.53937, direction TLT
+.....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 好
+....\penalty 10000
+....\glue 0.0 plus 0.60931
+....\hbox(9.27464+1.26472)x5.26968, direction TLT
+.....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 ,
+....\glue 5.26968 minus 5.26968
+....\hbox(9.27464+1.26472)x10.53937, direction TLT
+.....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 世
+....\penalty 500
+....\glue 0.0 plus 0.60931
+....\hbox(9.27464+1.26472)x10.53937, direction TLT
+.....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 界
+....\penalty 10000
+....\glue 0.0 plus 0.60931
+....\hbox(9.27464+1.26472)x5.26968, direction TLT
+.....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 !
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.90208
+...\hbox(9.27464+1.26472)x345.0, glue set 266.6925fil, direction TLT
+....\whatsit4=[]
+....\whatsit
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x21.07874, direction TLT
+....\rule(9.27464+1.26472)x0.0
+....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 一
+....\glue 0.0 plus 0.60931
+....\rule(9.27464+1.26472)x0.0
+....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 二
+....\penalty 500
+....\glue 0.0 plus 0.60931
+....\rule(9.27464+1.26472)x0.0
+....\LTJY3/FandolSong-Regular(0)/m/n/10.53937 三
+....\glue 2.63484 plus 1.0 minus 1.0
+....\EU2/lmr/m/n/10.53937 A
+....\EU2/lmr/m/n/10.53937 B
+....\EU2/lmr/m/n/10.53937 C
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 30.0
+..\hbox(0.0+0.0)x345.0, direction TLT
+...\whatsit4=[]
+(.aux)
diff --git a/contrib/testfiles/ctex002.lvt b/contrib/testfiles/ctex002.lvt
new file mode 100644
index 0000000..9c04eaf
--- /dev/null
+++ b/contrib/testfiles/ctex002.lvt
@@ -0,0 +1,64 @@
+%
+% Copyright (C) 2015 Qing Lee
+%
+
+%% We use fandol fonts for testing. In pdftex, they can be only used with dvipdfmx
+%% driver. Actually, dvipdfmx is preferred and more frequently used in Chinese
+%% typesetting with pdftex.
+\begingroup
+  \expandafter\ifx\csname pdfoutput\endcsname\relax
+    \def\next{}
+  \else
+    \expandafter\ifx\csname luatexversion\endcsname\relax
+      \def\next{\pdfoutput=0\relax}
+      \PassOptionsToPackage{driver=dvipdfmx}{expl3}
+    \else
+      \def\next{}
+    \fi
+  \fi
+\expandafter\endgroup\next
+
+
+\documentclass{article}
+\input{regression-test}
+\AUTHOR{Qing Lee}
+
+\usepackage{expl3}
+\usepackage{xparse}
+\usepackage{xtemplate}
+
+\START
+
+\ExplSyntaxOn
+
+%% ctex only supports pdftex, xetex and luatex.
+\bool_if:nF
+  {
+       \sys_if_engine_pdftex_p:
+    || \sys_if_engine_xetex_p:
+    || \sys_if_engine_luatex_p:
+  }
+  {
+    \msg_term:n { Not-supported-engine! }
+    \END
+  }
+
+\ExplSyntaxOff
+
+\OMIT
+
+%% Using fandol fonts for testing
+\usepackage[UTF8, heading, fontset = fandol]{ctex}
+
+
+\begin{document}
+
+\TIMO
+
+\showoutput
+
+你好,世界!
+
+一二三ABC
+
+\end{document}
diff --git a/contrib/testfiles/ctex002.ptex.tlg b/contrib/testfiles/ctex002.ptex.tlg
new file mode 100644
index 0000000..68b1531
--- /dev/null
+++ b/contrib/testfiles/ctex002.ptex.tlg
@@ -0,0 +1,21 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+%%
+*************************************************
+* Not-supported-engine!
+*************************************************
diff --git a/contrib/testfiles/ctex002.tlg b/contrib/testfiles/ctex002.tlg
new file mode 100644
index 0000000..7ece2bf
--- /dev/null
+++ b/contrib/testfiles/ctex002.tlg
@@ -0,0 +1,113 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+%%
+LaTeX Font Info:    Try loading font information for C70+rm on input line ....
+)
+Package CJKpunct Info: use punctuation spaces for family 'rm' with punctstyle (quanjiao) on input line ....
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\special{pdf:mapline gbk at UGBK@ UniGB-UTF16-H FandolSong-Regular.otf}
+.\special{pdf:mapline gbksong at UGBK@ UniGB-UTF16-H FandolSong-Regular.otf}
+.\special{pdf:mapline gbkkai at UGBK@ UniGB-UTF16-H FandolKai-Regular.otf}
+.\special{pdf:mapline gbkhei at UGBK@ UniGB-UTF16-H FandolHei-Regular.otf}
+.\special{pdf:mapline gbkfs at UGBK@ UniGB-UTF16-H FandolFang-Regular.otf}
+.\special{pdf:mapline cyberb at Unicode@ UniGB-UTF16-H FandolSong-Regular.otf}
+.\special{pdf:mapline unisong at Unicode@ UniGB-UTF16-H FandolSong-Regular.otf}
+.\special{pdf:mapline unikai at Unicode@ UniGB-UTF16-H FandolKai-Regular.otf}
+.\special{pdf:mapline unihei at Unicode@ UniGB-UTF16-H FandolHei-Regular.otf}
+.\special{pdf:mapline unifs at Unicode@ UniGB-UTF16-H FandolFang-Regular.otf}
+.\special{pdf:mapline gbksongsl at UGBK@ UniGB-UTF16-H FandolSong-Regular.otf -s .\ETC.}
+.\special{pdf:mapline gbkkaisl at UGBK@ UniGB-UTF16-H FandolKai-Regular.otf -s .16\ETC.}
+.\special{pdf:mapline gbkheisl at UGBK@ UniGB-UTF16-H FandolHei-Regular.otf -s .16\ETC.}
+.\special{pdf:mapline gbkfssl at UGBK@ UniGB-UTF16-H FandolFang-Regular.otf -s .16\ETC.}
+.\special{pdf:mapline unisongsl at Unicode@ UniGB-UTF16-H FandolSong-Regular.otf -\ETC.}
+.\special{pdf:mapline unikaisl at Unicode@ UniGB-UTF16-H FandolKai-Regular.otf -s \ETC.}
+.\special{pdf:mapline uniheisl at Unicode@ UniGB-UTF16-H FandolHei-Regular.otf -s \ETC.}
+.\special{pdf:mapline unifssl at Unicode@ UniGB-UTF16-H FandolFang-Regular.otf -s \ETC.}
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0
+..\vbox(12.0+0.0)x345.0, glue set 5.20798fil
+...\glue 0.0 plus 1.0fil
+...\hbox(6.79202+0.0)x345.0, glue set 339.7303fil
+....\glue 0.0 plus 1.0fil
+....\OT1/cmr/m/n/10.53937 1
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 522.4488fil
+...\write-{}
+...\glue(\topskip) 1.56851
+...\hbox(8.43149+1.05394)x345.0, glue set 260.68488fil
+....\hbox(0.0+0.0)x21.07874
+....\C70/rm/m/n/10.53937/4f `
+....\kern -0.00002
+....\kern 0.00002
+....\glue 0.0 plus 0.60931
+....\C70/rm/m/n/10.53937/59 }
+....\kern -0.00002
+....\kern 0.00002
+....\penalty 10000
+....\rule(0.0+0.0)x-0.4215
+....\C70/rm/m/n/10.53937/ff ^^L
+....\rule(0.0+0.0)x-5.69118
+....\glue 6.11284 plus 1.054 minus 1.054
+....\kern -0.00002
+....\kern 0.00002
+....\C70/rm/m/n/10.53937/4e ^^V
+....\kern -0.00002
+....\kern 0.00002
+....\glue 0.0 plus 0.60931
+....\C70/rm/m/n/10.53937/75 L
+....\kern -0.00002
+....\kern 0.00002
+....\penalty 10000
+....\rule(0.0+0.0)x-0.527
+....\C70/rm/m/n/10.53937/ff ^^A
+....\rule(0.0+0.0)x-5.79668
+....\glue 6.32368 plus 1.054 minus 1.054
+....\kern -0.00002
+....\kern 0.00002
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 6.95602
+...\hbox(8.43149+1.05394)x345.0, glue set 269.32143fil
+....\hbox(0.0+0.0)x21.07874
+....\C70/rm/m/n/10.53937/4e ^^@
+....\kern -0.00002
+....\kern 0.00002
+....\glue 0.0 plus 0.60931
+....\C70/rm/m/n/10.53937/4e ^^8c
+....\kern -0.00002
+....\kern 0.00002
+....\glue 0.0 plus 0.60931
+....\C70/rm/m/n/10.53937/4e ^^I
+....\kern -0.00002
+....\kern 0.00002
+....\OT1/cmr/m/n/10.53937 A
+....\OT1/cmr/m/n/10.53937 B
+....\OT1/cmr/m/n/10.53937 C
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 30.0
+..\hbox(0.0+0.0)x345.0
+(.aux)
diff --git a/contrib/testfiles/ctex002.uptex.tlg b/contrib/testfiles/ctex002.uptex.tlg
new file mode 100644
index 0000000..68b1531
--- /dev/null
+++ b/contrib/testfiles/ctex002.uptex.tlg
@@ -0,0 +1,21 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+%%
+*************************************************
+* Not-supported-engine!
+*************************************************
diff --git a/contrib/testfiles/ctex002.xetex.tlg b/contrib/testfiles/ctex002.xetex.tlg
new file mode 100644
index 0000000..9dc18af
--- /dev/null
+++ b/contrib/testfiles/ctex002.xetex.tlg
@@ -0,0 +1,75 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+%%
+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 4.98077fil
+...\glue 0.0 plus 1.0fil
+...\hbox(7.01923+0.0)x345.0, glue set 339.73032fil
+....\glue 0.0 plus 1.0fil
+....\EU1/lmr/m/n/10.53937 1
+....\kern -0.0002
+....\kern 0.0002
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 522.81766fil
+...\write-{}
+...\glue(\topskip) 1.88469
+...\hbox(8.11531+2.03409)x345.0, glue set 268.03099fil
+....\hbox(0.0+0.0)x21.07874
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 你
+....\glue 0.0 plus 0.60931
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 好
+....\penalty 10000
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 ,
+....\rule(0.0+0.0)x-7.29324
+....\glue 7.29324 minus 5.26968
+....\glue 0.0 plus 0.60931
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 世
+....\glue 0.0 plus 0.60931
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 界
+....\penalty 10000
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 !
+....\rule(0.0+0.0)x-7.34593
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 6.86118
+...\hbox(7.54619+0.68504)x345.0, glue set 265.81772fil
+....\hbox(0.0+0.0)x21.07874
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 一
+....\glue 0.0 plus 0.60931
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 二
+....\glue 0.0 plus 0.60931
+....\EU1/FandolSong-Regular(0)/m/n/10.53937 三
+....\glue 3.50961 plus 1.75304 minus 1.17102
+....\EU1/lmr/m/n/10.53937 ABC
+....\kern -0.00021
+....\kern 0.00021
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 30.0
+..\hbox(0.0+0.0)x345.0
+(.aux)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list