From: Paul Menzel <paulepanter@users.sourceforge.net>
To: ntg-context@ntg.nl
Subject: \setupmathematics: autopunctuation only for certain symbols like . or ,
Date: Sun, 24 Jul 2011 16:13:51 +0200 [thread overview]
Message-ID: <1311516831.3866.39.camel@mattotaupa> (raw)
[-- 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
___________________________________________________________________________________
reply other threads:[~2011-07-24 14:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1311516831.3866.39.camel@mattotaupa \
--to=paulepanter@users.sourceforge.net \
--cc=ntg-context@ntg.nl \
/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).