summaryrefslogtreecommitdiffstats
path: root/kdoctools/customization/tde-style.xsl
blob: 03e8bc9874511d7590e93dcbdb4671aab5d9b8a9 (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
71
72
73
74
75
76
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
		version="1.0">

<xsl:param name="callout.graphics.path" select="'common/'" doc:type='string'/>

<xsl:template match="guilabel|guimenu|guisubmenu|guimenuitem|interface|guibutton">
  <span class="guiitem">
     <xsl:call-template name="inline.charseq"/>
  </span>
</xsl:template>

<xsl:template match="accel">
  <span class="accel">
     <xsl:call-template name="inline.charseq"/>
   </span>
</xsl:template>

<xsl:attribute-set name="kde.body.attrs">
</xsl:attribute-set>

<xsl:template match="command">
  <span class="command">
    <xsl:call-template name="inline.boldseq"/>
  </span>
</xsl:template>

<xsl:template match="option">
  <span class="option">
    <xsl:call-template name="inline.monoseq"/>
  </span>
</xsl:template>

<xsl:template match="parameter">
  <span class="parameter">
    <xsl:call-template name="inline.italicmonoseq"/>
  </span>
</xsl:template>

<xsl:template match="envar">
  <span class="envar">
    <xsl:call-template name="inline.monoseq"/>
  </span>
</xsl:template>

<xsl:template match="replaceable" priority="1">
  <span class="replaceable">
    <xsl:call-template name="inline.italicmonoseq"/>
  </span>
</xsl:template>

<xsl:template match="mediaobject|mediaobjectco">
  <div class="{name(.)}">
    <xsl:if test="@id">
      <a name="{@id}"/>
    </xsl:if>
	<hr/>
    <xsl:call-template name="select.mediaobject"/>
    <xsl:apply-templates select="caption"/>
	<hr/>
  </div>
</xsl:template>

<xsl:template match="honorific|firstname|surname|lineage|othername">
  <xsl:call-template name="inline.charseq"/>
</xsl:template>

<xsl:template match="personname">
  <xsl:call-template name="anchor"/>
  <xsl:call-template name="person.name"/>
</xsl:template>
<!-- 
<xsl:template match="programlisting">
 <xsl:param name="linenumbering.extension" select="1"/>
</xsl:template> -->
</xsl:stylesheet>