summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/core-con.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-08-28 12:41:55 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-08-28 12:41:55 +0200
commit833f45553da60d8185f7095b5efbafc540c21173 (patch)
tree8b23322146b3dea3be8f741dc9d8e8285f0d0c45 /tex/context/base/mkiv/core-con.mkiv
parent9c25133c75ad4c533cd66a26243173de11ee461b (diff)
downloadcontext-833f45553da60d8185f7095b5efbafc540c21173.tar.gz
2017-08-28 12:19:00
Diffstat (limited to 'tex/context/base/mkiv/core-con.mkiv')
-rw-r--r--tex/context/base/mkiv/core-con.mkiv14
1 files changed, 14 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/core-con.mkiv b/tex/context/base/mkiv/core-con.mkiv
index df0973132..09e4cccdb 100644
--- a/tex/context/base/mkiv/core-con.mkiv
+++ b/tex/context/base/mkiv/core-con.mkiv
@@ -874,4 +874,18 @@
[\v!continued]
[\continuednumber]
+%D Taken from x-asciimath (see digits-001.tex for an example):
+
+\let\spaceddigitsmethod \empty % alternative methods : 1 default, 2 and 3 only when > 4
+\let\spaceddigitssymbol \empty % extra splitter symbol : {,}
+\let\spaceddigitsseparator\empty % separator symbol : {\Uchar{"2008}}
+
+\unexpanded\def\spaceddigits#1%
+ {\clf_spaceddigits
+ method {\spaceddigitsmethod}%
+ symbol {\spaceddigitssymbol}%
+ separator {\spaceddigitsseparator}%
+ data {#1}%
+ \relax}
+
\protect \endinput