Merge branch 'trunk' of git.linuxfromscratch.org:blfs into trunk

This commit is contained in:
Thomas Trepl 2024-01-20 12:04:48 +01:00
commit d989d56ea8

View File

@ -127,23 +127,25 @@
</xsl:template> </xsl:template>
<!-- sect3.titlepage: <!-- sect3.titlepage:
Uses h3 and removed a lot of unneeded code. Same as sect2 except it uses h3 -->
Use generic titlepage.mode template in case there are child
elements (xref)-->
<!-- The original template is in {docbook-xsl}/xhtml/titlepage.templates.xsl --> <!-- The original template is in {docbook-xsl}/xhtml/titlepage.templates.xsl -->
<xsl:template name="sect3.titlepage"> <xsl:template name="sect3.titlepage">
<h3 class="{name(.)}"> <xsl:choose>
<xsl:if test="@id"> <xsl:when test="string-length(title) = 0"/>
<a id="{@id}" name="{@id}"/> <xsl:otherwise>
</xsl:if> <h3 class="{name(.)}">
<xsl:if test="$section.autolabel != 0"> <xsl:if test="@id">
<xsl:apply-templates select="." mode="label.markup"/> <a id="{@id}" name="{@id}"/>
<xsl:text>. </xsl:text> </xsl:if>
</xsl:if> <xsl:if test="not(ancestor::preface) and $section.autolabel != 0">
<xsl:apply-templates select="./title" mode="titlepage.mode"/> <xsl:apply-templates select="." mode="label.markup"/>
</h3> <xsl:text>. </xsl:text>
</xsl:if>
<xsl:value-of select="title"/>
</h3>
</xsl:otherwise>
</xsl:choose>
</xsl:template> </xsl:template>
<!-- dedication.titlepage: <!-- dedication.titlepage:
Uses h2 and removed a lot of unneeded code. --> Uses h2 and removed a lot of unneeded code. -->
<!-- The original template is in {docbook-xsl}/xhtml/titlepage.templates.xsl --> <!-- The original template is in {docbook-xsl}/xhtml/titlepage.templates.xsl -->