[NTG-pdftex] why is TeX breaking the line? (updated)

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Tue Oct 17 18:18:23 CEST 2006


An early Pascal reference implementation of TeX (V3.1415b)
demonstrates exactly the same behaviour, and the behaviour
can be demonstrated using a simpler example :


> \vbox
> \bgroup \hsize=100 pt
> \noindent ............................ . {C} z z z\par
> \noindent ............................ . \discretionary {AAAAAA}{BBBBBBBBB}{C} z z z\par
> \egroup
> \end

I am as much at a loss as Taco to explain this.

Philip Taylor
--------
Taco Hoekwater wrote:
> 
> Oops, sorry, I sent the wrong file.
> 
> Taco
> 
> 
> ------------------------------------------------------------------------
> 
> %\hyphenpenalty=-1000
> %\exhyphenpenalty=-1000
> 
> \vbox{\hsize=100pt
> \hrule width\hsize
> \noindent....................................\par
> \noindent............................... \discretionary{A}{B}{CCCCCC}\par
> \noindent............................ . \discretionary{AAAAAA}{BBBBBBBBB}{C} z z z\par
> \noindent............................ . C z z z\par
> }
> \end


More information about the ntg-pdftex mailing list