summaryrefslogtreecommitdiff
path: root/tex/context/interface/cont-it.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/interface/cont-it.xml')
-rw-r--r--tex/context/interface/cont-it.xml356
1 files changed, 334 insertions, 22 deletions
diff --git a/tex/context/interface/cont-it.xml b/tex/context/interface/cont-it.xml
index 57590ac49..c59511b61 100644
--- a/tex/context/interface/cont-it.xml
+++ b/tex/context/interface/cont-it.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="piccolo">
<cd:constant type="cd:dimension"/>
</cd:parameter>
<cd:parameter name="grande">
<cd:constant type="cd:dimension"/>
</cd:parameter>
+ <cd:parameter name="interlinea">
+ <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="definisciambientefontdeltesto" n="1"/>
</cd:keywords>
- <cd:keywords n="2">
- <cd:inherit name="definisciambientefontdeltesto" n="2"/>
+ <cd:keywords n="2" optional="no">
+ <cd:inherit name="definisciambientefontdeltesto" n="2" optional="no"/>
</cd:keywords>
<cd:assignments n="3" optional="yes" list="yes">
<cd:inherit name="definisciambientefontdeltesto" n="3"/>
@@ -359,13 +377,13 @@
<cd:keywords n="1" list="yes"> <!-- <cd:constant type="implicito"/> -->
<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="definiscifontdeltesto"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:inherit name="impostafontdeltesto" n="2"/>
+ </cd:keywords>
+ <cd:keywords n="1">
+ <cd:inherit name="impostafontdeltesto" n="3"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="definebodyfontREF" file="font-ini.tex" category="fonts">
+ <cd:sequence>
+ <cd:string value="definiscifontdeltesto"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords n="1">
+ <cd:inherit name="impostafontdeltesto" n="1"/>
+ </cd:keywords>
+ <cd:keywords n="2">
+ <cd:inherit name="impostafontdeltesto" 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="mostrafontdeltesto"/>
@@ -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="regolare"/>
+ <cd:constant type="roman"/>
+ <cd:constant type="sans"/>
+ <cd:constant type="supporto"/>
+ <cd:constant type="sansserif"/>
+ <cd:constant type="mono"/>
+ <cd:constant type="type"/>
+ <cd:constant type="teletype"/>
+ <cd:constant type="grafiamanuale"/>
+ <cd:constant type="calligrafico"/>
+ <cd:constant type="5pt"/>
+ <cd:constant type="..."/>
+ <cd:constant type="12pt"/>
+ <cd:constant type="piccolo"/>
+ <cd:constant type="grande"/>
</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="impostainterlinea"/>
</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="metti"/>
<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="completo"/>
<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="successivo"/>
<cd:variable value="capoverso"/>
</cd:sequence>
</cd:command>
@@ -6379,7 +6458,7 @@
<cd:command name="startregister" generated="yes" file="core-reg.tex">
<cd:sequence>
- <cd:string value="start"/>
+ <cd:string value="inizia"/>
<cd:variable value="registro"/>
</cd:sequence>
<cd:arguments>
@@ -6407,7 +6486,7 @@
<cd:command name="coupledregister" generated="yes">
<cd:sequence>
- <cd:string value="coupled"/>
+ <cd:string value="accoppiato"/>
<cd:variable value="registro"/>
</cd:sequence>
<cd:arguments>
@@ -6445,7 +6524,7 @@
<cd:command name="seeregister" generated="yes">
<cd:sequence>
- <cd:string value="see"/>
+ <cd:string value="vedi"/>
<cd:variable value="registro"/>
</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="completo"/>
<cd:variable value="registro"/>
</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="metti"/>
<cd:variable value="registro"/>
</cd:sequence>
<cd:arguments>
@@ -6581,7 +6660,7 @@
<cd:command name="loadsynonyms" generated="yes">
<cd:sequence>
- <cd:string value="load"/>
+ <cd:string value="carica"/>
<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="carica"/>
<cd:variable value="sorts"/>
</cd:sequence>
</cd:command>
@@ -6940,7 +7019,7 @@
<cd:command name="local" type="environment">
<cd:sequence>
- <cd:string value="local"/>
+ <cd:string value="locale"/>
</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="metti"/>
<cd:variable value="oggettomobile"/>
</cd:sequence>
<cd:arguments>
@@ -7485,7 +7564,7 @@
<cd:command name="reservefloat" generated="yes">
<cd:sequence>
- <cd:string value="reserve"/>
+ <cd:string value="riserva"/>
<cd:variable value="oggettomobile"/>
</cd:sequence>
<cd:arguments>
@@ -7572,7 +7651,7 @@
<cd:command name="floattext" type="environment" generated="yes">
<cd:sequence>
<cd:variable value="oggettomobile"/>
- <cd:string value="text"/>
+ <cd:string value="testo"/>
</cd:sequence>
<cd:arguments>
<cd:keywords n="1" optional="yes">
@@ -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="testo">
+ <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="no" default="yes"/>
+ <cd:constant type="si"/>
+ </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="no" default="yes"/>
+ <cd:constant type="si"/>
+ </cd:parameter>
+ <cd:parameter name="trep">
+ <cd:constant type="no" default="yes"/>
+ <cd:constant type="si"/>
+ </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="no" default="yes"/>
+ <cd:constant type="si"/>
+ </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="sospeso" default="yes"/>
+ <cd:constant type="hz"/>
+ <cd:constant type="spaziatura"/>
+ <cd:constant type="tag"/>
+ </cd:parameter>
+ <cd:parameter name="destra">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="sinistra">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="fattore">
+ <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="passo">
+ <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="definiscisinonimofont"/>
+ </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="definiscisinonimofont" 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="definiscifont" n="2"/>
+ </cd:keywords>
+ </cd:arguments>
+ </cd:command>
+
</cd:interface>