ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: B.Jackowski@gust.org.pl
Subject: Re: Re: \type doen't type -- with latin-modern fonts.
Date: Sat, 13 Sep 2003 21:17:12 +0200	[thread overview]
Message-ID: <5.2.0.9.1.20030913205803.08664320@localhost> (raw)
In-Reply-To: <m265jwoa6s.fsf@levana.de>

At 19:44 13/09/2003 +0200, you wrote:
>Hi,
>
>Daniel Flipo <Daniel.Flipo@univ-lille1.fr> writes:
>
>[...]
>
> > \starttyping ... \stoptyping works fine, but
> > \type{} typsets a "single dash" instead of two dashes.
> > The "single dash" is also different (lower and shorter)
> > than the two dashes.
>
>You should make a bug report and send it to Hans. IMO the \type
>should try hard to avoid ligatures (I have no clue how this could be
>done, but since Hans did this for \starttyping...\stoptyping, there
>is a chance that this might go into \type, too).
>
>One could argue that there should be no ligatures in a tt (or better:
>monospaced) font. But this is a point where the opinion of the
>experts is not clear. See the thread "bug or feature? aer font
>problems":

since this effect does not show op with cmtt, it looks like the lmtt fonts 
indeed have a ligature, which makes them somehow incompatible;

the reason why display verbatim goes ok, is that in that mode each 
character gets processed independently which prohibits lig building;

the best solution would be a \noligs primitives (also handy for xml)

an alternative is to have two tfm files, one for tt text with ligature 
building and one for verbatim, say:

cmtt10.tfm
cmtv10.tfm

(cmvtt is already taken)

let's see what Jacko says ...

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

  reply	other threads:[~2003-09-13 19:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13 16:49 Daniel Flipo
2003-09-13 17:44 ` Patrick Gundlach
2003-09-13 19:17   ` Hans Hagen [this message]
2003-09-13 22:10     ` Patrick Gundlach
2003-09-14  7:26     ` Daniel Flipo
2003-09-14  9:38       ` Patrick Gundlach

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=5.2.0.9.1.20030913205803.08664320@localhost \
    --to=pragma@wxs.nl \
    --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).