ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Cc: jacko <B_Jackowski@gust.org.pl>
Subject: Re: lijgatures in LM
Date: Sat, 21 Jan 2006 09:49:34 +0100	[thread overview]
Message-ID: <43D1F59E.5030807@elvenkind.com> (raw)
In-Reply-To: <6faad9f00601201610y181280dgdcc313393c042744@mail.gmail.com>

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.

  Cheers, Taco

  reply	other threads:[~2006-01-21  8:49 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 [this message]
2006-01-23 16:20   ` Mojca Miklavec

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=43D1F59E.5030807@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=B_Jackowski@gust.org.pl \
    --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).