Changes in / [e72bf16:d989d56]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/xhtml/lfs-titles.xsl
re72bf16 rd989d56 128 128 129 129 <!-- sect3.titlepage: 130 Uses h3 and removed a lot of unneeded code. 131 Use generic titlepage.mode template in case there are child 132 elements (xref)--> 130 Same as sect2 except it uses h3 --> 133 131 <!-- The original template is in {docbook-xsl}/xhtml/titlepage.templates.xsl --> 134 132 <xsl:template name="sect3.titlepage"> 135 <h3 class="{name(.)}"> 136 <xsl:if test="@id"> 137 <a id="{@id}" name="{@id}"/> 138 </xsl:if> 139 <xsl:if test="$section.autolabel != 0"> 140 <xsl:apply-templates select="." mode="label.markup"/> 141 <xsl:text>. </xsl:text> 142 </xsl:if> 143 <xsl:apply-templates select="./title" mode="titlepage.mode"/> 144 </h3> 133 <xsl:choose> 134 <xsl:when test="string-length(title) = 0"/> 135 <xsl:otherwise> 136 <h3 class="{name(.)}"> 137 <xsl:if test="@id"> 138 <a id="{@id}" name="{@id}"/> 139 </xsl:if> 140 <xsl:if test="not(ancestor::preface) and $section.autolabel != 0"> 141 <xsl:apply-templates select="." mode="label.markup"/> 142 <xsl:text>. </xsl:text> 143 </xsl:if> 144 <xsl:value-of select="title"/> 145 </h3> 146 </xsl:otherwise> 147 </xsl:choose> 145 148 </xsl:template> 146 147 149 <!-- dedication.titlepage: 148 150 Uses h2 and removed a lot of unneeded code. -->
Note:
See TracChangeset
for help on using the changeset viewer.