ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupmathematics: autopunctuation only for certain symbols like . or ,
@ 2011-07-24 14:13 Paul Menzel
  0 siblings, 0 replies; only message in thread
From: Paul Menzel @ 2011-07-24 14:13 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 926 bytes --]

Dear ConTeXt folks,


if I am not mistaken `autopunctuation` [1] should prevent the space
after the decimal mark [2] like in »1,23« or »1.23«.

The following minimal example, which is also attached, indicates that
the space is also not added for semicolon »;«.

--- 8< --- minimal example --- >8 ---
\starttext
\setupformulas[align=right]

\startformula
ℕ ≔ \left\{ 0; 1; 2; 3; … \right\}
\stopformula

\setupmathematics[autopunctuation=no]
\startformula
ℕ ≔ \left\{ 0; 1; 2; 3; … \right\}
\stopformula
\stoptext
--- 8< --- minimal example --- >8 ---

I wonder if this is on purpose because the Wiki page [2] does not list
the semicolon as a decimal mark.

Would it be possible to take the semicolon out of the handling of
`autopunctuation`?


Thanks,

Paul


[1] http://wiki.contextgarden.net/Math_setups
[2] https://secure.wikimedia.org/wikipedia/en/wiki/Decimal_mark

[-- Attachment #1.1.2: menge.pdf --]
[-- Type: application/pdf, Size: 12159 bytes --]

[-- Attachment #1.1.3: menge.tex --]
[-- Type: text/x-tex, Size: 235 bytes --]

\starttext
\setupformulas[align=right]

\startformula
ℕ ≔ \left\{0; 1; 2; 3; … \right\}
\stopformula

\setupmathematics[autopunctuation=no]
\startformula
ℕ ≔ \left\{0; 1; 2; 3; … \right\}
\stopformula
\stoptext

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-24 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-24 14:13 \setupmathematics: autopunctuation only for certain symbols like . or , Paul Menzel

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).