summaryrefslogtreecommitdiff
path: root/tex/context/interface/cont-ro.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/interface/cont-ro.xml')
-rw-r--r--tex/context/interface/cont-ro.xml350
1 files changed, 331 insertions, 19 deletions
diff --git a/tex/context/interface/cont-ro.xml b/tex/context/interface/cont-ro.xml
index 47bc89d29..67d25d6f7 100644
--- a/tex/context/interface/cont-ro.xml
+++ b/tex/context/interface/cont-ro.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="mic">
<cd:constant type="cd:dimension"/>
</cd:parameter>
<cd:parameter name="mare">
<cd:constant type="cd:dimension"/>
</cd:parameter>
+ <cd:parameter name="spatiereinterliniara">
+ <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="definestemediulfonttext" n="1"/>
</cd:keywords>
- <cd:keywords n="2">
- <cd:inherit name="definestemediulfonttext" n="2"/>
+ <cd:keywords n="2" optional="no">
+ <cd:inherit name="definestemediulfonttext" n="2" optional="no"/>
</cd:keywords>
<cd:assignments n="3" optional="yes" list="yes">
<cd:inherit name="definestemediulfonttext" n="3"/>
@@ -359,13 +377,13 @@
<cd:keywords n="1" list="yes"> <!-- <cd:constant type="implicit"/> -->
<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="definestefonttext"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:inherit name="seteazafonttext" n="2"/>
+ </cd:keywords>
+ <cd:keywords n="1">
+ <cd:inherit name="seteazafonttext" n="3"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definebodyfontREF" file="font-ini.tex" category="fonts">
+ <cd:sequence>
+ <cd:string value="definestefonttext"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:inherit name="seteazafonttext" n="1"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:inherit name="seteazafonttext" 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="afiseazafonttext"/>
@@ -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="regular"/>
+ <cd:constant type="roman"/>
+ <cd:constant type="sans"/>
+ <cd:constant type="suport"/>
+ <cd:constant type="sansserif"/>
+ <cd:constant type="mono"/>
+ <cd:constant type="type"/>
+ <cd:constant type="teletype"/>
+ <cd:constant type="scrismanual"/>
+ <cd:constant type="caligrafic"/>
+ <cd:constant type="5pt"/>
+ <cd:constant type="..."/>
+ <cd:constant type="12pt"/>
+ <cd:constant type="mic"/>
+ <cd:constant type="mare"/>
</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="seteazaspatiuinterliniar"/>
</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="pune"/>
<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="complet"/>
<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="urmatorul"/>
<cd:variable value="sectiune"/>
</cd:sequence>
</cd:command>
@@ -6407,7 +6486,7 @@
<cd:command name="coupledregister" generated="yes">
<cd:sequence>
- <cd:string value="coupled"/>
+ <cd:string value="cuplat"/>
<cd:variable value="registru"/>
</cd:sequence>
<cd:arguments>
@@ -6445,7 +6524,7 @@
<cd:command name="seeregister" generated="yes">
<cd:sequence>
- <cd:string value="see"/>
+ <cd:string value="vezi"/>
<cd:variable value="registru"/>
</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="complet"/>
<cd:variable value="registru"/>
</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="pune"/>
<cd:variable value="registru"/>
</cd:sequence>
<cd:arguments>
@@ -6581,7 +6660,7 @@
<cd:command name="loadsynonyms" generated="yes">
<cd:sequence>
- <cd:string value="load"/>
+ <cd:string value="incarca"/>
<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="incarca"/>
<cd:variable value="sorts"/>
</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="pune"/>
<cd:variable value="obiectmobil"/>
</cd:sequence>
<cd:arguments>
@@ -7485,7 +7564,7 @@
<cd:command name="reservefloat" generated="yes">
<cd:sequence>
- <cd:string value="reserve"/>
+ <cd:string value="rezervat"/>
<cd:variable value="obiectmobil"/>
</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="nu" default="yes"/>
+ <cd:constant type="da"/>
+ </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="nu" default="yes"/>
+ <cd:constant type="da"/>
+ </cd:parameter>
+ <cd:parameter name="trep">
+ <cd:constant type="nu" default="yes"/>
+ <cd:constant type="da"/>
+ </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="nu" default="yes"/>
+ <cd:constant type="da"/>
+ </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="type">
+ <cd:constant type="suspendat" default="yes"/>
+ <cd:constant type="hz"/>
+ <cd:constant type="spatiere"/>
+ <cd:constant type="tag"/>
+ </cd:parameter>
+ <cd:parameter name="dreapta">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="stanga">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="factor">
+ <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="pas">
+ <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="definestesinonimfont"/>
+ </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="definestesinonimfont" 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="definestefont" n="2"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
</cd:interface>