13 Apr
2010
13 Apr
'10
8:20 p.m.
Patrick Gundlach wrote:
Hi (Taco),
the function tex.linebreak() is mentioned in the manual, but the defaults are not. Are the ones in the tracker item #340 still valid?
Could it be that the default value for linepenalty is not taken into account? That means: if you set \linepenalty=0 from TeX, tex.linebreak() behaves differently.
It is basing itself on the current TeX state at that point in time (at least, that is what it should do). You can look up tex_run_linebreak() in ltexlib.c, it should be easy to follow.