[Dev-luatex] defaults for tex.linebreak()?

Taco Hoekwater taco at elvenkind.com
Tue Apr 13 22:20:31 CEST 2010


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.


More information about the dev-luatex mailing list