* Breaking ligatures
@ 2013-03-20 20:12 Idris Samawi Hamid ادريس سماوي حامد
2013-03-20 20:22 ` Hans Hagen
2013-03-20 20:22 ` Wolfgang Schuster
0 siblings, 2 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2013-03-20 20:12 UTC (permalink / raw)
To: ntg-context
Dear Knights,
What is the canonical way to break a ligature in MkIV? The canonical TeX
way, e.g.
f{}i
does not work if the feature liga=yes.
The zero-width joiner or non-joiner will do it but that seems ad hoc or
abusive ;-) since those are really for cursive scripts like Arabic and
Syriac.
Best wishes
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Breaking ligatures
2013-03-20 20:12 Breaking ligatures Idris Samawi Hamid ادريس سماوي حامد
@ 2013-03-20 20:22 ` Hans Hagen
2013-03-20 20:45 ` Idris Samawi Hamid ادريس سماوي حامد
2013-03-20 20:22 ` Wolfgang Schuster
1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2013-03-20 20:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Cc: Idris Samawi Hamid ادريس
سماوي حامد
On 3/20/2013 9:12 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Dear Knights,
>
> What is the canonical way to break a ligature in MkIV? The canonical TeX
> way, e.g.
>
> f{}i
that's more a side effect of the old engine where lig building happened
interwoven with the parser (optimization) while in luatex this is nicely
separated (cleaner) you can put a kern in between but then of course you
wont get kerning with the other chars
> does not work if the feature liga=yes.
>
> The zero-width joiner or non-joiner will do it but that seems ad hoc or
> abusive ;-) since those are really for cursive scripts like Arabic and
> Syriac.
quite a claim ... afaik devanagari also needs them
anyhow, just don't enable ligatures if in doubt (some fonts have
language dependent ligatures) ... it's somewhat arbitrary to have only
'f' related ligs anyway
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Breaking ligatures
2013-03-20 20:12 Breaking ligatures Idris Samawi Hamid ادريس سماوي حامد
2013-03-20 20:22 ` Hans Hagen
@ 2013-03-20 20:22 ` Wolfgang Schuster
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2013-03-20 20:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 20.03.2013 um 21:12 schrieb Idris Samawi Hamid ادريس سماوي حامد <ishamid@colostate.edu>:
> Dear Knights,
>
> What is the canonical way to break a ligature in MkIV? The canonical TeX way, e.g.
>
> f{}i
>
> does not work if the feature liga=yes.
>
> The zero-width joiner or non-joiner will do it but that seems ad hoc or abusive ;-) since those are really for cursive scripts like Arabic and Syriac.
\definefontfeature[liga][liga=yes]
\starttext
fi {\feature[-][liga]fi \feature[+][liga]fi}
\stoptext
Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Breaking ligatures
2013-03-20 20:22 ` Hans Hagen
@ 2013-03-20 20:45 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 0 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2013-03-20 20:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, 20 Mar 2013 14:22:31 -0600, Hans Hagen <pragma@wxs.nl> wrote:
> quite a claim ... afaik devanagari also needs them
Ah, interesting!
> anyhow, just don't enable ligatures if in doubt (some fonts have
> language dependent ligatures) ... it's somewhat arbitrary to have only
> 'f' related ligs anyway
On Wed, 20 Mar 2013 14:22:35 -0600, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
> \definefontfeature[liga][liga=yes]
> \starttext
> fi {\feature[-][liga]fi \feature[+][liga]fi}
> \stoptext
This is just for having a control to make sure the test file I'm preparing
for a \feature wiki entry is actually working right, so naturally I can't
use \feature for the control :-)
But that is a nifty example, Wolfgang, so I may include that one on the
wiki too!
Thanks Hans, Wolfgang, and
Best wishes
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-20 20:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20 20:12 Breaking ligatures Idris Samawi Hamid ادريس سماوي حامد
2013-03-20 20:22 ` Hans Hagen
2013-03-20 20:45 ` Idris Samawi Hamid ادريس سماوي حامد
2013-03-20 20:22 ` Wolfgang Schuster
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).