mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Automatic merge of trunk into multilib
This commit is contained in:
commit
cbe26ed15a
@ -241,4 +241,22 @@
|
|||||||
</fo:block>
|
</fo:block>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- page.number.format
|
||||||
|
We want roman numerals only in book's preface, not parts prefaces
|
||||||
|
(if any). The original template is in {docbook-xsl}/fo/pagesetup.xsl -->
|
||||||
|
<xsl:template name="page.number.format">
|
||||||
|
<xsl:param name="element" select="local-name(.)"/>
|
||||||
|
<xsl:param name="master-reference" select="''"/>
|
||||||
|
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$element = 'toc' and self::book">i</xsl:when>
|
||||||
|
<xsl:when test="$element = 'set'">i</xsl:when>
|
||||||
|
<xsl:when test="$element = 'book'">i</xsl:when>
|
||||||
|
<xsl:when test="$element = 'preface' and not(ancestor::part)">i</xsl:when>
|
||||||
|
<xsl:when test="$element = 'dedication'">i</xsl:when>
|
||||||
|
<xsl:when test="$element = 'acknowledgements'">i</xsl:when>
|
||||||
|
<xsl:otherwise>1</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
Loading…
Reference in New Issue
Block a user