From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4070 Path: main.gmane.org!not-for-mail From: "Giuseppe Bilotta" Newsgroups: gmane.comp.tex.context Subject: Re: Still on i18n Date: Wed, 14 Feb 2001 15:49:53 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <00a001c096d2$0cef93e0$a3ccfea9@nuovo> References: <002901c0960f$f60d0c60$a3ccfea9@nuovo> <3A8A3820.93E6E1A@wkap.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035394761 22593 80.91.224.250 (23 Oct 2002 17:39:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:39:21 +0000 (UTC) Original-To: "ConTeXt" Xref: main.gmane.org gmane.comp.tex.context:4070 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4070 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