ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Issue with ligatures before dashes
@ 2018-10-30 16:32 Rik Kabel
  2018-10-30 17:34 ` Wolfgang Schuster
  2018-10-30 17:58 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Rik Kabel @ 2018-10-30 16:32 UTC (permalink / raw)
  To: Mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1872 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1938 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issue with ligatures before dashes
  2018-10-30 16:32 Issue with ligatures before dashes Rik Kabel
@ 2018-10-30 17:34 ` Wolfgang Schuster
  2018-10-30 17:58 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2018-10-30 17:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Rik Kabel


[-- Attachment #1.1: Type: text/plain, Size: 2684 bytes --]

\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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3450 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issue with ligatures before dashes
  2018-10-30 16:32 Issue with ligatures before dashes Rik Kabel
  2018-10-30 17:34 ` Wolfgang Schuster
@ 2018-10-30 17:58 ` Hans Hagen
  2018-10-30 19:34   ` Rik Kabel
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2018-10-30 17:58 UTC (permalink / raw)
  To: Rik Kabel, ntg-context@ntg.nl >> mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issue with ligatures before dashes
  2018-10-30 17:58 ` Hans Hagen
@ 2018-10-30 19:34   ` Rik Kabel
  0 siblings, 0 replies; 4+ messages in thread
From: Rik Kabel @ 2018-10-30 19:34 UTC (permalink / raw)
  To: ntg-context@ntg.nl >> mailing list for ConTeXt users

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


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-30 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 16:32 Issue with ligatures before dashes Rik Kabel
2018-10-30 17:34 ` Wolfgang Schuster
2018-10-30 17:58 ` Hans Hagen
2018-10-30 19:34   ` Rik Kabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).