Skip to content

Commit

Permalink
ISO xslt updated for 1951, metanorma/metanorma-iso#1089
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Feb 14, 2024
1 parent 40c4a2f commit 0ea8d56
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions xslt_src/iso.international-standard.core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,10 @@
<xsl:with-param name="letter-spacing" select="0.65"/>
</xsl:call-template>
</fo:block>
<fo:block font-size="24pt" margin-top="5mm">R 191</fo:block>
<fo:block font-size="24pt" margin-top="5mm">
<xsl:if test="$doctype = 'recommendation'">R&#xa0;</xsl:if>
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:docnumber"/>
</fo:block>

<fo:block font-size="11pt" margin-top="12mm">
<xsl:call-template name="insertTitlesLangMain"/>
Expand All @@ -666,7 +669,15 @@
<fo:block-container height="40mm" display-align="center" font-size="9pt">
<fo:block>2nd <fo:inline font-weight="bold">EDITION</fo:inline></fo:block>
<fo:block>&#xa0;</fo:block>
<fo:block>October 1971</fo:block>
<xsl:variable name="revision_date" select="/iso:iso-standard/iso:bibdata/iso:version/iso:revision-date"/>
<xsl:variable name="revision_date_year" select="substring($revision_date,1,4)"/>
<xsl:variable name="revision_date_month" select="substring($revision_date,6,2)"/>
<!-- Example: October 1971 -->
<fo:block>
<xsl:call-template name="convertDate">
<xsl:with-param name="date" select="/iso:iso-standard/iso:bibdata/iso:version/iso:revision-date"/>
</xsl:call-template>
</fo:block>
<fo:block margin-top="14mm">This second edition supersedes the first edition</fo:block>
</fo:block-container>
</fo:block>
Expand Down

0 comments on commit 0ea8d56

Please sign in to comment.