ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: lijgatures in LM
Date: Mon, 23 Jan 2006 17:20:33 +0100	[thread overview]
Message-ID: <6faad9f00601230820p7327d997y6eb5f0f44a7fc963@mail.gmail.com> (raw)
In-Reply-To: <43D1F59E.5030807@elvenkind.com>

On 1/21/06, Taco Hoekwater wrote:
> Mojca Miklavec wrote:
> > Hello, (the Dutch team),
> >
> > Is it possible to prevent the "IJ" ligature in ec encoding in LM fonts
> > in ConTeXt somehow (except with manual intervention in every word
> > containing IJ)? I checked the behaviour in LaTeX with
> > \usepackage[T1]{inputenc} with the default font (some kind of Type 1
> > CM, but not LM), but it seems that only LM changes I and J to a
> > ligature (grrr ...). With the font in LaTeX it works OK.
>
> You can do this (only works in pdftex):
>
>    \definefonthandling [noij][noij][type=tag]
>     \startfonthandling[noij]
>    \settagcode I {\notagcode}
>    \settagcode i {\notagcode}
>    \stopfonthandling
>     \enablehandling[noij]
>
> Be warned that this also destroys any kerning info for the I and i.
> Not a big problem in this case (the number of kernings is minimal)
> but something to watch out for in general.

Thanks a lot. I took a look at the source now. It would be nicer to
say something like

\startlanguagespecifics[nl]
\enablehandling[ij]
\stoplanguagespecifics

and disable it everywhere else, but this would be a way too deep hack,
which could break more than it would fix (and since it's irreversible
it wouldn't work that way anyway).

Thanks for the pointer,
    Mojca

      reply	other threads:[~2006-01-23 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-21  0:10 Mojca Miklavec
2006-01-21  8:49 ` Taco Hoekwater
2006-01-23 16:20   ` Mojca Miklavec [this message]

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=6faad9f00601230820p7327d997y6eb5f0f44a7fc963@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).