[luatex] luatex crash when \hyphenation contains a discretionary

Hans Hagen j.hagen at xs4all.nl
Sat May 19 18:59:08 CEST 2018


On 5/19/2018 6:01 PM, Ulrike Fischer wrote:
> Am Mon, 7 May 2018 12:38:23 +0200 schrieb Ulrike Fischer:
> 
>> When I compile this document with context + luatex 1.08 luatex
>> crashes:
> 
> [...]
> 
> The crash no longer happens with a luatex 1.09.
> 
> But now I wonder, is there/should there be a difference between
> 
> \hyphenation{mul-ti{-}{}{-}word{-}{}{-}boun-daries}
> 
> and
> 
> \hyphenation{mul-ti=word=boun-daries}
> 
> ?  In my tests they give the same output.
if you input

multi-word-boundaries

that becomes

multi<disc>word<disc>boundaries

and when matching the = is just a skip operation so we jump over the 
<disc> and it stays

as {-}{}{-} injects a similar disc indeed you get the same

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list