ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Giuseppe Bilotta" <oblomov@freemail.it>
Subject: Re: Still on i18n
Date: Wed, 14 Feb 2001 15:49:53 +0100	[thread overview]
Message-ID: <00a001c096d2$0cef93e0$a3ccfea9@nuovo> (raw)
In-Reply-To: <3A8A3820.93E6E1A@wkap.nl>

I wrote:
> > 
> > Hello,
> > 
> > there's one point I would like to make on i18n: proper
> > support for different decimal/thousand separators;
> > different languages use different symbols (mostly, they swap
> > the meaning of comma and dot); this should be taken in
> > consideration esp. when typesetting math formulas, to take
> > care of correct spacing.

Taco wrote:

> Yes, but how?
> 
> It should probably be done, but input syntax is very nasty.
> Even if $10,50$ is a number, $[10, 50]$ isn't. If somebody
> can think of a reasonable algorithm to decide when to do what,
> I'd be very happy to implement it 

Get a second look at your examples: if the next char has catcode space,
you can use the delimiter spacing; otherwise, you use the
decimal/thousand (whatever appropriate) spacing (which would
again change from region to region).

Hans wrote:

> There is a file supp-num.tex in the distribution which have some digit
> manipulation macros. They even work -)

Nice module! But you still need to insert \tex{digit} before them;
can the thing be implemented, at least in math mode, without the
need for \tex{digit} (only the decimal/thousand separator thing,
not the power thing)?

Giuseppe Bilotta

Using Microsoft products is like 
having sex without condoms---but
much less pleasurable


  parent reply	other threads:[~2001-02-14 14:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-13 15:50 Giuseppe Bilotta
2001-02-14  7:47 ` S2P development
2001-02-14 12:47   ` Hans Hagen
2001-02-14 12:49   ` Hans Hagen
2001-02-14 14:49   ` Giuseppe Bilotta [this message]
2001-02-20 12:06     ` 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='00a001c096d2$0cef93e0$a3ccfea9@nuovo' \
    --to=oblomov@freemail.it \
    /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).