[NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

Hans Hagen j.hagen at xs4all.nl
Sat Feb 23 17:11:12 CET 2019


On 2/23/2019 4:30 PM, Ulrike Fischer wrote:
> Am Sat, 23 Feb 2019 15:55:53 +0100 schrieb Hans Hagen:
> 
>>> As reported on the dev-luatex list --- is converted to an en-dash
>>> (instead of em-dash) if there are no spaces around the ---.
> 
>> in context we set:
>> \automatichyphenmode=1
> 
> This solves the problem and after some pondering over the
> documentation it also looks like a sensible default. But why does
> \automatichyphenmode=0 suddenly eat a hyphen?

because <disc -> followed by -- is pretty obscure ... a replace could be 
seen as --- and when hyphenated as - -- and such ... it's about time 
that texies start using the proper unicode symbols instead of these 
funny ligatures

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 ntg-context mailing list