[latex3-commits] [latex2e-public] r1354 - Add an initial model for testing TU encodings

noreply at latex-project.org noreply at latex-project.org
Tue Jan 24 17:43:38 CET 2017


Author: joseph
Date: 2017-01-24 17:43:38 +0100 (Tue, 24 Jan 2017)
New Revision: 1354

Added:
   trunk/base/build-TU.lua
   trunk/base/testfiles-TU/
   trunk/base/testfiles-TU/tu001.lvt
   trunk/base/testfiles-TU/tu001.tlg
   trunk/base/testfiles-TU/tu001.xetex.tlg
Modified:
   trunk/base/build.lua
Log:
Add an initial model for testing TU encodings

As mentioned on the team list, I will aim to add this functionality
to l3build shortly so a separate .lua file will not be required.

Note that at present LuaTeX testing is not working here: as this is
a demo that's 'to be addressed'!

The test file here is a toy but shows things work.


Added: trunk/base/build-TU.lua
===================================================================
--- trunk/base/build-TU.lua	                        (rev 0)
+++ trunk/base/build-TU.lua	2017-01-24 16:43:38 UTC (rev 1354)
@@ -0,0 +1,10 @@
+#!/usr/bin/env texlua
+
+checksearch  = true
+checkengines = {"etex, "xetex"}
+testfiledir  = "testfiles-TU"
+
+-- Variable for skipping font stuff in format building
+TUenc = true
+
+dofile("build.lua")
\ No newline at end of file


Property changes on: trunk/base/build-TU.lua
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: trunk/base/build.lua
===================================================================
--- trunk/base/build.lua	2017-01-24 12:25:20 UTC (rev 1353)
+++ trunk/base/build.lua	2017-01-24 16:43:38 UTC (rev 1354)
@@ -128,7 +128,9 @@
     end
     return 0
   end
-  cp ('fonttext.cfg', supportdir, unpackdir)
+  if not TUenc then
+    cp ('fonttext.cfg', supportdir, unpackdir)
+  end
   local checkengines = optengines or checkengines
   for _,i in ipairs(checkengines) do
     errorlevel = format (i, string.gsub (i, "tex$", "") .. "latex.fmt")

Added: trunk/base/testfiles-TU/tu001.lvt
===================================================================
--- trunk/base/testfiles-TU/tu001.lvt	                        (rev 0)
+++ trunk/base/testfiles-TU/tu001.lvt	2017-01-24 16:43:38 UTC (rev 1354)
@@ -0,0 +1,15 @@
+% Demo test for TU in the format
+
+\documentclass{article}
+
+\input{test2e}
+
+\begin{document}
+
+\START
+
+\showoutput
+
+A man, a plan, a canal, Panama!
+
+\end{document}
\ No newline at end of file


Property changes on: trunk/base/testfiles-TU/tu001.lvt
___________________________________________________________________
Added: svn:eol-style
   + native

Added: trunk/base/testfiles-TU/tu001.tlg
===================================================================
--- trunk/base/testfiles-TU/tu001.tlg	                        (rev 0)
+++ trunk/base/testfiles-TU/tu001.tlg	2017-01-24 16:43:38 UTC (rev 1354)
@@ -0,0 +1,60 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+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 12.0fil
+...\glue 0.0 plus 1.0fil
+...\hbox(0.0+0.0)x345.0
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 537.9981fil
+...\write-{}
+...\glue(\topskip) 3.05556
+...\hbox(6.94444+1.94444)x345.0, glue set 185.41635fil
+....\hbox(0.0+0.0)x15.0
+....\OT1/cmr/m/n/10 A
+....\glue 3.33333 plus 1.66498 minus 1.11221
+....\OT1/cmr/m/n/10 m
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 n
+....\OT1/cmr/m/n/10 ,
+....\glue 3.33333 plus 2.08331 minus 0.88889
+....\OT1/cmr/m/n/10 a
+....\glue 3.33333 plus 1.66666 minus 1.11111
+....\OT1/cmr/m/n/10 p
+....\OT1/cmr/m/n/10 l
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 n
+....\OT1/cmr/m/n/10 ,
+....\glue 3.33333 plus 2.08331 minus 0.88889
+....\OT1/cmr/m/n/10 a
+....\glue 3.33333 plus 1.66666 minus 1.11111
+....\OT1/cmr/m/n/10 c
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 n
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 l
+....\OT1/cmr/m/n/10 ,
+....\glue 3.33333 plus 2.08331 minus 0.88889
+....\OT1/cmr/m/n/10 P
+....\kern-0.27779
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 n
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 m
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 !
+....\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) 23.55556
+..\hbox(6.44444+0.0)x345.0, glue set 170.0fil
+...\glue 0.0 plus 1.0fil
+...\OT1/cmr/m/n/10 1
+...\glue 0.0 plus 1.0fil
+(.aux)


Property changes on: trunk/base/testfiles-TU/tu001.tlg
___________________________________________________________________
Added: svn:eol-style
   + native

Added: trunk/base/testfiles-TU/tu001.xetex.tlg
===================================================================
--- trunk/base/testfiles-TU/tu001.xetex.tlg	                        (rev 0)
+++ trunk/base/testfiles-TU/tu001.xetex.tlg	2017-01-24 16:43:38 UTC (rev 1354)
@@ -0,0 +1,41 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+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 12.0fil
+...\glue 0.0 plus 1.0fil
+...\hbox(0.0+0.0)x345.0
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 538.00255fil
+...\write-{}
+...\glue(\topskip) 2.84
+...\hbox(7.16+1.93999)x345.0, glue set 185.40999fil
+....\hbox(0.0+0.0)x15.0
+....\TU/lmr/m/n/10 A
+....\glue 3.33 plus 1.66331 minus 1.1111
+....\TU/lmr/m/n/10 man,
+....\glue 3.33 plus 2.08124 minus 0.888
+....\TU/lmr/m/n/10 a
+....\glue 3.33 plus 1.665 minus 1.11
+....\TU/lmr/m/n/10 plan,
+....\glue 3.33 plus 2.08124 minus 0.888
+....\TU/lmr/m/n/10 a
+....\glue 3.33 plus 1.665 minus 1.11
+....\TU/lmr/m/n/10 canal,
+....\glue 3.33 plus 2.08124 minus 0.888
+....\TU/lmr/m/n/10 Panama!
+....\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) 23.34
+..\hbox(6.66+0.0)x345.0, glue set 170.0fil
+...\glue 0.0 plus 1.0fil
+...\TU/lmr/m/n/10 1
+...\glue 0.0 plus 1.0fil
+(.aux)


Property changes on: trunk/base/testfiles-TU/tu001.xetex.tlg
___________________________________________________________________
Added: svn:eol-style
   + native



More information about the latex3-commits mailing list