summaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex')
-rw-r--r--tex/context/interface/third/t-cyrillicnumbers.xml3
-rw-r--r--tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv4
2 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/interface/third/t-cyrillicnumbers.xml b/tex/context/interface/third/t-cyrillicnumbers.xml
index b94befc..71d79af 100644
--- a/tex/context/interface/third/t-cyrillicnumbers.xml
+++ b/tex/context/interface/third/t-cyrillicnumbers.xml
@@ -24,6 +24,9 @@
<cd:constant type="cd:name"/>
</cd:keywords>
<cd:assignments n="2" list="yes" optional="no">
+ <cd:parameter name="command">
+ <cd:constant type="cd:oneargument"/>
+ </cd:parameter>
<cd:parameter name="dots">
<cd:constant type="no"/>
<cd:constant type="yes" default="yes"/>
diff --git a/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv b/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
index c13b00d..e087a43 100644
--- a/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
+++ b/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
@@ -70,7 +70,7 @@
tc.titlolocation = tc.position_synonyms["\cyrnumparameter{\v!titlolocation}"] or "f"
tc.prefer100k = tc. yes_synonyms["\cyrnumparameter{\v!preferhundredk}"] or false
tc.drawdots = tc. yes_synonyms["\cyrnumparameter{\v!dots}"] or false
- tc.dotsymbol = "\cyrnumparameter{\v!dotsymbol}"
+ tc.dotsymbol = "\luaescapestring{\cyrnumparameter{\v!dotsymbol}}"
local span = "\cyrnumparameter{\v!titlospan}"
local num = tonumber(span)
@@ -383,7 +383,7 @@
}
\def\dodo_cyrnum[#1]{%
- \begingroup%
+ \begingroup
\setupcyrnum[\currentcyrnum][#1]%
\cyrnumparameter{command}\begingroup%
\dododo_cyrnum%