[NTG-context] Issue with ligatures before dashes

Rik Kabel context at rik.users.panix.com
Tue Oct 30 17:32:29 CET 2018


This was reported on the LuaLatex list yesterday, and I extended the 
example to include ConTeXt compounds. From my test folder:

    %% No ligatures before dashes! Reported as: “ligatures before
    %%   dashes not working with LuaLaTeX 1.07.0” on comp.tex.luatex,
    %%   2018-10-29 by Toni Dietze. This is also a problem with ConTeXt,
    %%   and is a problem with compounds as well. The problem is worse
    %%   with 1.09.0: With 1.07.0 (6686) it fails with the bare hyphen
    %%   but had no problem with en-dash, em-dash, and the compounds
    %%   shown below. With luatex 1.09.0 (6930) it fails with bare
    %%   hyphen and all shown compounds except |=|.

    \starttext
       \setupTABLE[c][1,3][align=left]
       \setupTABLE[c][2,4][loffset=1em,roffset=1em]
       \setupTABLE[r][each][offset=0pt]
       \bTABLE[frame=off]
        \bTABLEhead
         \bTR[align=center,bottomframe=on]
           \bTH[nc=2] Non-compound\eTH
           \bTH[nc=2] Compound\eTH
         \eTR
        \eTABLEhead
        \bTABLEbody
         \bTR
           \bTD -     \eTD \bTD off-course\eTD
           \bTD \|-\| \eTD \bTD off|-|course\eTD
         \eTR
         \bTR
           \bTD –     \eTD \bTD off–course\eTD
           \bTD \|–\| \eTD \bTD off|–|course\eTD
         \eTR
         \bTR
           \bTD —     \eTD \bTD off—course\eTD
           \bTD \|—\| \eTD \bTD off|—|course\eTD
         \eTR
         \bTR
           \bTD       \eTD \bTD                  \eTD
           \bTD \|_\| \eTD \bTD off|_|course\eTD
         \eTR
         \bTR
           \bTD       \eTD \bTD                  \eTD
           \bTD \|=\| \eTD \bTD off|=|course\eTD
         \eTR
        \eTABLEbody
       \eTABLE
    \stoptext

In one 300-page book, this hits a few times (off-course, 
oft-repeated,...). Not the worst problem, but clearly a regression.

-- 
Rik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20181030/5be17b88/attachment.html>


More information about the ntg-context mailing list