summaryrefslogtreecommitdiff
path: root/tex/context/third
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-01-29 01:24:18 +0100
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-01-29 01:24:18 +0100
commitb1a305105d5bfa0de3187ff02a2c06d730ee5407 (patch)
tree1c778f9df275e63b83c509115a8719dd1d7cf8ed /tex/context/third
parentb95a328fa5f6eea590aeca70326c49dbdcfa29a9 (diff)
downloadcyrillicnumbers-b1a305105d5bfa0de3187ff02a2c06d730ee5407.tar.gz
added optional “command” key (intended use: font settings)
Diffstat (limited to 'tex/context/third')
-rw-r--r--tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv b/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
index ebe98fa..cbc26e6 100644
--- a/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
+++ b/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
@@ -42,7 +42,7 @@
\stopinterface
\definenamespace [cyrnum] [
- command=\v!yes,
+ \v!command=\v!yes,
comment=cyrillic numbers,
\s!name=\v!cyrnum,
\s!parent=\v!cyrnum,
@@ -376,11 +376,13 @@
\else
\setupcyrnum
\fi
+ \cyrnumparameter{command}\begingroup%
\dododo_cyrnum%
}
\def\dododo_cyrnum#1{%
\ctxcommand{cyrillicnumerals(\number#1)}%
+ \endgroup%
}
%D \macros
@@ -394,6 +396,7 @@
\v!dotsymbol=·,
\v!penwidth=.66pt,
\v!preferhundredk=no,
+ \v!command=,
\v!titlolocation=\v!middle, % final|middle -- only effective if using the font’s titlo
\v!titlomode=5,
\v!titlospan=3, % n|all