ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \ldots
Date: Wed, 19 May 2010 14:55:44 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.1005191448090.2878@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <op.vcygc7a7yxxkfz@lab050p.feld.cvut.cz>

On Wed, 19 May 2010, Jan Pohanka wrote:

> Hello,
> I discovered that with one font the \ldots command typesets three colons 
> (:::).
>
> I found these lines in plain.tex

No, for mkii you should look at math-*.mkii files. The relevant file in 
this case is math-tex.mkii, which defines

\definemathsymbol [ldotp] [punct] [mi] ["3A]

> saying the \ldots uses character on position 3A. In the font (type 1), there 
> is really the semicolon on this position.
> How to make context to use proper character (\period), which is on position 
> 2E in the font without changing this file?

You need to define a new math encoding (see math-ams.mkii or 
math-eul.mkii).

> Or is it possible to use a special 
> glyph for horizontal ellipsis with \ldots command? (It exists in the font)

\definemathsymbol [ldots] [inner] [mi] ["XX]

where XX is the location of the glyph.

Aditya

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


  parent reply	other threads:[~2010-05-19 18:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 13:42 \ldots Jan Pohanka
2010-05-19 13:50 ` \ldots luigi scarso
2010-05-19 18:55 ` Aditya Mahajan [this message]
2010-05-20 15:43   ` \ldots Jan Pohanka
2010-05-20 15:57     ` \ldots Aditya Mahajan
2010-05-20 19:36       ` \ldots Honza Pohanka

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=alpine.LNX.2.00.1005191448090.2878@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).