[latex3-commits] [latex2e-public] r1405 - version using \language to suppress hyphenation in verb(atim)
noreply at latex-project.org
noreply at latex-project.org
Fri Mar 10 13:20:09 CET 2017
Author: carlisle
Date: 2017-03-10 13:20:08 +0100 (Fri, 10 Mar 2017)
New Revision: 1405
Added:
trunk/base/testfiles/tlb-isodate-001.lvt
trunk/base/testfiles/tlb-isodate-001.tlg
trunk/base/testfiles/tlb-verb-001.lvt
trunk/base/testfiles/tlb-verb-001.tlg
trunk/base/testfiles/tlb-verb-002.lvt
trunk/base/testfiles/tlb-verb-002.tlg
Modified:
trunk/base/ltfinal.dtx
trunk/base/ltmiscen.dtx
trunk/base/source2e.tex
Log:
version using \language to suppress hyphenation in verb(atim)
Modified: trunk/base/ltfinal.dtx
===================================================================
--- trunk/base/ltfinal.dtx 2017-03-08 21:50:26 UTC (rev 1404)
+++ trunk/base/ltfinal.dtx 2017-03-10 12:20:08 UTC (rev 1405)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2016
+% Copyright 1993-2017
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltfinal.dtx}
- [2016/10/15 v2.0s LaTeX Kernel (Final Settings)]
+ [2017/03/09 v2.0t LaTeX Kernel (Final Settings)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltfinal.dtx}
@@ -495,8 +495,15 @@
\let\@addtofilelist\@gobble
% \end{macrocode}
%
+% \changes{v2.0t}{2017/03/09}{ensure \cs{\@nohyphenation} is defined.}
+% \begin{macrocode}
+\ifx\l at nohyphenation \@undefined
+ \newlanguage\l at nohyphenation
+\fi
+% \end{macrocode}
%
%
+%
% \subsection{Font loading}
% Fonts loaded during the formatting process might already have
% changed the |\font at submax| from |0pt| to something higher.
Modified: trunk/base/ltmiscen.dtx
===================================================================
--- trunk/base/ltmiscen.dtx 2017-03-08 21:50:26 UTC (rev 1404)
+++ trunk/base/ltmiscen.dtx 2017-03-10 12:20:08 UTC (rev 1405)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2014
+% Copyright 1993-2017
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltmiscen.dtx}
- [2014/09/29 v1.1l LaTeX Kernel (Misc. Environments)]
+ [2017/03/09 v1.1m LaTeX Kernel (Misc. Environments)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltmiscen.dtx}
@@ -609,6 +609,10 @@
% \changes{v1.0b}{1994/03/16}
% {Remove \cs{global}\cs{@inlabelfalse} again.}
% \begin{macrocode}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2017-05-01}{\@verbatim}%
+%<latexrelease> {Disable hyphenation in verbatim}%
\def\@verbatim{\trivlist \item\relax
\if at minipage\else\vskip\parskip\fi
\leftskip\@totalleftmargin\rightskip\z at skip
@@ -619,8 +623,10 @@
% from a surrounding list (the verbatim guru says).
% \changes{v0.9p}{1994/01/18}
% {Only add \cs{penalty} if in hmode}
+% Switch language when in vertical mode.
% \begin{macrocode}
\@@par
+ \language\l at nohyphenation
\@tempswafalse
\def\par{%
\if at tempswa
@@ -642,10 +648,10 @@
% so that \cs{dospecials} cannot reset the category code
% of characters handled by \cs{@noligs}.}
% \changes{v1.1h}{2000/01/07}{Disable hyphenation even if the font allows it.}
+% \changes{v1.1m}{2017-03-09}{Use \cs{language} not \cs{hyphenchar}}
% \begin{macrocode}
\let\do\@makeother \dospecials
\obeylines \verbatim at font \@noligs
- \hyphenchar\font\m at ne
% \end{macrocode}
% To avoid a breakpoint after the labels box, we remove the penalty
% put there by the list macros: another use of |\unpenalty|!
@@ -653,6 +659,29 @@
% \begin{macrocode}
\everypar \expandafter{\the\everypar \unpenalty}%
}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000-00-00}{\@verbatim}%
+%<latexrelease> {Disable hyphenation in verbatim}%
+%<latexrelease>\def\@verbatim{\trivlist \item\relax
+%<latexrelease> \if at minipage\else\vskip\parskip\fi
+%<latexrelease> \leftskip\@totalleftmargin\rightskip\z at skip
+%<latexrelease> \parindent\z@\parfillskip\@flushglue\parskip\z at skip
+%<latexrelease> \@@par
+%<latexrelease> \@tempswafalse
+%<latexrelease> \def\par{%
+%<latexrelease> \if at tempswa
+%<latexrelease> \leavevmode \null \@@par\penalty\interlinepenalty
+%<latexrelease> \else
+%<latexrelease> \@tempswatrue
+%<latexrelease> \ifhmode\@@par\penalty\interlinepenalty\fi
+%<latexrelease> \fi}%
+%<latexrelease> \let\do\@makeother \dospecials
+%<latexrelease> \obeylines \verbatim at font \@noligs
+%<latexrelease> \hyphenchar\font\m at ne
+%<latexrelease> \everypar \expandafter{\the\everypar \unpenalty}%
+%<latexrelease>}
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
@@ -731,12 +760,30 @@
% \cs{dospecials}
% so that \cs{dospecials} cannot reset the category code
% of characters handled by \cs{@noligs}.}
+% \changes{v1.1m}{2017/03/09}
+% {Use \cs{language} to stop hyphenation}
% \begin{macrocode}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{2017-05-01}{\verb}%
+%<latexrelease> {Disable hyphenation in verb}%
\def\verb{\relax\ifmmode\hbox\else\leavevmode\null\fi
\bgroup
\verb at eol@error \let\do\@makeother \dospecials
\verbatim at font\@noligs
+ \language\l at nohyphenation
\@ifstar\@sverb\@verb}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000-00-00}{\verb}%
+%<latexrelease> {Disable hyphenation in verb}%
+%<latexrelease>\def\verb{\relax\ifmmode\hbox\else\leavevmode\null\fi
+%<latexrelease> \bgroup
+%<latexrelease> \verb at eol@error \let\do\@makeother \dospecials
+%<latexrelease> \verbatim at font\@noligs
+%<latexrelease> \@ifstar\@sverb\@verb}
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
Modified: trunk/base/source2e.tex
===================================================================
--- trunk/base/source2e.tex 2017-03-08 21:50:26 UTC (rev 1404)
+++ trunk/base/source2e.tex 2017-03-10 12:20:08 UTC (rev 1405)
@@ -110,9 +110,11 @@
% The standard \changes command modified slightly to better cope with
% this multiple file document.
\makeatletter
+\def\@changes at iso@date#1/#2/#3/#4\space{#1\if\relax#2\relax\else-#2-#3\fi\space}
\def\changes@#1#2#3{%
\let\protect\@unexpandable at protect
- \edef\@tempa{\noexpand\glossary{#2\space\currentfile\space#1\levelchar
+ \edef\@tempa{\noexpand\glossary{\@changes at iso@date#2///\space
+ \currentfile\space#1\levelchar
\ifx\saved at macroname\@empty
\space
\actualchar
Added: trunk/base/testfiles/tlb-isodate-001.lvt
===================================================================
--- trunk/base/testfiles/tlb-isodate-001.lvt (rev 0)
+++ trunk/base/testfiles/tlb-isodate-001.lvt 2017-03-10 12:20:08 UTC (rev 1405)
@@ -0,0 +1,38 @@
+\input{test2e}
+
+\begin{filecontents}{tlb-isodate.sty}
+\ProvidesPackage{tlb-isodate}[version 1]
+\end{filecontents}
+
+
+\START
+
+\typeout{\@parse at version hello//00\@nil}
+\typeout{\@parse at version2017/02/02//00\@nil}
+\typeout{\@parse at version2017-02-02//00\@nil}
+\typeout{\@parse at version2017/03/02 a/b zzz//00\@nil}
+\typeout{\@parse at version2017-03-02 a/b zzz//00\@nil}
+\typeout{\@parse at version2017/04/02 a-b-x zzzz //00\@nil}
+\typeout{\@parse at version abx act as 0 //00\@nil}
+\typeout{\@parse at version a-bx Bad //00\@nil}
+\typeout{\@parse at version a-b-x Bad //00\@nil}
+\typeout{\@parse at version-//00\@nil}
+\typeout{\@parse at version--//00\@nil}
+\typeout{\@parse at version///00\@nil}
+\typeout{\@parse at version////00\@nil}
+
+
+\documentclass{article}[1017-02-02]
+
+\usepackage{tlb-isodate}
+
+\usepackage{makeidx}
+\usepackage{newlfont}[]
+\usepackage{graphpap}[1985-01-01]
+\usepackage{flafter}[2085-01-01]
+\usepackage{doc}[2085/01/01]
+\usepackage{ifthen}[1985/01/01]
+\usepackage{textcomp}[something]
+
+
+\END
Added: trunk/base/testfiles/tlb-isodate-001.tlg
===================================================================
--- trunk/base/testfiles/tlb-isodate-001.tlg (rev 0)
+++ trunk/base/testfiles/tlb-isodate-001.tlg 2017-03-10 12:20:08 UTC (rev 1405)
@@ -0,0 +1,193 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+00
+20170202
+20170202
+20170302
+20170302
+20170402
+00
+abx Bad -0
+abxB
+-0
+--
+/0
+//
+(article.cls
+(size10.clo
+)
+\c at part=\count79
+\c at section=\count80
+\c at subsection=\count81
+\c at subsubsection=\count82
+\c at paragraph=\count83
+\c at subparagraph=\count84
+\c at figure=\count85
+\c at table=\count86
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+) (tlb-isodate.sty
+Package: tlb-isodate version 1
+) (makeidx.sty
+) (newlfont.sty
+LaTeX Info: Redefining \em on input line ....
+(latexsym.sty
+\symlasy=\mathgroup4
+LaTeX Font Info: Overwriting symbol font `lasy' in version `bold'
+(Font) U/lasy/m/n --> U/lasy/b/n on input line ....
+)) (graphpap.sty
+) (flafter.sty
+)
+LaTeX Warning: You have requested, on input line ..., version
+ `2085-01-01' of package flafter,
+ but only version
+ is available.
+(doc.sty
+\c at StandardModuleDepth=\count87
+\guard at level=\count88
+\MacrocodeTopsep=\skip43
+\MacroIndent=\dimen103
+\macro at cnt=\count89
+\MacroTopsep=\skip44
+\index at excludelist=\toks14
+ (multicol.sty
+\c at tracingmulticols=\count90
+\mult at box=\box26
+\multicol at leftmargin=\dimen104
+\c at unbalance=\count91
+\c at collectmore=\count92
+\doublecol at number=\count93
+\multicoltolerance=\count94
+\multicolpretolerance=\count95
+\full at width=\dimen105
+\page at free=\dimen106
+\premulticols=\dimen107
+\postmulticols=\dimen108
+\multicolsep=\skip45
+\multicolbaselineskip=\skip46
+\partial at page=\box27
+\last at line=\box28
+\maxbalancingoverflow=\dimen109
+\mult at rightbox=\box29
+\mult at grightbox=\box30
+\mult at gfirstbox=\box31
+\mult at firstbox=\box32
+\@tempa=\box33
+\@tempa=\box34
+\@tempa=\box35
+\@tempa=\box36
+\@tempa=\box37
+\@tempa=\box38
+\@tempa=\box39
+\@tempa=\box40
+\@tempa=\box41
+\@tempa=\box42
+\@tempa=\box43
+\@tempa=\box44
+\@tempa=\box45
+\@tempa=\box46
+\@tempa=\box47
+\@tempa=\box48
+\@tempa=\box49
+\c at columnbadness=\count96
+\c at finalcolumnbadness=\count97
+\last at try=\dimen110
+\multicolovershoot=\dimen111
+\multicolundershoot=\dimen112
+\mult at nat@firstbox=\box50
+\colbreak at box=\box51
+\mc at col@check at num=\count98
+)
+\IndexMin=\dimen113
+\c at IndexColumns=\count99
+\GlossaryMin=\dimen114
+\c at GlossaryColumns=\count100
+\l at nohyphenation=\language1
+\check at sum=\count101
+\bslash at cnt=\count102
+\wrong at table=\toks15
+\c at CodelineNo=\count103
+)
+LaTeX Warning: You have requested, on input line ..., version
+ but only version
+ is available.
+(ifthen.sty
+) (textcomp.sty
+Package textcomp Info: Sub-encoding information:
+(textcomp) 5 = only ISO-Adobe without \textcurrency
+(textcomp) 4 = 5 + \texteuro
+(textcomp) 3 = 4 + \textohm
+(textcomp) 2 = 3 + \textestimated + \textcurrency
+(textcomp) 1 = TS1 - \textcircled - \t
+(textcomp) 0 = TS1 (full)
+(textcomp) Font families with sub-encoding setting implement
+(textcomp) only a restricted character set as indicated.
+(textcomp) Family '?' is the default used for unknown fonts.
+(textcomp) See the documentation for details.
+Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line ....
+ (ts1enc.def
+)
+LaTeX Info: Redefining \oldstylenums on input line ....
+Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting put sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting lmr sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting lmdh sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting lmss sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting lmssq sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting lmvtt sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting lmtt sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qhv sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qag sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qbk sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qcr sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qcs sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qpl sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qtm sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qzc sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting qhvc sub-encoding to TS1/0 on input line ....
+Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line ....
+Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line ....
+Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line ....
+Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line ....
+)
Added: trunk/base/testfiles/tlb-verb-001.lvt
===================================================================
--- trunk/base/testfiles/tlb-verb-001.lvt (rev 0)
+++ trunk/base/testfiles/tlb-verb-001.lvt 2017-03-10 12:20:08 UTC (rev 1405)
@@ -0,0 +1,44 @@
+\documentclass{article}
+
+\input{test2e}
+
+% check no hyphenation in verb
+% \language setting added in 2017 to address this.
+
+\parindent0pt
+\parskip10pt
+\textwidth10pt
+
+\makeatletter
+\def\verbatim at font{\normalfont\rmfamily}
+
+
+\showboxdepth1
+\showboxbreadth100
+
+\begin{document}
+
+
+
+\START
+
+
+
+1 elephant tortoise
+
+
+2 \verb|elephant tortoise|
+
+
+3 \verb|elephant tortoise|
+
+
+\ifx\hyphenationbounds\undefined\else
+\hyphenationbounds1
+4 \verb|elephant tortoise|
+
+\fi
+
+\END
+
+\end{document}
\ No newline at end of file
Added: trunk/base/testfiles/tlb-verb-001.tlg
===================================================================
--- trunk/base/testfiles/tlb-verb-001.tlg (rev 0)
+++ trunk/base/testfiles/tlb-verb-001.tlg 2017-03-10 12:20:08 UTC (rev 1405)
@@ -0,0 +1,104 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+Overfull \hbox (12.22223pt too wide) in paragraph at lines 27--28
+[]\OT1/cmr/m/n/10 1 ele-
+\hbox(6.94444+0.0)x10.0, glue set - 1.0
+.\hbox(0.0+0.0)x0.0
+.\OT1/cmr/m/n/10 1
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\OT1/cmr/m/n/10 e
+.\OT1/cmr/m/n/10 l
+.\OT1/cmr/m/n/10 e
+.\discretionary
+.\OT1/cmr/m/n/10 -
+.\glue(\rightskip) 0.0
+Overfull \hbox (15.27785pt too wide) in paragraph at lines 27--28
+\OT1/cmr/m/n/10 phant
+\hbox(6.94444+1.94444)x10.0
+.\OT1/cmr/m/n/10 p
+.\OT1/cmr/m/n/10 h
+.\OT1/cmr/m/n/10 a
+.\OT1/cmr/m/n/10 n
+.\kern-0.27779
+.\OT1/cmr/m/n/10 t
+.\glue(\rightskip) 0.0
+Overfull \hbox (6.13892pt too wide) in paragraph at lines 27--28
+\OT1/cmr/m/n/10 tor-
+\hbox(6.15079+0.0)x10.0
+.\OT1/cmr/m/n/10 t
+.\OT1/cmr/m/n/10 o
+.\OT1/cmr/m/n/10 r
+.\discretionary
+.\OT1/cmr/m/n/10 -
+.\glue(\rightskip) 0.0
+Overfull \hbox (10.05559pt too wide) in paragraph at lines 27--28
+\OT1/cmr/m/n/10 toise
+\hbox(6.67859+0.0)x10.0
+.\OT1/cmr/m/n/10 t
+.\OT1/cmr/m/n/10 o
+.\OT1/cmr/m/n/10 i
+.\OT1/cmr/m/n/10 s
+.\OT1/cmr/m/n/10 e
+.\penalty 10000
+.\glue(\parfillskip) 0.0 plus 1.0fil
+.\glue(\rightskip) 0.0
+Overfull \hbox (69.25014pt too wide) in paragraph at lines 30--31
+[]\OT1/cmr/m/n/10 2 [][]elephant tortoise
+\hbox(6.94444+1.94444)x10.0, glue set - 1.0
+.\hbox(0.0+0.0)x0.0
+.\OT1/cmr/m/n/10 2
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\hbox(0.0+0.0)x0.0
+.\setlanguage200 (hyphenmin 2,3)
+.\OT1/cmr/m/n/10 e
+.\OT1/cmr/m/n/10 l
+.\OT1/cmr/m/n/10 e
+.\OT1/cmr/m/n/10 p
+.\OT1/cmr/m/n/10 h
+.\OT1/cmr/m/n/10 a
+.\OT1/cmr/m/n/10 n
+.\kern-0.27779
+.\OT1/cmr/m/n/10 t
+.\penalty 10000
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\OT1/cmr/m/n/10 t
+.\OT1/cmr/m/n/10 o
+.\OT1/cmr/m/n/10 r
+.\OT1/cmr/m/n/10 t
+.\OT1/cmr/m/n/10 o
+.\OT1/cmr/m/n/10 i
+.\OT1/cmr/m/n/10 s
+.\OT1/cmr/m/n/10 e
+.\penalty 10000
+.\glue(\parfillskip) 0.0 plus 1.0fil
+.\glue(\rightskip) 0.0
+Overfull \hbox (69.25014pt too wide) in paragraph at lines 33--34
+[]\OT1/cmr/m/n/10 3 [][]elephant tortoise
+\hbox(6.94444+1.94444)x10.0, glue set - 1.0
+.\hbox(0.0+0.0)x0.0
+.\OT1/cmr/m/n/10 3
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\hbox(0.0+0.0)x0.0
+.\setlanguage200 (hyphenmin 2,3)
+.\OT1/cmr/m/n/10 e
+.\OT1/cmr/m/n/10 l
+.\OT1/cmr/m/n/10 e
+.\OT1/cmr/m/n/10 p
+.\OT1/cmr/m/n/10 h
+.\OT1/cmr/m/n/10 a
+.\OT1/cmr/m/n/10 n
+.\kern-0.27779
+.\OT1/cmr/m/n/10 t
+.\penalty 10000
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\OT1/cmr/m/n/10 t
+.\OT1/cmr/m/n/10 o
+.\OT1/cmr/m/n/10 r
+.\OT1/cmr/m/n/10 t
+.\OT1/cmr/m/n/10 o
+.\OT1/cmr/m/n/10 i
+.\OT1/cmr/m/n/10 s
+.\OT1/cmr/m/n/10 e
+.\penalty 10000
+.\glue(\parfillskip) 0.0 plus 1.0fil
+.\glue(\rightskip) 0.0
Added: trunk/base/testfiles/tlb-verb-002.lvt
===================================================================
--- trunk/base/testfiles/tlb-verb-002.lvt (rev 0)
+++ trunk/base/testfiles/tlb-verb-002.lvt 2017-03-10 12:20:08 UTC (rev 1405)
@@ -0,0 +1,22 @@
+\documentclass{article}
+\input{test2e}
+
+\makeatletter
+\def\verbatim at font{\normalfont}
+\makeatother
+
+% check that hyphenchar does not leak from verbatim
+\begin{document}
+
+\START
+
+\showthe\hyphenchar\font
+
+\begin{verbatim}
+\end{verbatim}
+
+\showthe\hyphenchar\font
+
+\END
+
+\end{document}
Added: trunk/base/testfiles/tlb-verb-002.tlg
===================================================================
--- trunk/base/testfiles/tlb-verb-002.tlg (rev 0)
+++ trunk/base/testfiles/tlb-verb-002.tlg 2017-03-10 12:20:08 UTC (rev 1405)
@@ -0,0 +1,6 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+> 45.
+l. ...\showthe\hyphenchar\font
+> 45.
+l. ...\showthe\hyphenchar\font
More information about the latex3-commits
mailing list