From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5521 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: math punctuation Date: Wed, 05 Sep 2001 18:09:23 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010905180334.024e1f18@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396110 2394 80.91.224.250 (23 Oct 2002 18:01:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:01:50 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:5521 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5521 Hi, Since math punctuation was on my todo list anyway, i added it to the core. Instead of the hard codes stuff, i made them proper math symbols. By default we have now defined: \startmathcollection[default] \definemathsymbol [mathperiod] [ord] [mi] ["3A] \definemathsymbol [textperiod] [punct] [mi] ["3A] \definemathsymbol [mathcomma] [ord] [mi] ["3B] \definemathsymbol [textcomma] [punct] [mi] ["3B] \stopmathcollection and: \definemathpunctuation . mathperiod textperiod \definemathpunctuation , mathcomma textcomma which means that \enablemathpunctuation % can go into cont-sys.tex if needed $(1,2) (1, 2) (1{,}2) \hbox {foo, bar}$ give the desired results. This will be available in the next beta. I think that adding ; and : also makes sense, but i first want to know what the french requirements are, PS. For the real hackers among us: one can swap comma's and periods in math by saying \definemathpunctuation . mathcomma textperiod \definemathpunctuation , mathperiod textcomma 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 -------------------------------------------------------------------------