summaryrefslogtreecommitdiff
path: root/tex/context/interface/third/t-letterspace.xml
blob: bac1f3fe7ff3e4848cfd1ebfee4ad25cb132dd10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands" 
              name="context"
              language="en" 
              version="2011-03-16T10:30:36+0100">

  <cd:command name="setupletterspace" file="t-letterspace.mkiv">
    <cd:sequence>
      <cd:string value="setupletterspace"/>
    </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="factor">
          <!-- Can’t inherit from “\setupcharacterkerning” because cont-en.xml
            still lacks that entry. -->
          <cd:constant type="cd:number" default=".125"/>
        </cd:parameter>
        <cd:parameter name="spaceskip">
          <cd:constant type="cd:dimension" default=".33em"/>
        </cd:parameter>
        <cd:parameter name="suppresskern">
          <cd:constant type="no" default="no"/>
          <cd:constant type="yes"/>
        </cd:parameter>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

  <cd:command name="defineletterspace" file="t-letterspace.tex">
      <cd:sequence>
          <cd:string value="defineletterspace"/>
      </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="setupletterspace" n="2"/>
          </cd:assignments>
      </cd:arguments>
  </cd:command>
  
  <cd:command name="letterspace" generated="yes" file="t-letterspace.mkiv">
    <cd:sequence>
      <cd:variable value="letterspace"/>
    </cd:sequence>
    <cd:arguments>
      <cd:assignments n="1" list="yes" optional="yes">
        <cd:inherit name="setupletterspace"/>
      </cd:assignments>
      <cd:content n="2" optional="yes"/>
    </cd:arguments>
  </cd:command>

  <cd:command name="letterspace" generated="yes" type="environment" file="t-letterspace.mkiv">
    <cd:sequence>
      <cd:variable value="letterspace"/>
    </cd:sequence>
    <cd:arguments>
      <cd:assignments n="1" list="yes" optional="yes">
        <cd:inherit name="setupletterspace"/>
      </cd:assignments>
    </cd:arguments>
  </cd:command>

</cd:interface>