summaryrefslogtreecommitdiff
path: root/tex/context/interface/cont-cs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/interface/cont-cs.xml')
-rw-r--r--tex/context/interface/cont-cs.xml356
1 files changed, 334 insertions, 22 deletions
diff --git a/tex/context/interface/cont-cs.xml b/tex/context/interface/cont-cs.xml
index 212cc0ac1..a0095af10 100644
--- a/tex/context/interface/cont-cs.xml
+++ b/tex/context/interface/cont-cs.xml
@@ -291,7 +291,7 @@
<cd:keywords n="1" optional="yes"> <!-- it's possible to use 1+2+3, 2+3, what about 1+2? -->
<cd:constant type="cd:name"/>
</cd:keywords>
- <cd:keywords n="2">
+ <cd:keywords n="2" optional="no"> <!-- have to force no, otherwise \showsetup is wrong ! -->
<cd:constant type="5pt"/> <!-- TODO: maybe <cd:resolve name="bodyfont"/> -->
<cd:constant type="..."/>
<cd:constant type="12pt"/>
@@ -313,12 +313,30 @@
<cd:parameter name="xx">
<cd:constant type="cd:dimension"/>
</cd:parameter>
+ <cd:parameter name="a">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="b">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="c">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="d">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
<cd:parameter name="male">
<cd:constant type="cd:dimension"/>
</cd:parameter>
<cd:parameter name="velky">
<cd:constant type="cd:dimension"/>
</cd:parameter>
+ <cd:parameter name="meziradkovamezera">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="em">
+ <cd:resolve name="style"/>
+ </cd:parameter>
</cd:assignments>
</cd:arguments>
</cd:command>
@@ -331,8 +349,8 @@
<cd:keywords n="1" optional="yes"> <!-- same as definebodyfontenvironment; you can define the whole commant to inherit, not only parameters-->
<cd:inherit name="definujprostredizakladnihofontu" n="1"/>
</cd:keywords>
- <cd:keywords n="2">
- <cd:inherit name="definujprostredizakladnihofontu" n="2"/>
+ <cd:keywords n="2" optional="no">
+ <cd:inherit name="definujprostredizakladnihofontu" n="2" optional="no"/>
</cd:keywords>
<cd:assignments n="3" optional="yes" list="yes">
<cd:inherit name="definujprostredizakladnihofontu" n="3"/>
@@ -359,13 +377,13 @@
<cd:keywords n="1" list="yes"> <!-- <cd:constant type="implicitni"/> -->
<cd:resolve name="bodyfont"/> <!-- TODO: check this -->
</cd:keywords>
- <cd:keywords n="2">
- <cd:constant type="rm"/>
+ <cd:keywords n="2" optional="yes">
+ <cd:constant type="rm" default="yes"/>
<cd:constant type="ss"/>
<cd:constant type="tt"/>
- <cd:constant type="mm"/>
<cd:constant type="hw"/>
<cd:constant type="cg"/>
+ <cd:constant type="mm"/>
</cd:keywords>
<cd:assignments n="3" list="yes">
<cd:parameter name="tf">
@@ -389,6 +407,9 @@
<cd:parameter name="sc">
<cd:constant type="cd:file"/>
</cd:parameter>
+ <cd:parameter name="mr">
+ <cd:constant type="cd:file"/>
+ </cd:parameter>
<cd:parameter name="ex">
<cd:constant type="cd:file"/>
</cd:parameter>
@@ -407,10 +428,48 @@
<cd:parameter name="mc">
<cd:constant type="cd:file"/>
</cd:parameter>
+ <cd:parameter name="md">
+ <cd:constant type="cd:file"/>
+ </cd:parameter>
</cd:assignments>
</cd:arguments>
</cd:command>
+ <cd:command name="definebodyfontDEF" file="font-ini.tex" category="fonts">
+ <cd:sequence>
+ <cd:string value="definujzakladnifont"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:inherit name="nastavzakladnifont" n="2"/>
+ </cd:keywords>
+ <cd:keywords n="1">
+ <cd:inherit name="nastavzakladnifont" n="3"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definebodyfontREF" file="font-ini.tex" category="fonts">
+ <cd:sequence>
+ <cd:string value="definujzakladnifont"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:inherit name="nastavzakladnifont" n="1"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:inherit name="nastavzakladnifont" n="2"/>
+ </cd:keywords>
+ <cd:keywords n="3">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
+
<cd:command name="showbodyfont" file="font-run.tex" category="fonts"> <!-- visual debugging -->
<cd:sequence>
<cd:string value="ukazzakladnifont"/>
@@ -453,7 +512,23 @@
</cd:sequence>
<cd:arguments>
<cd:keywords n="1" list="yes">
- <cd:resolve name="bodyfont"/>
+ <cd:constant type="cd:name"/>
+ <cd:constant type="serif"/>
+ <cd:constant type="pravidelne"/>
+ <cd:constant type="antikva"/>
+ <cd:constant type="sans"/>
+ <cd:constant type="podpora"/>
+ <cd:constant type="bezserifu"/>
+ <cd:constant type="mono"/>
+ <cd:constant type="opis"/>
+ <cd:constant type="strojopis"/>
+ <cd:constant type="rukopisne"/>
+ <cd:constant type="kaligraficke"/>
+ <cd:constant type="5pt"/>
+ <cd:constant type="..."/>
+ <cd:constant type="12pt"/>
+ <cd:constant type="male"/>
+ <cd:constant type="velke"/>
</cd:keywords>
</cd:arguments>
</cd:command>
@@ -469,6 +544,9 @@
<cd:keywords n="2">
<cd:constant type="cd:file"/>
</cd:keywords>
+ <cd:keywords n="3" optional="yes">
+ <cd:constant type="cd:text"/>
+ </cd:keywords>
</cd:arguments>
</cd:command>
@@ -4018,7 +4096,8 @@
</cd:arguments>
</cd:command>
- <cd:command name="setupinterlinespace" variant="2" file="core-spa.tex">
+ <cd:command name="setupinterlinespace2" variant="2" file="core-spa.tex">
+ <!-- attached a 2 to make this definition usable with \showsetup -->
<cd:sequence>
<cd:string value="nastavmeziradkovoumezeru"/>
</cd:sequence>
@@ -5106,7 +5185,7 @@
<cd:command name="placecombinedlist" variant="2" generated="yes" file="core-lst.tex">
<cd:sequence>
- <cd:string value="place"/>
+ <cd:string value="umisti"/>
<cd:variable value="combinedlist"/>
</cd:sequence>
<cd:arguments>
@@ -5121,7 +5200,7 @@
<cd:command name="completecombinedlist" generated="yes" file="core-lst.tex">
<cd:sequence>
- <cd:string value="complete"/>
+ <cd:string value="uplny"/>
<cd:variable value="combinedlist"/>
</cd:sequence>
<cd:arguments>
@@ -5986,7 +6065,7 @@
<cd:command name="nextsection" generated="yes" file="core-sec.tex">
<cd:sequence>
- <cd:string value="next"/>
+ <cd:string value="dalsi"/>
<cd:variable value="sekce"/>
</cd:sequence>
</cd:command>
@@ -6407,7 +6486,7 @@
<cd:command name="coupledregister" generated="yes">
<cd:sequence>
- <cd:string value="coupled"/>
+ <cd:string value="propojene"/>
<cd:variable value="rejstrik"/>
</cd:sequence>
<cd:arguments>
@@ -6445,7 +6524,7 @@
<cd:command name="seeregister" generated="yes">
<cd:sequence>
- <cd:string value="see"/>
+ <cd:string value="viz"/>
<cd:variable value="rejstrik"/>
</cd:sequence>
<cd:arguments>
@@ -6459,7 +6538,7 @@
<cd:command name="completeregister" generated="yes" file="core-reg.tex">
<cd:sequence>
- <cd:string value="complete"/>
+ <cd:string value="uplny"/>
<cd:variable value="rejstrik"/>
</cd:sequence>
<cd:arguments>
@@ -6471,7 +6550,7 @@
<cd:command name="placeregister" variant="2" generated="yes" file="core-reg.tex">
<cd:sequence>
- <cd:string value="place"/>
+ <cd:string value="umisti"/>
<cd:variable value="rejstrik"/>
</cd:sequence>
<cd:arguments>
@@ -6581,7 +6660,7 @@
<cd:command name="loadsynonyms" generated="yes">
<cd:sequence>
- <cd:string value="load"/>
+ <cd:string value="nacist"/>
<cd:variable value="synonyms"/>
</cd:sequence>
</cd:command>
@@ -6669,7 +6748,7 @@
<cd:command name="loadsorts" generated="yes">
<cd:sequence>
- <cd:string value="load"/>
+ <cd:string value="nacist"/>
<cd:variable value="sorts"/>
</cd:sequence>
</cd:command>
@@ -6690,7 +6769,7 @@
<cd:command name="makeup" type="environment">
<cd:sequence>
- <cd:string value="makeup"/>
+ <cd:string value="zlom"/>
</cd:sequence>
<cd:arguments>
<cd:keywords n="1">
@@ -6782,7 +6861,7 @@
<cd:command name="namemakeup" type="environment" generated="yes">
<cd:sequence>
<cd:variable value="jmeno"/>
- <cd:string value="makeup"/>
+ <cd:string value="zlom"/>
</cd:sequence>
</cd:command>
@@ -6940,7 +7019,7 @@
<cd:command name="local" type="environment">
<cd:sequence>
- <cd:string value="local"/>
+ <cd:string value="lokalne"/>
</cd:sequence>
</cd:command>
@@ -7432,7 +7511,7 @@
<cd:command name="placefloat" generated="yes" file="page-flt.tex">
<cd:sequence>
- <cd:string value="place"/>
+ <cd:string value="umisti"/>
<cd:variable value="plvouciobjekt"/>
</cd:sequence>
<cd:arguments>
@@ -7485,7 +7564,7 @@
<cd:command name="reservefloat" generated="yes">
<cd:sequence>
- <cd:string value="reserve"/>
+ <cd:string value="rezervovat"/>
<cd:variable value="plvouciobjekt"/>
</cd:sequence>
<cd:arguments>
@@ -9907,4 +9986,237 @@
</cd:arguments>
</cd:command>
+ <cd:command name="usetypescriptfile" file="type-ini.tex">
+ <cd:sequence>
+ <cd:string value="usetypescriptfile"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1" list="yes">
+ <cd:constant type="cd:file"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="usetypescript" file="type-ini.tex">
+ <cd:sequence>
+ <cd:string value="usetypescript"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1" list="yes">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="2" optional="yes" list="yes">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="3" optional="yes" list="yes">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definetypeface" file="type-ini.tex">
+ <cd:sequence>
+ <cd:string value="definetypeface"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:text"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:constant type="rm"/>
+ <cd:constant type="ss"/>
+ <cd:constant type="tt"/>
+ <cd:constant type="mm"/>
+ <cd:constant type="hw"/>
+ <cd:constant type="cg"/>
+ </cd:keywords>
+ <cd:keywords n="3">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="4">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="5" optional="yes">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments n="6" optional="yes">
+ <cd:parameter name="features">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="rscale">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="encoding">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="text">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definefontfeature" file="type-ini.tex">
+ <cd:sequence>
+ <cd:string value="definefontfeature"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:text"/>
+ </cd:keywords>
+ <cd:keywords n="2" optional="yes">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments n="3" optional="no">
+ <cd:parameter name="compose">
+ <cd:constant type="ne" default="yes"/>
+ <cd:constant type="ano"/>
+ </cd:parameter>
+ <cd:parameter name="mode">
+ <cd:constant type="node"/>
+ <cd:constant type="base" default="yes"/>
+ </cd:parameter>
+ <cd:parameter name="tlig">
+ <cd:constant type="ne" default="yes"/>
+ <cd:constant type="ano"/>
+ </cd:parameter>
+ <cd:parameter name="trep">
+ <cd:constant type="ne" default="yes"/>
+ <cd:constant type="ano"/>
+ </cd:parameter>
+ <cd:parameter name="script">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="language">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="..tag.."> <!-- can't use &gt; here, \showsetup gives an error -->
+ <cd:constant type="ne" default="yes"/>
+ <cd:constant type="ano"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definefonthandling" file="hand-ini.mkii">
+ <cd:sequence>
+ <cd:string value="definefonthandling"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:constant type="cd:name" list="yes"/>
+ </cd:keywords>
+ <cd:assignments n="3">
+ <cd:parameter name="typ">
+ <cd:constant type="visici" default="yes"/>
+ <cd:constant type="hz"/>
+ <cd:constant type="mezerovani"/>
+ <cd:constant type="tag"/>
+ </cd:parameter>
+ <cd:parameter name="vpravo">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="vlevo">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="faktor">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="min">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="max">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="krok">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="setupfonthandling" file="hand-ini.mkii">
+ <cd:sequence>
+ <cd:string value="setupfonthandling"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments n="2">
+ <cd:inherit name="definefonthandling" n="2"/>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definefontsynonym" file="font-ini.tex">
+ <cd:sequence>
+ <cd:string value="definujsynonumumfontu"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:text"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments n="3" optional="yes">
+ <cd:parameter name="encoding">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="features">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="handling">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="mapping">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="setupfontsynonym" file="font-ini.tex">
+ <cd:sequence>
+ <cd:string value="setupfontsynonym"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments n="2">
+ <cd:inherit name="definujsynonumumfontu" n="3"/>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="mapfontsize" file="font-ini.tex" category="fonts">
+ <cd:sequence>
+ <cd:string value="mapfontsize"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:dimension"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:constant type="cd:dimension"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definedfont" file="font-ini.tex" category="fonts">
+ <cd:sequence>
+ <cd:string value="definedfont"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:inherit name="definujfont" n="2"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
</cd:interface>