summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-01-27 19:47:16 +0100
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-01-27 19:47:16 +0100
commitb95a328fa5f6eea590aeca70326c49dbdcfa29a9 (patch)
tree1195752bfde41a32fe8a2242ca10a718437bc8f6
parent6273806cb31ecd802c90eaeaf0add58b2dd5a092 (diff)
downloadcyrillicnumbers-b95a328fa5f6eea590aeca70326c49dbdcfa29a9.tar.gz
xml interface
-rw-r--r--tex/context/interface/third/t-cyrillicnumbers.xml98
-rw-r--r--tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv4
2 files changed, 100 insertions, 2 deletions
diff --git a/tex/context/interface/third/t-cyrillicnumbers.xml b/tex/context/interface/third/t-cyrillicnumbers.xml
new file mode 100644
index 0000000..e0cb1cf
--- /dev/null
+++ b/tex/context/interface/third/t-cyrillicnumbers.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<!-- versions:
+
+ comment : user interface definitions of the Cyrillic Numbers module
+
+ authors : Philipp Gesang
+
+ versions : 2012-01-27 19:20:33+0100 (mercurial tip)
+
+-->
+
+<cd:interface xmlns:cd="http://www.pragma-ade.com/commands"
+ name="context"
+ language="en"
+ version="2012-01-27 19:16:17+0100">
+
+ <cd:command name="setupcyrnum" file="t-cyrillicnumbers.mkiv">
+ <cd:sequence>
+ <cd:string value="setupcyrnum"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1" optional="yes">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments n="2" list="yes" optional="no">
+ <cd:parameter name="dots">
+ <cd:constant type="no"/>
+ <cd:constant type="yes" default="yes"/>
+ </cd:parameter>
+ <cd:parameter name="dotsymbol">
+ <cd:constant type="cd:text" default="ยท"/>
+ </cd:parameter>
+ <cd:parameter name="penwidth">
+ <cd:constant type="cd:dimension" default=".66pt"/>
+ </cd:parameter>
+ <cd:parameter name="preferhundredk">
+ <cd:constant type="no" default="yes"/>
+ <cd:constant type="yes"/>
+ </cd:parameter>
+ <cd:parameter name="titlolocation">
+ <cd:constant type="middle" default="yes"/>
+ <cd:constant type="final"/>
+ <cd:constant type="first"/>
+ </cd:parameter>
+ <cd:parameter name="titlomode">
+ <cd:constant type="cd:number" default="5"/>
+ </cd:parameter>
+ <cd:parameter name="titlospan">
+ <cd:constant type="cd:number" default="3"/>
+ </cd:parameter>
+ <cd:parameter name="titlo">
+ <cd:constant type="mp" default="yes"/>
+ <cd:constant type="font"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definecyrnum" file="t-cyrillicnumbers.mkiv">
+ <cd:sequence>
+ <cd:string value="definecyrnum"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1" optional="no">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments n="2" list="yes" optional="yes">
+ <cd:inherit name="setupcyrnum" n="2"/>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="cyrnum" generated="yes" file="t-cyrillicnumbers.mkiv">
+ <cd:sequence>
+ <cd:variable value="cyrnum"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:assignments n="1" list="yes" optional="yes">
+ <cd:inherit name="setupcyrnum"/>
+ </cd:assignments>
+ <cd:content n="2" optional="no"/>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="cyrnumdrawtitlo" generated="yes" file="t-cyrillicnumbers.mkiv">
+ <cd:sequence>
+ <cd:variable value="cyrnumdrawtitlo"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:content n="1" optional="no"/>
+ </cd:arguments>
+ </cd:command>
+
+</cd:interface>
+
+<!-- vim:sw=2:ts=2
+-->
diff --git a/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv b/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
index e187c66..ebe98fa 100644
--- a/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
+++ b/tex/context/third/cyrillicnumbers/t-cyrillicnumbers.mkiv
@@ -8,7 +8,7 @@
%D copyright=Philipp Gesang,
%D license=2-clause BSD,
%D email={gesang at stud dot uni-heidelberg dot de}]
-%D This module is licensed under the conditions of the BSD license with
+%D This module is licensed under the conditions of the BSD license with
%D two clauses. There is a copy in a file named "COPYING" in the
%D t-cyrillicnumbers source tree.
@@ -110,7 +110,7 @@
%D \METAPOST\ uses when executing the titlo code. {\em NB} as the
%D drawing routines differ, the \type{penwidth} parameter lead to
%D different results with different modes as well, ymmv.
-%D
+%D
%D \starttyping
%D \setupcyrnum[
%D titlo=mp,