Issue with ligatures before dashes
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
\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 ___________________________________________________________________________________
On 10/30/2018 5:32 PM, Rik Kabel wrote:
In one 300-page book, this hits a few times (off-course, oft-repeated,...). Not the worst problem, but clearly a regression. i think i know what happens ... fwiw, it's not related to the engine (nothing really changes there nor will change but 1.07 probably is equivalent to a by now way older context version) ... it all has to do with some heuristics wrr to discretionary interference ...
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 -----------------------------------------------------------------
On 10/30/2018 13:58, Hans Hagen wrote:
On 10/30/2018 5:32 PM, Rik Kabel wrote:
In one 300-page book, this hits a few times (off-course, oft-repeated,...). Not the worst problem, but clearly a regression. i think i know what happens ... fwiw, it's not related to the engine (nothing really changes there nor will change but 1.07 probably is equivalent to a by now way older context version) ... it all has to do with some heuristics wrr to discretionary interference ...
Hans
So not an regression, but an un-caught side-effect of other changes. In any case, 1.07 will be with us for a while -- it is part of TL18, so probably part of some distros. -- Rik
participants (3)
-
Hans Hagen
-
Rik Kabel
-
Wolfgang Schuster