ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <denis.maier@ub.unibe.ch>
To: <ntg-context@ntg.nl>
Subject: Re: ligature prevention
Date: Tue, 5 Jan 2021 12:20:39 +0000	[thread overview]
Message-ID: <d964e5a10cb344a2984eb2f2864b1f60@ub.unibe.ch> (raw)
In-Reply-To: <bf154e2b-c63f-8781-56d2-fda3e7515dbb@xs4all.nl>

Cool.
How is that related to \zwj and \zwnj?

By the way, the ligature suppression mechanism via \startexceptions is already implemented, correct? If yes, it should now be possible to convert the existing wordlists to the new format, right?

Best,
Denis
________________________________________
Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Hans Hagen <j.hagen@xs4all.nl>
Gesendet: Dienstag, 5. Januar 2021 12:51:35
An: mailing list for ConTeXt users
Betreff: [NTG-context] ligature prevention

Hi,

I probably didn't mention this yet but the way to deal with ligature and
kerning prevention in lmts is:

     whatever\par
     {\nokerning whatever}\par
     efficient ff fi\par
     {\noligaturing efficient ff fi}\par
     {\nokerning\noligaturing efficient ff fi}\par
     {e{\noligaturing ffi}cient}\par

because this feature can be used local and because it actually has more
granularity than advertised, I added this in the next version

     {ef{\noleftligaturing f}icient ff fi}\par
     {ef{\norightligaturing f}icient ff fi}\par

(so, specific commands for left/right control). Or course one can wonder
how useful it is, but because tex is all about control ...

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

  reply	other threads:[~2021-01-05 12:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-05 11:51 Hans Hagen
2021-01-05 12:20 ` denis.maier [this message]
2021-01-05 13:03   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d964e5a10cb344a2984eb2f2864b1f60@ub.unibe.ch \
    --to=denis.maier@ub.unibe.ch \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).