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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------