Skip to content

Commit

Permalink
Plateau XSLT updated for page numbers, #713
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Sep 16, 2024
1 parent 9e100f0 commit 8caf558
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions xslt_src/plateau.international-standard.core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1738,12 +1738,24 @@
<xsl:choose>
<xsl:when test="$doctype = 'technical-report'">
<fo:block-container height="23mm" display-align="after">
<fo:block text-align="center" margin-bottom="16mm">- <fo:page-number /> -</fo:block>
<fo:block text-align="center" margin-bottom="16mm">
<xsl:if test="$vertical_layout = 'true'">
<xsl:attribute name="margin-bottom">0mm</xsl:attribute>
</xsl:if>
<xsl:text>- </xsl:text>
<fo:page-number />
<xsl:text> -</xsl:text>
</fo:block>
</fo:block-container>
</xsl:when>
<xsl:otherwise>
<fo:block-container height="24mm" display-align="after">
<fo:block text-align="center" margin-bottom="16mm"><fo:page-number /></fo:block>
<fo:block text-align="center" margin-bottom="16mm">
<xsl:if test="$vertical_layout = 'true'">
<xsl:attribute name="margin-bottom">0mm</xsl:attribute>
</xsl:if>
<fo:page-number />
</fo:block>
</fo:block-container>
</xsl:otherwise>
</xsl:choose>
Expand Down

0 comments on commit 8caf558

Please sign in to comment.