[latex3-commits] [latex2e-public] r1422 - new/old \- definition
noreply at latex-project.org
noreply at latex-project.org
Mon Mar 13 21:06:50 CET 2017
Author: carlisle
Date: 2017-03-13 21:06:49 +0100 (Mon, 13 Mar 2017)
New Revision: 1422
Added:
trunk/base/testfiles/tlb3855.luatex.tlg
trunk/base/testfiles/tlb3855.lvt
trunk/base/testfiles/tlb3855.tlg
Modified:
trunk/base/changes.txt
trunk/base/ltdefns.dtx
trunk/doc/ltnews27.tex
Log:
new/old \- definition
Modified: trunk/base/changes.txt
===================================================================
--- trunk/base/changes.txt 2017-03-13 18:18:07 UTC (rev 1421)
+++ trunk/base/changes.txt 2017-03-13 20:06:49 UTC (rev 1422)
@@ -9,6 +9,10 @@
#########################
+2017-03-13 David Carlisle <latex-bugs at latex-project.org>
+
+ * ltdefns.dtx: Update the definition of \- pr/3855
+
2017-03-10 David Carlisle <latex-bugs at latex-project.org>
* ltoutput.dtx: Reset \language in Output Routine
Modified: trunk/base/ltdefns.dtx
===================================================================
--- trunk/base/ltdefns.dtx 2017-03-13 18:18:07 UTC (rev 1421)
+++ trunk/base/ltdefns.dtx 2017-03-13 20:06:49 UTC (rev 1422)
@@ -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.
%
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltdefns.dtx}
- [2015/02/21 v1.4b LaTeX Kernel (definition commands)]
+ [2017/03/13 v1.5a LaTeX Kernel (definition commands)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltdefns.dtx}
@@ -144,49 +144,11 @@
% \end{macro}
%
% \begin{macro}{\@@hyph}
-% \begin{macro}{\-}
-% \changes{1.2x}{1995/12/13}{Documentation changed.}
-% The following comment was added when these commands were first set
-% up, 19 April 1986:
-% the |\-| command is redefined to allow it to work in the |\ttfamily|
-% type style, where automatic hyphenation is suppressed by setting
-% |\hyphenchar| to~$-1$. The original primitive \TeX{} definition is
-% saved as |\@@hyph| just in case anyone needs it.
-%
-% There is a need for a robust command for a discretionary hyphen
-% since its exact representation depends on the glyphs available in
-% the current font. For example, with suitable fonts and the
-% \texttt{T1} font encoding it is possible to use hanging hyphens.
-%
-% A suitable robust definition that allows for many possible types of
-% font and encoding may be as follows:
-% \begin{verbatim}
-% \DeclareRobustCommand {\-}{%
-% \discretionary {%
-% \char \ifnum\hyphenchar\font<\z@
-% \defaulthyphenchar
-% \else
-% \hyphenchar\font
-% \fi
-% }{}{}%
-% }
-% \end{verbatim}
-%
-% The redefinition (via |\let|) of |\-| within tabbing also makes the
-% use of a robust command advisable since then any redefinition
-% of |\-| via |\DeclareRobustCommand| will not cause a conflict.
-%
-% Therefore, macro writers should be hereby warned that
-% these internals will probably change! It is likely that a future
-% release of \LaTeX{} will make |\-| effectively an encoding specific
-% text command.
-%
+% Save original primitive definition.
% \begin{macrocode}
-\let\@@hyph=\- % Save original primitive definition
-\def\-{\discretionary{-}{}{}}
+\let\@@hyph=\-
% \end{macrocode}
% \end{macro}
-% \end{macro}
%
% \begin{macro}{\@dischyph}
% \changes{v1.0g}{1994/04/12}
@@ -1445,10 +1407,72 @@
% \end{macrocode}
% \end{macro}
%
+% \section{Discretionary Hyphenation}
+% \begin{macro}{\-}
+% \changes{1.2x}{1995/12/13}{Documentation changed.}
+% \changes{v1.5a}{2017/03/13}{Define \cs{-} in terms of \cs{hyphenchar}}
+% Moved here to be after the definition of |\DeclareRobustCommand|.
+%
+% The primitive |\-| command adds a discretionary hyphen using the
+% current font's |\hyphenchar|. Monospace fonts are usually declared
+% with |\hyphenchar| set to $-1$ to suppress hyhenation.
+%
+% \LaTeX, from \LaTeX2.09 in 1986 defined |\-| by
+% \begin{verbatim}
+% \def\-{\discretionary{-}{}{}}
+% \end{verbatim}
+% The following comment was added when these commands were first set
+% up, 19 April 1986:
+% \begin{quote}
+% the |\-| command is redefined to allow it to work in the |\ttfamily|
+% type style, where automatic hyphenation is suppressed by setting
+% |\hyphenchar| to~$-1$. The original primitive \TeX{} definition is
+% saved as |\@@hyph| just in case anyone needs it.
+% \end{quote}
+%
+% \LaTeXe, between 1993 and 2017, had a comment at this point
+% saying that the definition ``would probably change'' because
+% the definition always uses |-|. The definition used below
+% was given in comments at this point during time.
+%
+% In 2017 we finally enabled this definition by default, with the
+% older \LaTeX\ definition accessible via \textsf{latexrelease}
+% as usual.
+%
% \begin{macrocode}
%</2ekernel>
+%<latexrelease>\IncludeInRelease{2017/05/01}{\-}{Use \hyphenchar in \-}%
% \end{macrocode}
+% Temporary definition of |\@latex at info|, final definition is later.
+% \begin{macrocode}
+%<*2ekernel>
+\def\@latex at info#1{}
+%</2ekernel>
+% \end{macrocode}
%
+% \begin{macrocode}
+%<*2ekernel|latexrelease>
+\DeclareRobustCommand{\-}{%
+ \discretionary{%
+ \char \ifnum\hyphenchar\font<\z@
+ \defaulthyphenchar
+ \else
+ \hyphenchar\font
+ \fi
+ }{}{}%
+}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}{\-}{Use \hyphenchar in \-}%
+%<latexrelease>\def\-{\discretionary{-}{}{}}
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+%</2ekernel>
+% \end{macrocode}
%
+%
% \Finale
%
Added: trunk/base/testfiles/tlb3855.luatex.tlg
===================================================================
--- trunk/base/testfiles/tlb3855.luatex.tlg (rev 0)
+++ trunk/base/testfiles/tlb3855.luatex.tlg 2017-03-13 20:06:49 UTC (rev 1422)
@@ -0,0 +1,480 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+> \box0=
+\hbox(49.08334+44.08333)x276.00105, direction TLT
+.\mathon
+.\vbox(49.08334+44.08333)x276.00105, direction TLT
+..\hbox(6.94444+1.94444)x276.00105, glue set 1.81674, direction TLT
+...\localpar
+....\localinterlinepenalty=0
+....\localbrokenpenalty=0
+....\localleftbox=null
+....\localrightbox=null
+...\hbox(0.0+0.0)x0.0, direction TLT
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 -
+...\discretionary (penalty 50)
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+1.94444)x276.00105, glue set 0.25337, direction TLT
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 -
+...\discretionary (penalty 50)
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+0.0)x276.00105, glue set 238.22318fil, direction TLT
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+..\glue(\parskip) 0.0
+..\glue(\baselineskip) 5.05556
+..\hbox(6.94444+1.94444)x276.00105, glue set 1.81674, direction TLT
+...\localpar
+....\localinterlinepenalty=0
+....\localbrokenpenalty=0
+....\localleftbox=null
+....\localrightbox=null
+...\hbox(0.0+0.0)x0.0, direction TLT
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 -
+...\discretionary (penalty 50)
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+1.94444)x276.00105, glue set 0.25337, direction TLT
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 -
+...\discretionary (penalty 50)
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+0.0)x276.00105, glue set 238.22318fil, direction TLT
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+..\glue(\parskip) 0.0
+..\glue(\baselineskip) 5.88889
+..\hbox(6.11111+2.22223)x276.00105, direction TLT
+...\localpar
+....\localinterlinepenalty=0
+....\localbrokenpenalty=0
+....\localleftbox=null
+....\localrightbox=null
+...\hbox(0.0+0.0)x0.0, direction TLT
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue(\spaceskip) 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue(\spaceskip) 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue(\spaceskip) 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue(\spaceskip) 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 -
+...\discretionary (penalty 50)
+...\glue(\rightskip) 0.0
+..\penalty 400
+..\glue(\baselineskip) 3.66666
+..\hbox(6.11111+2.22223)x276.00105, glue set 160.50206fil, direction TLT
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\discretionary (penalty 50)
+....< \OT1/cmtt/m/n/10 -
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\discretionary (penalty 50)
+....< \OT1/cmtt/m/n/10 -
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\discretionary (penalty 50)
+....< \OT1/cmtt/m/n/10 -
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue(\spaceskip) 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\kern 0.0
+...\glue 5.24995
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+.\mathoff
+! OK.
+l. ...\showbox0
+[1
+] (.aux)
Added: trunk/base/testfiles/tlb3855.lvt
===================================================================
--- trunk/base/testfiles/tlb3855.lvt (rev 0)
+++ trunk/base/testfiles/tlb3855.lvt 2017-03-13 20:06:49 UTC (rev 1422)
@@ -0,0 +1,29 @@
+\documentclass{article}
+
+\input{test2e}
+
+% test that \- is affected by \hyphenchar
+
+\begin{document}
+
+\setbox0\hbox{\begin{minipage}{0.8\textwidth}
+hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyp\-henation
+
+
+\hyphenchar\font`\+
+
+hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyphenation hyp\-henation
+
+\texttt{hyphenation hyphenation hyphenation hyphenation hy\-ph\-en\-at\-ion hyphenation }
+
+
+
+
+\end{minipage}}
+
+\copy0
+
+\START
+\showbox0
+
+\end{document}
\ No newline at end of file
Added: trunk/base/testfiles/tlb3855.tlg
===================================================================
--- trunk/base/testfiles/tlb3855.tlg (rev 0)
+++ trunk/base/testfiles/tlb3855.tlg 2017-03-13 20:06:49 UTC (rev 1422)
@@ -0,0 +1,453 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+> \box0=
+\hbox(49.08334+44.08333)x276.00105
+.\mathon
+.\vbox(49.08334+44.08333)x276.00105
+..\hbox(6.94444+1.94444)x276.00105, glue set 1.81674
+...\hbox(0.0+0.0)x0.0
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+...\OT1/cmr/m/n/10 -
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+1.94444)x276.00105, glue set 0.25337
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 -
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\OT1/cmr/m/n/10 p
+...\discretionary
+...\OT1/cmr/m/n/10 -
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+0.0)x276.00105, glue set 238.22318fil
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+..\glue(\parskip) 0.0
+..\glue(\baselineskip) 5.05556
+..\hbox(6.94444+1.94444)x276.00105, glue set 1.15007
+...\hbox(0.0+0.0)x0.0
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+...\OT1/cmr/m/n/10 +
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+1.94444)x276.00105, glue set - 0.41994
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 p
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\discretionary
+....\OT1/cmr/m/n/10 +
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\glue 3.33333 plus 1.66666 minus 1.11111
+...\OT1/cmr/m/n/10 h
+...\kern-0.27779
+...\OT1/cmr/m/n/10 y
+...\OT1/cmr/m/n/10 p
+...\discretionary
+...\OT1/cmr/m/n/10 +
+...\glue(\rightskip) 0.0
+..\penalty 250
+..\glue(\baselineskip) 3.11111
+..\hbox(6.94444+0.0)x276.00105, glue set 238.22318fil
+...\OT1/cmr/m/n/10 h
+...\OT1/cmr/m/n/10 e
+...\OT1/cmr/m/n/10 n
+...\OT1/cmr/m/n/10 a
+...\OT1/cmr/m/n/10 t
+...\OT1/cmr/m/n/10 i
+...\OT1/cmr/m/n/10 o
+...\OT1/cmr/m/n/10 n
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+..\glue(\parskip) 0.0
+..\glue(\baselineskip) 5.88889
+..\hbox(6.11111+2.22223)x276.00105
+...\hbox(0.0+0.0)x0.0
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\discretionary
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\discretionary
+...\glue(\rightskip) 0.0
+..\penalty 400
+..\glue(\baselineskip) 3.66666
+..\hbox(6.11111+2.22223)x276.00105, glue set 171.00197fil
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\discretionary
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\discretionary
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\glue 5.24995
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 y
+...\OT1/cmtt/m/n/10 p
+...\OT1/cmtt/m/n/10 h
+...\OT1/cmtt/m/n/10 e
+...\OT1/cmtt/m/n/10 n
+...\OT1/cmtt/m/n/10 a
+...\OT1/cmtt/m/n/10 t
+...\OT1/cmtt/m/n/10 i
+...\OT1/cmtt/m/n/10 o
+...\OT1/cmtt/m/n/10 n
+...\kern 0.0
+...\glue 5.24995
+...\penalty 10000
+...\glue(\parfillskip) 0.0 plus 1.0fil
+...\glue(\rightskip) 0.0
+.\mathoff
+! OK.
+l. ...\showbox0
+[1
+] (.aux)
Modified: trunk/doc/ltnews27.tex
===================================================================
--- trunk/doc/ltnews27.tex 2017-03-13 18:18:07 UTC (rev 1421)
+++ trunk/doc/ltnews27.tex 2017-03-13 20:06:49 UTC (rev 1422)
@@ -100,6 +100,14 @@
language used in the output routine to a default language as described
below.
+\section{Discretionary Hyphenation}
+The \LaTeX\ definition of \verb|\-| has been adjusted so that it will
+insert the current font's \verb|\hyphenchar|, as would the
+\TeX-primitive definition. A comment in \textsf{source2e} has given
+this new definition since first releases of \LaTeXe, and in this
+release we finally acted upon this comment. Previously \verb|\-|
+always inserted a \texttt{-} at a break point even if a different
+character would be used for automatic hyphenation with the current font.
\section{Default Document Language}
More information about the latex3-commits
mailing list