[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Provide visible space in \verb* also for XeTeX and LuaTeX (#69) (ed175e7)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Oct 11 18:12:02 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/ed175e76f3da6f7e925289c0f85366d9b95daa29

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

commit ed175e76f3da6f7e925289c0f85366d9b95daa29
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Oct 11 18:12:02 2018 +0200

    Provide visible space in \verb* also for XeTeX and LuaTeX (#69)


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

ed175e76f3da6f7e925289c0f85366d9b95daa29
 base/changes.txt                                   |    5 +
 base/ltmiscen.dtx                                  |  185 +++++++++++++++++---
 base/testfiles-TU/tu-github-0069.luatex.tlg        |   80 +++++++++
 .../tu-github-0069.lvt}                            |   17 +-
 base/testfiles-TU/tu-github-0069.xetex.tlg         |   71 ++++++++
 base/testfiles/github-0069.luatex.tlg              |   80 +++++++++
 .../{tlb-utf8-undec-cp1252.lvt => github-0069.lvt} |   14 +-
 base/testfiles/github-0069.tlg                     |   59 +++++++
 base/testfiles/github-0069.xetex.tlg               |   71 ++++++++
 9 files changed, 550 insertions(+), 32 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index c7b4fe6..5494cfe 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -4,6 +4,11 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 =======================================================================
 
+2018-10-11  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltmiscen.dtx (subsection{Verbatim}):
+	Provide visible space in \verb* also for XeTeX and LuaTeX (github/69)
+
 2018-10-05  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* utf8ienc.dtx: Use hex in invalid byte error (suggested in  PR 82 from mirabilos)
diff --git a/base/ltmiscen.dtx b/base/ltmiscen.dtx
index 8651487..ce5aa28 100644
--- a/base/ltmiscen.dtx
+++ b/base/ltmiscen.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltmiscen.dtx}
-             [2018/09/26 v1.1n LaTeX Kernel (Misc. Environments)]
+             [2018/10/11 v1.1o LaTeX Kernel (Misc. Environments)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltmiscen.dtx}
@@ -837,13 +837,165 @@
 %  \end{macro}
 %
 %    
-%  \begin{environment}{verbatim*}
 %    \begin{macrocode}
-\@namedef{verbatim*}{\@verbatim\@sxverbatim}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2018/12/01}%
+%<latexrelease>                 {\verbvisiblespace}{Setup visible space for verb}%
+%    \end{macrocode}
+%
+%
+%  \begin{macro}{\asciispace}
+%    The character in slot 32, in typewriter fonts (historically) a
+%    visible space but in other fonts a real space or something else
+% \changes{v1.1o}{2018/10/11}
+%     {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)}
+%    \begin{macrocode}
+\DeclareRobustCommand\asciispace{\char 32 }
+%    \end{macrocode}
+%  \end{macro}
+%
+%  \begin{macro}{\verbvisiblespace}
+%    This defines how to get a visible space in
+%    |\verb*| and friends. In classic \TeX{} this is just the
+%    slot 32, but in TU encoded fonts we switch fonts and take the
+%    character from cmtt.
+% \changes{v1.1o}{2018/10/11}
+%     {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)}
+%    \begin{macrocode}
+\ifx\Umathcode\@undefined
+  \let\verbvisiblespace\asciispace                                % Pdftex version
+\else
+  \def\verbvisiblespace{\usefont{OT1}{cmtt}{m}{n}\asciispace}    % xetex/luatex version
+\fi
+%    \end{macrocode}
+%  \end{macro}
+%
+%
+
+%  \begin{macro}{\@setupverbvisiblespace}
+%
+%    In pdf\TeX{} a catcode 12 space will produce the character in
+%   slot 32 which is assumed to be a visible space character (in a
+%   typewriter font in OT1 or T1 encoding). In Xe\TeX{} or Lua\TeX{} a
+%   font in TU encoding is normally used and that has a real space in
+%   this slot. So what we do in this case is this: we check the
+%   definition of
+%   |\verbvisiblespace| and if it is |\asciispace| we assume that the
+%   char32 can be used (e.g., in pdf\TeX{}). We then redefine
+%   |\@xobeysp| so that after running |\@vobeyspaces| we get
+%   characters from slot 32 for each active space.
+%
+% \changes{v1.1o}{2018/10/11}
+%     {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)}
+%    \begin{macrocode}
+\def\@setupverbvisiblespace{%
+  \ifx\verbvisiblespace\asciispace
+    \let\@xobeysp\asciispace
+  \else
+%    \end{macrocode} Otherwise we measure the width of a character in
+%   the mon-spaced current font and place a
+%   |\verbvisiblespace| into a box of the right width which we are then
+%   using as the character for a space. By default this will be the space
+%   character from OT1 cmtt but by changing
+%   |\verbvisiblespace| one could use, for example, the |\textvisiblespace|
+%   of the current typewriter font.
+%    \begin{macrocode}
+    \setbox\z@\hbox{x}%
+    \setbox\@verbvisiblespacebox\hbox to\wd\z@{\hss\verbvisiblespace\hss}%
+    \def\@xobeysp{\leavevmode\copy\@verbvisiblespacebox}%
+  \fi
+}
+%    \end{macrocode}
+%  \end{macro}
+%
+
+%  \begin{macro}{\@verbvisiblespacebox}
+%    The box to hold the visible space character if it isn't in slot
+%    32 in the current typewriter font.
+% \changes{v1.1o}{2018/10/11}
+%     {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)}
+%    \begin{macrocode}
+\newbox\@verbvisiblespacebox
+%    \end{macrocode}
+%  \end{macro}
+%
+%
+% \begin{macro}{\@sverb}
+% \changes{v1.0j}{1994/05/10}{Slight change in error message text.}
+% Definitions of |\@sverb| and |\@verb| changed so |\verb+ foo+|
+% does not lose leading blanks when it comes at the beginning of a line.
+% Change made 24 May 89. Suggested by Frank Mittelbach and Rainer
+% Sch\"opf.
+%    \begin{macrocode}
+\def\@sverb#1{%
+  \catcode`#1\active
+  \lccode`\~`#1%
+  \gdef\verb at balance@group{\verb at egroup
+     \@latex at error{\noexpand\verb illegal in command argument}\@ehc}%
+  \aftergroup\verb at balance@group
+  \lowercase{\let~\verb at egroup}%
+%    \end{macrocode}
+%    If |\@sverb| is called from |\@verb| then space is already active
+%    and supposed to produce a real space. In this case we do
+%    nothing. Otherwise we run |\@setupverbvisiblespace| to setup the
+%    right visible space char and afterwards |\@vobeyspaces| to make
+%    it the definition for the active space character.
+% \changes{v1.1o}{2018/10/11}
+%     {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)}
+%    \begin{macrocode}
+  \ifnum\catcode`\ =\active
+  \else  \@setupverbvisiblespace \@vobeyspaces \fi
+}
+%    \end{macrocode}
+%  \end{macro}
+%
+%  \begin{environment}{verbatim*}
+%    For \texttt{verbatim*} we also set up the correct visible space
+%    character definition and then run |\@vobeyspaces|. As this code
+%    is not called as part of the normal verbatim environment (the
+%    method is done the other way around this time) we don't have to
+%    check if space is already active---it shouldn't be.
+% \changes{v1.1o}{2018/10/11}
+%     {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)}
+%    \begin{macrocode}
+\@namedef{verbatim*}{\@verbatim
+  \@setupverbvisiblespace
+  \frenchspacing\@vobeyspaces\@sxverbatim}
 \expandafter\let\csname endverbatim*\endcsname =\endverbatim
 %    \end{macrocode}
 %  \end{environment}
 %
+%
+%
+%    \begin{macrocode}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {\verbvisiblespace}{Setup visible space for verb}%
+%<latexrelease>
+%<latexrelease>\@namedef{verbatim*}{\@verbatim\@sxverbatim}
+%<latexrelease>
+%<latexrelease>\let\asciispace            \@undefined
+%<latexrelease>\let\verbvisiblespace      \@undefined
+%<latexrelease>\let\@setupverbvisiblespace\@undefined
+%<latexrelease>\let\@verbvisiblespacebox  \@undefined
+%<latexrelease>
+%<latexrelease>\def\@sverb#1{%
+%<latexrelease>  \catcode`#1\active
+%<latexrelease>  \lccode`\~`#1%
+%<latexrelease>  \gdef\verb at balance@group{\verb at egroup
+%<latexrelease>     \@latex at error{\noexpand\verb illegal in command argument}\@ehc}%
+%<latexrelease>  \aftergroup\verb at balance@group
+%<latexrelease>  \lowercase{\let~\verb at egroup}}%
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+%    \end{macrocode}
+%
+%
+%
+%
 %  \begin{macro}{\@makeother}
 %    \begin{macrocode}
 \def\@makeother#1{\catcode`#112\relax}
@@ -921,29 +1073,22 @@
 %  \end{macro}
 %
 %
-% \begin{macro}{\@sverb}
-% \changes{v1.0j}{1994/05/10}{Slight change in error message text.}
-% Definitions of |\@sverb| and |\@verb| changed so |\verb+ foo+|
-% does not lose leading blanks when it comes at the beginning of a line.
-% Change made 24 May 89. Suggested by Frank Mittelbach and Rainer
-% Sch\"opf.
-%
-%    \begin{macrocode}
-\def\@sverb#1{%
-  \catcode`#1\active
-  \lccode`\~`#1%
-  \gdef\verb at balance@group{\verb at egroup
-     \@latex at error{\noexpand\verb illegal in command argument}\@ehc}%
-  \aftergroup\verb at balance@group
-  \lowercase{\let~\verb at egroup}}%
-%    \end{macrocode}
-% \end{macro}
 %
 % \begin{macro}{\@verb}
 %    \begin{macrocode}
 \def\@verb{\@vobeyspaces \frenchspacing \@sverb}
 %    \end{macrocode}
 % \end{macro}
+
+\begingroup
+\@makeother\ %
+
+\endgroup
+
+
+
+
+
 %
 %  \begin{macro}{\verbatim at nolig@list}
 % \changes{LaTeX2.09}{1993/09/03}
diff --git a/base/testfiles-TU/tu-github-0069.luatex.tlg b/base/testfiles-TU/tu-github-0069.luatex.tlg
new file mode 100644
index 0000000..9b2684a
--- /dev/null
+++ b/base/testfiles-TU/tu-github-0069.luatex.tlg
@@ -0,0 +1,80 @@
+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, direction TLT
+.\glue 16.0
+.\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, direction TLT
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 507.94574fil, direction TLT
+...\write-{}
+...\glue(\topskip) 5.69
+...\hbox(4.31+1.11111)x345.0, glue set 314.25fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\TU/lmtt/m/n/10 x
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 x
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -51
+...\glue 10.0 plus 4.0 minus 5.0
+...\glue 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 4.65889
+...\hbox(6.23+1.11111)x345.0, glue set 313.5fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x0.0, direction TLT
+.....\glue 0.0
+.....\glue 0.0
+.....\glue -5.0
+.....\hbox(0.0+0.0)x0.0, direction TLT
+.....\glue 5.0
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 A
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 B
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 C
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty 0
+...\penalty -51
+...\glue 10.0 plus 3.0 minus 5.0
+...\glue -1.11111
+...\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, direction TLT
+...\glue 0.0 plus 1.0fil
+...\TU/lmr/m/n/10 1
+...\glue 0.0 plus 1.0fil
+(tu-github-0069.aux)
diff --git a/base/testfiles/tlb-utf8-undec-utf8.lvt b/base/testfiles-TU/tu-github-0069.lvt
similarity index 52%
copy from base/testfiles/tlb-utf8-undec-utf8.lvt
copy to base/testfiles-TU/tu-github-0069.lvt
index 163a966..caca260 100644
--- a/base/testfiles/tlb-utf8-undec-utf8.lvt
+++ b/base/testfiles-TU/tu-github-0069.lvt
@@ -1,15 +1,20 @@
-\input{test2e}
-% undeclared UTF-8
 \documentclass{article}
-\usepackage[T1]{fontenc}
+
+%\usepackage{trace}
+
+\input{test2e}
+
+\showoutput
 
 \begin{document}
 
 \START
-\showoutput
 
-a\"O ``x'' \ss
+\verb*|x x|
 
-aÖ “x” ß
+%\traceon
+\begin{verbatim*}
+ A B C
+\end{verbatim*}
 
 \end{document}
diff --git a/base/testfiles-TU/tu-github-0069.xetex.tlg b/base/testfiles-TU/tu-github-0069.xetex.tlg
new file mode 100644
index 0000000..d2d65f8
--- /dev/null
+++ b/base/testfiles-TU/tu-github-0069.xetex.tlg
@@ -0,0 +1,71 @@
+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 507.94574fil
+...\write-{}
+...\glue(\topskip) 5.69
+...\hbox(4.31+1.11111)x345.0, glue set 314.25fil
+....\hbox(0.0+0.0)x15.0
+....\hbox(0.0+0.0)x0.0
+....\setlanguage1 (hyphenmin 2,3)
+....\TU/lmtt/m/n/10 x
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 x
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -51
+...\glue 10.0 plus 4.0 minus 5.0
+...\glue 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 4.65889
+...\hbox(6.23+1.11111)x345.0, glue set 313.5fil
+....\hbox(0.0+0.0)x0.0
+.....\glue 0.0
+.....\glue 0.0
+.....\glue -5.0
+.....\hbox(0.0+0.0)x0.0
+.....\glue 5.0
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 A
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 B
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 C
+....\hbox(0.0+0.0)x0.0
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty 0
+...\penalty -51
+...\glue 10.0 plus 3.0 minus 5.0
+...\glue -1.11111
+...\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
+(tu-github-0069.aux)
diff --git a/base/testfiles/github-0069.luatex.tlg b/base/testfiles/github-0069.luatex.tlg
new file mode 100644
index 0000000..cc3a194
--- /dev/null
+++ b/base/testfiles/github-0069.luatex.tlg
@@ -0,0 +1,80 @@
+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, direction TLT
+.\glue 16.0
+.\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, direction TLT
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 507.94574fil, direction TLT
+...\write-{}
+...\glue(\topskip) 5.69
+...\hbox(4.31+1.11111)x345.0, glue set 314.25fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\TU/lmtt/m/n/10 x
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 x
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -51
+...\glue 10.0 plus 4.0 minus 5.0
+...\glue 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 4.65889
+...\hbox(6.23+1.11111)x345.0, glue set 313.5fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x0.0, direction TLT
+.....\glue 0.0
+.....\glue 0.0
+.....\glue -5.0
+.....\hbox(0.0+0.0)x0.0, direction TLT
+.....\glue 5.0
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 A
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 B
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 C
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty 0
+...\penalty -51
+...\glue 10.0 plus 3.0 minus 5.0
+...\glue -1.11111
+...\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, direction TLT
+...\glue 0.0 plus 1.0fil
+...\TU/lmr/m/n/10 1
+...\glue 0.0 plus 1.0fil
+(github-0069.aux)
diff --git a/base/testfiles/tlb-utf8-undec-cp1252.lvt b/base/testfiles/github-0069.lvt
similarity index 57%
copy from base/testfiles/tlb-utf8-undec-cp1252.lvt
copy to base/testfiles/github-0069.lvt
index a87259a..87ec5f6 100644
--- a/base/testfiles/tlb-utf8-undec-cp1252.lvt
+++ b/base/testfiles/github-0069.lvt
@@ -1,15 +1,17 @@
-\input{test2e}
-% undeclared cp1252
 \documentclass{article}
-\usepackage[T1]{fontenc}
+
+\input{test2e}
+
+\showoutput
 
 \begin{document}
 
 \START
-\showoutput
 
-a\"O ``x'' \ss
+\verb*|x x|
 
-aÖ “x” ß
+\begin{verbatim*}
+ A B C
+\end{verbatim*}
 
 \end{document}
diff --git a/base/testfiles/github-0069.tlg b/base/testfiles/github-0069.tlg
new file mode 100644
index 0000000..826cdcd
--- /dev/null
+++ b/base/testfiles/github-0069.tlg
@@ -0,0 +1,59 @@
+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 507.94574fil
+...\write-{}
+...\glue(\topskip) 5.69446
+...\hbox(4.30554+1.11111)x345.0, glue set 314.25014fil
+....\hbox(0.0+0.0)x15.0
+....\hbox(0.0+0.0)x0.0
+....\setlanguage1 (hyphenmin 2,3)
+....\OT1/cmtt/m/n/10 x
+....\OT1/cmtt/m/n/10  
+....\OT1/cmtt/m/n/10 x
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -51
+...\glue 10.0 plus 4.0 minus 5.0
+...\glue 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 4.77777
+...\hbox(6.11111+1.11111)x345.0, glue set 313.50027fil
+....\hbox(0.0+0.0)x0.0
+.....\glue 0.0
+.....\glue 0.0
+.....\glue -5.0
+.....\hbox(0.0+0.0)x0.0
+.....\glue 5.0
+....\OT1/cmtt/m/n/10  
+....\OT1/cmtt/m/n/10 A
+....\OT1/cmtt/m/n/10  
+....\OT1/cmtt/m/n/10 B
+....\OT1/cmtt/m/n/10  
+....\OT1/cmtt/m/n/10 C
+....\hbox(0.0+0.0)x0.0
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty 0
+...\penalty -51
+...\glue 10.0 plus 3.0 minus 5.0
+...\glue -1.11111
+...\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
+(github-0069.aux)
diff --git a/base/testfiles/github-0069.xetex.tlg b/base/testfiles/github-0069.xetex.tlg
new file mode 100644
index 0000000..fa533c0
--- /dev/null
+++ b/base/testfiles/github-0069.xetex.tlg
@@ -0,0 +1,71 @@
+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 507.94574fil
+...\write-{}
+...\glue(\topskip) 5.69
+...\hbox(4.31+1.11111)x345.0, glue set 314.25fil
+....\hbox(0.0+0.0)x15.0
+....\hbox(0.0+0.0)x0.0
+....\setlanguage1 (hyphenmin 2,3)
+....\TU/lmtt/m/n/10 x
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 x
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -51
+...\glue 10.0 plus 4.0 minus 5.0
+...\glue 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 4.65889
+...\hbox(6.23+1.11111)x345.0, glue set 313.5fil
+....\hbox(0.0+0.0)x0.0
+.....\glue 0.0
+.....\glue 0.0
+.....\glue -5.0
+.....\hbox(0.0+0.0)x0.0
+.....\glue 5.0
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 A
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 B
+....\hbox(2.19444+1.11111)x5.25, glue set 0.00003fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmtt/m/n/10  
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmtt/m/n/10 C
+....\hbox(0.0+0.0)x0.0
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty 0
+...\penalty -51
+...\glue 10.0 plus 3.0 minus 5.0
+...\glue -1.11111
+...\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
+(github-0069.aux)





More information about the latex3-commits mailing list