diff options
author | Timothy Pearson <[email protected]> | 2013-04-18 19:01:11 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-18 19:01:11 -0500 |
commit | 2b31f11f979f3ffc3dd060072b85559a832bfab5 (patch) | |
tree | 081358a0df37f88e89a3e2fa4e137810681ab480 /kdoctools/customization/tde-style.xsl | |
parent | 30b0af1f01cdbfcc51a56943e8c091bc8991f83a (diff) | |
parent | 1c68d332fd7e08a190daedbaa6ace857b575b7c4 (diff) | |
download | tdelibs-2b31f11f979f3ffc3dd060072b85559a832bfab5.tar.gz tdelibs-2b31f11f979f3ffc3dd060072b85559a832bfab5.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'kdoctools/customization/tde-style.xsl')
-rw-r--r-- | kdoctools/customization/tde-style.xsl | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/kdoctools/customization/tde-style.xsl b/kdoctools/customization/tde-style.xsl new file mode 100644 index 000000000..03e8bc987 --- /dev/null +++ b/kdoctools/customization/tde-style.xsl @@ -0,0 +1,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> |