[luatex] \hyphenpenalty not working

Élie Roux elie.roux at telecom-bretagne.eu
Tue Jul 9 09:18:33 CEST 2013


> afaik (ex) hyphenpenalty is only applied with automatic discretionaries
> (the ones inserted by the hyphenation pass)

This doesn't seem the be the case with the attached example, it clearly 
shows that \hyphenpenalty is applied to explicit \discretionaries too...

Let's put it another way: how can I make LuaTeX behave the same way as 
pdfTeX on the last line of the attached example? I really need it for a 
software, and I don't believe it's possible by patchin nodes, isn't it?

Thank you,
-- 
Elie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyphenpenalty.tex
Type: text/x-tex
Size: 458 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130709/51150bed/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyphenpenalty-luatex.pdf
Type: application/x-pdf
Size: 10852 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130709/51150bed/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyphenpenalty-pdftex.pdf
Type: application/x-pdf
Size: 10954 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130709/51150bed/attachment-0005.bin>


More information about the luatex mailing list