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

Heiko Oberdiek oberdiek at uni-freiburg.de
Tue Oct 17 22:44:18 CEST 2006


On Tue, Oct 17, 2006 at 05:18:23PM +0100, Philip TAYLOR wrote:

> > \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.

At least a smaller example (without different
spacefactors -- \discretionary does not change the spacefactor):

\tracingparagraphs=1
\nopagenumbers
\parindent=0pt
\setbox0=\hbox{C}
\hsize=\wd0

C\par

\discretionary{AA}{BB}{C}\par

\bye

Or

\tracingparagraphs=1
\nopagenumbers
\parindent=0pt
\setbox0=\hbox{ff}
\hsize=\wd0

ff\par

\discretionary{f-}{f}{ff}\par

\bye

Also \pretolerance=10000 doesn't help.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the ntg-pdftex mailing list