aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-nochunks.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/lfs-nochunks.xsl')
-rw-r--r--stylesheets/lfs-nochunks.xsl28
1 files changed, 20 insertions, 8 deletions
diff --git a/stylesheets/lfs-nochunks.xsl b/stylesheets/lfs-nochunks.xsl
index 375f1d8cd..7093af7d0 100644
--- a/stylesheets/lfs-nochunks.xsl
+++ b/stylesheets/lfs-nochunks.xsl
@@ -5,13 +5,12 @@
version="1.0">
<!-- We use XHTML -->
- <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/profile-docbook.xsl"/>
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl"/>
- <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
+ <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
<xsl:output method="html" encoding="ISO-8859-1" indent="no" />
-
+
<!-- Including our others customized templates -->
- <xsl:include href="xhtml/lfs-admon.xsl"/>
<xsl:include href="xhtml/lfs-index.xsl"/>
<xsl:include href="xhtml/lfs-mixed.xsl"/>
<xsl:include href="xhtml/lfs-sections.xsl"/>
@@ -25,6 +24,23 @@
<xsl:param name="ulink.target" select="''"></xsl:param>
<xsl:param name="css.decoration" select="0"></xsl:param>
+ <!-- Don't use graphics in admonitions -->
+ <xsl:param name="admon.graphics" select="0"/>
+
+ <!-- Changing the admonitions output tagging -->
+ <xsl:template name="nongraphical.admonition">
+ <div class="{name(.)}">
+ <div class ="admonhead">
+ <h3 class="admontitle">
+ <xsl:apply-templates select="." mode="object.title.markup"/>
+ </h3>
+ </div>
+ <div class="admonbody">
+ <xsl:apply-templates/>
+ </div>
+ </div>
+ </xsl:template>
+
<!-- To drop the remainig dot when title is empty (from lfs-titles.xsl)-->
<xsl:template name="sect2.titlepage">
<xsl:choose>
@@ -150,10 +166,6 @@ div.important h3, div.warning h3, div.caution h3 {
color: #900;
}
-div.admonhead img {
- display: none;
-}
-
h3.admontitle {
padding-left: 2.5em;
padding-top: 1em;