summaryrefslogtreecommitdiff
path: root/manual/xsl
diff options
context:
space:
mode:
Diffstat (limited to 'manual/xsl')
-rw-r--r--manual/xsl/html.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/manual/xsl/html.xsl b/manual/xsl/html.xsl
index 974c11becd..80a0a7772a 100644
--- a/manual/xsl/html.xsl
+++ b/manual/xsl/html.xsl
@@ -88,4 +88,16 @@ section toc
part toc
</xsl:param>
+<xsl:template name="nongraphical.admonition">
+ <div class="{name(.)}">
+ <h2 class="title">
+ <xsl:call-template name="anchor"/>
+ <xsl:if test="$admon.textlabel != 0 or title">
+ <xsl:apply-templates select="." mode="object.title.markup"/>
+ </xsl:if>
+ </h2>
+ <xsl:apply-templates/>
+ </div>
+</xsl:template>
+
</xsl:stylesheet>