cont-en.xml / last modification: 2008-08-13 19:01
<?xml version="1.0" encoding="UTF-8"?><!-- versions:

    comment  : user interface definitions of ConTeXt

    authors  : Hans Hagen, Taco Hoekwater, Patrick Gundlach

    versions : 2004.11.17 : initial version
               2006.08.02 : define + resolve

-->
<cd:interface xmlns:cd="http://www.pragma-ade.com/commands" name="context" language="en" version="2006.08.02">

  <cd:define name="align">
    <cd:constant type="inner"/>
    <cd:constant type="outer"/>
    <cd:constant type="left"/>
    <cd:constant type="right"/>
    <cd:constant type="flushleft"/>
    <cd:constant type="flushright"/>
    <cd:constant type="middle"/>
    <cd:constant type="center"/>
    <cd:constant type="normal"/>
    <cd:constant type="no"/>
    <cd:constant type="yes"/>
  </cd:define>

  <cd:define name="symalign">
    <cd:constant type="left"/>
    <cd:constant type="right"/>
    <cd:constant type="flushleft"/>
    <cd:constant type="flushright"/>
    <cd:constant type="middle"/>
    <cd:constant type="center"/>
  </cd:define>

  <cd:define name="indenting">
    <cd:constant type="never"/>
    <cd:constant type="none"/>
    <cd:constant type="not"/>
    <cd:constant type="no"/>
    <cd:constant type="yes"/>
    <cd:constant type="always"/>
    <cd:constant type="first"/>
    <cd:constant type="next"/>
    <cd:constant type="small"/>
    <cd:constant type="medium"/>
    <cd:constant type="big"/>
    <cd:constant type="normal"/>
    <cd:constant type="odd"/>
    <cd:constant type="even"/>
    <cd:constant type="cd:dimension"/>
  </cd:define>

  <cd:define name="indentnext">
    <cd:constant type="yes"/>
    <cd:constant type="no"/>
  </cd:define>

  <cd:define name="style">
    <cd:constant type="normal"/>
    <cd:constant type="bold"/>
    <cd:constant type="slanted"/>
    <cd:constant type="boldslanted"/>
    <cd:constant type="type"/>
    <cd:constant type="cap"/>
    <cd:constant type="small..."/>
    <cd:constant type="cd:command"/>
  </cd:define>

  <cd:define name="language">
    <cd:constant type="nl"/>
    <cd:constant type="fr"/>
    <cd:constant type="en"/>
    <cd:constant type="uk"/>
    <cd:constant type="de"/>
    <cd:constant type="es"/>
    <cd:constant type="cz"/>
    <cd:constant type=".."/>
  </cd:define>

  <cd:define name="texts">
    <cd:constant type="cd:text"/>
    <cd:constant type="cd:section"/>
    <cd:constant type="date"/>
    <cd:constant type="cd:mark"/>
    <cd:constant type="pagenumber"/>
  </cd:define>

  <cd:define name="layout-h">
    <cd:constant type="text" default="yes"/>
    <cd:constant type="margin"/>
    <cd:constant type="edge"/>
  </cd:define>

  <cd:define name="layout-v">
    <cd:constant type="top"/>
    <cd:constant type="header"/>
    <cd:constant type="text" default="yes"/>
    <cd:constant type="footer"/>
    <cd:constant type="bottom"/>
  </cd:define>

  <cd:define name="bodyfont">
    <cd:constant type="5pt"/>
    <cd:constant type="..."/>
    <cd:constant type="12pt"/>
    <cd:constant type="small"/>
    <cd:constant type="big"/>
  </cd:define>

  <cd:command name="installlanguage" file="lang-ini.tex" category="language">
    <cd:sequence>
      <cd:string value="installlanguage"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:assignments n="2" list="yes">
        <cd:parameter name="spacing">
          <cd:constant type="packed" default="yes"/>
          <cd:constant type="broad"/>
        </cd:parameter>
        <cd:parameter name="lefthyphenmin">
          <cd:constant type="cd:number" default="2"/>
        </cd:parameter>
        <cd:parameter name="righthyphenmin">
          <cd:constant type="cd:number" default="2"/>
        </cd:parameter>
        <cd:parameter name="state">
          <cd:constant type="start"/>
          <cd:constant type="stop"/>
        </cd:parameter>
        <cd:parameter name="leftsentence">
          <cd:constant type="cd:command" default="---"/>
        </cd:parameter>
        <cd:parameter name="rightsentence">
          <cd:constant type="cd:command" default="---"/>
        </cd:parameter>
        <cd:parameter name="leftsubsentence">
          <cd:constant type="cd:command" default="---"/>
        </cd:parameter>
        <cd:parameter name="rightsubsentence">
          <cd:constant type="cd:command" default="---"/>
        </cd:parameter>
        <cd:parameter name="leftquote">
          <cd:constant type="cd:command"/>
        </cd:parameter>
        <cd:parameter name="rightquote">
          <cd:constant type="cd:command"/>
        </cd:parameter>
        <cd:parameter name="leftquotation">
          <cd:constant type="cd:command"/>
        </cd:parameter>
        <cd:parameter name="rightquotation">
          <cd:constant type="cd:command"/>
        </cd:parameter>
        <cd:parameter name="leftspeech">
          <cd:constant type="cd:command"/>
        </cd:parameter>
        <cd:parameter name="middlespeech">
          <cd:constant type="cd:command" default=""/>
        </cd:parameter>
        <cd:parameter name="rightspeech">
          <cd:constant type="cd:command"/>
        </cd:parameter>
        <cd:parameter name="limittext">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="date">
          <cd:constant type="cd:text"/> <!-- TODO -->
        </cd:parameter>
        <cd:parameter name="compoundhyphen">
          <cd:constant type="cd:command" default="\compoundhyphen"/>
        </cd:parameter>
        <cd:parameter name="leftcompoundhyphen">
          <cd:constant type="cd:command" default="\compoundhyphen"/>
        </cd:parameter>
        <cd:parameter name="rightcompoundhyphen">
          <cd:constant type="cd:command" default=""/>
        </cd:parameter>
        <cd:parameter name="default">
          <cd:constant type="cd:name"/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="setuplanguage" file="lang-ini.tex" category="language">
    <cd:sequence>
      <cd:string value="setuplanguage"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:resolve name="language"/>
      </cd:keywords>
      <cd:assignments n="2" list="yes">
        <cd:inherit name="installlanguage" n="2"/>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="language" file="lang-ini.tex" category="language">
    <cd:sequence>
      <cd:string value="language"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:resolve name="language"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="mainlanguage" file="lang-ini.tex" category="language">
    <cd:sequence>
      <cd:string value="mainlanguage"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:resolve name="language"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="translate" file="lang-lab.tex" category="language">
    <cd:sequence>
      <cd:string value="translate"/>
    </cd:sequence>
    <cd:arguments>
      <cd:assignments n="1" list="yes">
        <cd:parameter name="cd:name">
          <cd:constant type="cd:text"/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="useencoding" file="enco-ini.tex" category="encoding"> <!-- engine="pdftex" -->
    <cd:sequence>
      <cd:string value="useencoding"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" list="yes">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="usespecials" file="spec-ini.tex">
    <cd:sequence>
      <cd:string value="usespecials"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" list="yes">
        <cd:constant type="reset"/>
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="defineoutput" file="spec-ini.tex">
    <cd:sequence>
      <cd:string value="defineoutput"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:keywords n="2" list="yes">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="setupoutput" file="spec-ini.tex">
    <cd:sequence>
      <cd:string value="setupoutput"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" list="yes">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="definebodyfontenvironment" file="font-ini.tex" category="fonts">
    <cd:sequence>
      <cd:string value="definebodyfontenvironment"/>
    </cd:sequence>
    <cd:arguments>
      <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" 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"/>
        <cd:constant type="default"/>
      </cd:keywords>
      <cd:assignments n="3" optional="yes" list="yes">
        <cd:parameter name="text">
          <cd:constant type="cd:dimension"/>
        </cd:parameter>
        <cd:parameter name="script">
          <cd:constant type="cd:dimension"/>
        </cd:parameter>
        <cd:parameter name="scriptscript">
          <cd:constant type="cd:dimension"/>
        </cd:parameter>
        <cd:parameter name="x">
          <cd:constant type="cd:dimension"/>
        </cd:parameter>
        <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="small">
          <cd:constant type="cd:dimension"/>
        </cd:parameter>
        <cd:parameter name="big">
          <cd:constant type="cd:dimension"/>
        </cd:parameter>
        <cd:parameter name="interlinespace">
          <cd:constant type="cd:dimension"/>
        </cd:parameter>
        <cd:parameter name="em">
          <cd:resolve name="style"/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="setupbodyfontenvironment" file="font-ini.tex" category="fonts">
    <cd:sequence>
      <cd:string value="setupbodyfontenvironment"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" optional="yes"> <!-- same as definebodyfontenvironment; you can define the whole commant to inherit, not only parameters-->
        <cd:inherit name="definebodyfontenvironment" n="1"/>
      </cd:keywords>
      <cd:keywords n="2" optional="no">
        <cd:inherit name="definebodyfontenvironment" n="2" optional="no"/>
      </cd:keywords>
      <cd:assignments n="3" optional="yes" list="yes">
        <cd:inherit name="definebodyfontenvironment" n="3"/>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="showbodyfontenvironment" file="font-run.tex" category="fonts"> <!-- and debug -->
    <cd:sequence>
      <cd:string value="showbodyfontenvironment"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" optional="yes" list="yes">
        <cd:inherit name="setupbodyfont" n="1"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="definebodyfont" file="font-ini.tex" category="fonts">
    <cd:sequence>
      <cd:string value="definebodyfont"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" list="yes"> <!-- <cd:constant type="default"/> -->
        <cd:resolve name="bodyfont"/> <!-- TODO: check this -->
      </cd:keywords>
      <cd:keywords n="2" optional="yes">
        <cd:constant type="rm" default="yes"/>
        <cd:constant type="ss"/>
        <cd:constant type="tt"/>
        <cd:constant type="hw"/>
        <cd:constant type="cg"/>
        <cd:constant type="mm"/>
      </cd:keywords>
      <cd:assignments n="3" list="yes">
        <cd:parameter name="tf">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="bf">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="sl">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="it">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="bs">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="bi">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <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>
        <cd:parameter name="mi">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="sy">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="ma">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <cd:parameter name="mb">
          <cd:constant type="cd:file"/>
        </cd:parameter>
        <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="definebodyfont"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/> 
      </cd:keywords>
      <cd:keywords n="2">
        <cd:inherit name="setupbodyfont" n="2"/>
      </cd:keywords>
      <cd:keywords n="1"> 
        <cd:inherit name="setupbodyfont" n="3"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="definebodyfontREF" file="font-ini.tex" category="fonts">
    <cd:sequence>
      <cd:string value="definebodyfont"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:inherit name="setupbodyfont" n="1"/>
      </cd:keywords>
      <cd:keywords n="2">
        <cd:inherit name="setupbodyfont" 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="showbodyfont"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" optional="yes" list="yes">
        <cd:inherit name="setupbodyfont" n="1"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="setupbodyfont" file="font-run.tex" category="fonts">
    <cd:sequence>
      <cd:string value="setupbodyfont"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" list="yes"> <!-- TODO: many missing, maybe also <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="support"/>
        <cd:constant type="sansserif"/>
        <cd:constant type="mono"/>
        <cd:constant type="type"/>
        <cd:constant type="teletype"/>
        <cd:constant type="handwritten"/>
        <cd:constant type="calligraphic"/>
        <cd:constant type="5pt"/>
        <cd:constant type="..."/>
        <cd:constant type="12pt"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="switchtobodyfont" file="font-ini.tex" category="fonts">
    <cd:sequence>
      <cd:string value="switchtobodyfont"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1" list="yes">
        <cd:constant type="cd:name"/>
        <cd:constant type="serif"/>
        <cd:constant type="regular"/>
        <cd:constant type="roman"/>
        <cd:constant type="sans"/>
        <cd:constant type="support"/>
        <cd:constant type="sansserif"/>
        <cd:constant type="mono"/>
        <cd:constant type="type"/>
        <cd:constant type="teletype"/>
        <cd:constant type="handwritten"/>
        <cd:constant type="calligraphic"/>
        <cd:constant type="5pt"/>
        <cd:constant type="..."/>
        <cd:constant type="12pt"/>
        <cd:constant type="small"/>
        <cd:constant type="big"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="definefont" file="font-ini.tex" category="fonts">
    <cd:sequence>
      <cd:string value="definefont"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <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>

  <cd:command name="setupcolor" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="setupcolor"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="setupcolors" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="setupcolors"/>
    </cd:sequence>
    <cd:arguments>
      <cd:assignments n="1" list="yes">
        <cd:parameter name="state">
          <cd:constant type="start"/>
          <cd:constant type="stop"/>
          <cd:constant type="global"/>
          <cd:constant type="local"/>
        </cd:parameter>
        <cd:parameter name="conversion">
          <cd:constant type="yes"/>
          <cd:constant type="no"/>
          <cd:constant type="always"/>
        </cd:parameter>
        <cd:parameter name="reduction">
          <cd:constant type="yes"/>
          <cd:constant type="no"/>
        </cd:parameter>
        <cd:parameter name="rgb">
          <cd:constant type="yes"/>
          <cd:constant type="no"/>
        </cd:parameter>
        <cd:parameter name="cmyk">
          <cd:constant type="yes"/>
          <cd:constant type="no"/>
        </cd:parameter>
        <cd:parameter name="mpcmyk">
          <cd:constant type="yes"/>
          <cd:constant type="no"/>
        </cd:parameter>
        <cd:parameter name="mpspot">
          <cd:constant type="yes"/>
          <cd:constant type="no"/>
        </cd:parameter>
        <cd:parameter name="textcolor">
          <cd:constant type="cd:name"/>
        </cd:parameter>
        <cd:parameter name="split">
          <cd:constant type="c"/>
          <cd:constant type="m"/>
          <cd:constant type="y"/>
          <cd:constant type="k"/>
          <cd:constant type="p"/>
          <cd:constant type="s"/>
          <cd:constant type="no"/>
          <cd:constant type="cd:name"/>
        </cd:parameter>
        <cd:parameter name="criterium">
          <cd:constant type="all"/>
          <cd:constant type="none"/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="definecolor" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="definecolor"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:assignments n="2" list="yes">
        <cd:parameter name="r">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="g">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="b">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="c">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="m">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="y">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="k">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="s">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="h">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="t">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="a">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="p">
          <cd:constant type="cd:text"/>
        </cd:parameter>
        <cd:parameter name="e">
          <cd:constant type="cd:text"/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="color" type="environment" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="color"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="color" file="colo-ini.tex">
    <cd:sequence>
      <cd:string value="color"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:text"/>
      </cd:keywords>
      <cd:content n="2"/>
    </cd:arguments>
  </cd:command>

  <cd:command name="graycolor" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="graycolor"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:text"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="showcolor" file="colo-run.tex" category="colors"> <!-- and debug -->
    <cd:sequence>
      <cd:string value="showcolor"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="definepalet" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="definepalet"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:assignments n="2" list="yes">
        <cd:parameter name="cd:name">
          <cd:constant type="cd:name"/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="setuppalet" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="setuppalet"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="definecolorgroup" file="colo-ini.tex" category="colors">
    <cd:sequence>
      <cd:string value="definecolorgroup"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:keywords n="2" optional="yes">
        <cd:constant type="rgb" default="yes"/>
        <cd:constant type="cmyk"/>
        <cd:constant type="gray"/>
        <cd:constant type="s"/>
      </cd:keywords>
      <cd:triplet n="3" list="yes"/>
    </cd:arguments>
  </cd:command>

  <cd:command name="showpalet" file="colo-run.tex" category="colors"> <!-- and debug -->
    <cd:sequence>
      <cd:string value="showpalet"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:keywords n="2" list="yes">
        <cd:constant type="horizontal"/>
        <cd:constant type="vertical"/>
        <cd:constant type="name"/>
        <cd:constant type="value"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="showcolorgroup" file="colo-run.tex" category="colors"> <!-- and debug-->
    <cd:sequence>
      <cd:string value="showcolorgroup"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:keywords n="2" list="yes">
        <cd:constant type="horizontal"/>
        <cd:constant type="vertical"/>
        <cd:constant type="name"/>
        <cd:constant type="value"/>
        <cd:constant type="cd:number"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="comparepalet" file="colo-run.tex" category="colors"> <!-- and debug? -->
    <cd:sequence>
      <cd:string value="comparepalet"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="comparecolorgroup" file="colo-run.tex" category="colors">
    <cd:sequence>
      <cd:string value="comparecolorgroup"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
    </cd:arguments>
  </cd:command>

  <cd:command name="showmakeup" file="supp-vis.tex" category="debug">
    <cd:sequence>
      <cd:string value="showmakeup"/>
    </cd:sequence>
  </cd:command>

  <cd:command name="definetype" file="core-ver.tex" category="verbatim">
    <cd:sequence>
      <cd:string value="definetype"/>
    </cd:sequence>
    <cd:arguments>
      <cd:keywords n="1">
        <cd:constant type="cd:name"/>
      </cd:keywords>
      <cd:assignments n="2" list="yes">
        <cd:inherit name="setuptype" n="1"/>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="setuptype" file="core-ver.tex" category="verbatim"> <!-- TODO -->
    <cd:sequence>
      <cd:string value="setuptype"/>
    </cd:sequence>
    <cd:arguments>
      <cd:assignments n="1" list="yes">
        <cd:parameter name="space">
          <cd:constant type="on"/>
          <cd:constant type="off" default="yes"/>
        </cd:parameter>
        <cd:parameter name="option">
          <cd:constant type="slanted"/>
          <cd:constant type="normal"/>
          <cd:constant type="none"/>
        </cd:parameter>
        <cd:parameter name="style">
          <cd:resolve name="style"/>
        </cd:parameter>
        <cd:parameter name="color">
          <cd:constant type="cd:name" default=""/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="type" file="verb-ini.tex" category="verbatim">
    <cd:sequence>
      <cd:string value="type"/>
    </cd:sequence>
    <cd:arguments>
      <cd:content n="1"/>
    </cd:arguments>
  </cd:command>

  <cd:command name="typ" file="core-ver.tex" category="verbatim">
    <cd:sequence>
      <cd:string value="typ"/>
    </cd:sequence>
    <cd:arguments>
      <cd:content n="1"/>
    </cd:arguments>
  </cd:command>

  <cd:command name="tex" file="core-ver.tex" category="verbatim">
    <cd:sequence>
      <cd:string value="tex"/>
    </cd:sequence>
    <cd:arguments>
      <cd:content n="1"/>
    </cd:arguments>
  </cd:command>

  <!-- cd:command name="arg" file="core-ver.tex"> command broken
  <cd:sequence>
    <cd:string value="arg"/>
  </cd:sequence&g