\setuppapersize[A7]

\starttext

fi fl ffi ffl

fi-fi fl-fl ffi-ffi ffl-ffl

\setbreakpoints[compound]

fi-fi fl-fl ffi-ffi ffl-ffl

\stoptext

Wolfgang


Rik Kabel schrieb am 30.10.18 um 17:32:

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


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________