Changeset cbe26ed


Ignore:
Timestamp:
10/18/2023 10:30:17 PM (7 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
36e70bb
Parents:
bf7c160 (diff), 6f090ad (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl

    rbf7c160 rcbe26ed  
    242242  </xsl:template>
    243243
     244  <!-- page.number.format
     245       We want roman numerals only in book's preface, not parts prefaces
     246       (if any). The original template is in {docbook-xsl}/fo/pagesetup.xsl -->
     247  <xsl:template name="page.number.format">
     248    <xsl:param name="element" select="local-name(.)"/>
     249    <xsl:param name="master-reference" select="''"/>
     250
     251    <xsl:choose>
     252      <xsl:when test="$element = 'toc' and self::book">i</xsl:when>
     253      <xsl:when test="$element = 'set'">i</xsl:when>
     254      <xsl:when test="$element = 'book'">i</xsl:when>
     255      <xsl:when test="$element = 'preface' and not(ancestor::part)">i</xsl:when>
     256      <xsl:when test="$element = 'dedication'">i</xsl:when>
     257      <xsl:when test="$element = 'acknowledgements'">i</xsl:when>
     258      <xsl:otherwise>1</xsl:otherwise>
     259    </xsl:choose>
     260  </xsl:template>
     261
    244262</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.