metanorma-iso 2.9.3 → 2.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/i18n-en.yaml +4 -0
- data/lib/isodoc/iso/i18n-fr.yaml +6 -2
- data/lib/isodoc/iso/iso.amendment.xsl +68 -8
- data/lib/isodoc/iso/iso.international-standard.xsl +68 -8
- data/lib/metanorma/iso/biblio.rng +12 -6
- data/lib/metanorma/iso/front.rb +1 -0
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04e8a6e12c2d31b25893f7989e56136cffdd5f5b7454c3efc4d2028e65915654
|
4
|
+
data.tar.gz: 7f33792d10112a1cc967ea5a33e4fbe5d85e75f4044302be995d37774aa83a91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 109dd7d18991f5fad55c38188719e142046b50ffe5d95e8c90928018081572a7b1db1df7a2cd8f42a3f69747052039a3d1af5eb6783c6867a8d0807b3a9cde24
|
7
|
+
data.tar.gz: 79e315175efdc57d53e46885cd0d4fd687b3012a84d7d15fd9c9684736814ebc3fff485fc29e7531d4e208bf8c1690d7a5e237da496179afaae47f5e861061cb
|
data/lib/isodoc/iso/i18n-en.yaml
CHANGED
@@ -33,6 +33,10 @@ classification-UDC: UDC
|
|
33
33
|
website: website
|
34
34
|
formerly_id: "(formerly %)"
|
35
35
|
was_developed_by: "%1 was developed by %2"
|
36
|
+
iso-cen-parallel: ISO/CEN PARALLEL PROCESSING
|
37
|
+
draft_comment_1: This document is a draft circulated for comments and approval. It is therefore subject to change and may not be referred to as an international standard until published as such.
|
38
|
+
draft_comment_2: In addition to their evaluation as being acceptable for industrial, technological, commercial and user purposes, draft international standards may on occasion have to be considered in the light of their potential to become standards to which reference may be made in national regulations.
|
39
|
+
draft_comment_3: Recipients of this draft are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation.
|
36
40
|
doctype_dict:
|
37
41
|
international-standard: International Standard
|
38
42
|
technical-specification: Technical Specification
|
data/lib/isodoc/iso/i18n-fr.yaml
CHANGED
@@ -23,13 +23,17 @@ edition_ordinal_old: "{{ var1 | ordinal_num: 'edition', '' }} ÉDITION"
|
|
23
23
|
edition_replacement: "Cette {{ var1 | ordinal_word: 'edition', '' }} édition annule et remplace la {{ var2 | ordinal_word: 'edition', '' }} édition"
|
24
24
|
termsrelated: Termes liés
|
25
25
|
availablefrom: Disponible sur
|
26
|
-
voting_begins_on:
|
27
|
-
voting_terminates_on:
|
26
|
+
voting_begins_on: Début de vote
|
27
|
+
voting_terminates_on: Vote clos le
|
28
28
|
corrected_version: Version corrigée
|
29
29
|
fast-track-procedure: Procédure accélérée
|
30
30
|
classification-UDC: CDU
|
31
31
|
formerly_id: "(précédemment %)"
|
32
32
|
was_developed_by: "%1 a été élaboré par %2"
|
33
|
+
iso-cen-parallel: TRAITEMENT PARALLÈLE ISO/CEN
|
34
|
+
draft_comment_1: Ce document est un projet diffusé pour observations et approbation. Il est donc susceptible de modification et ne peut être cité comme norme internationale avant sa publication en tant que telle.
|
35
|
+
draft_comment_2: Outre le fait d’être examinés pour établir s’ils sont acceptables à des fins industrielles, technologiques et commerciales, ainsi que du point de vue des utilisateurs, les projets de normes internationales doivent parfois être considérés du point de vue de leur possibilité de devenir des normes pouvant servir de référence dans la réglementation nationale.
|
36
|
+
draft_comment_3: Les destinataires du présent projet sont invités à présenter, avec leurs observations, notification des droits de propriété dont ils auraient éventuellement connaissance et à fournir une documentation explicative.
|
33
37
|
website: site web
|
34
38
|
doctype_dict:
|
35
39
|
international-standard: Norme internationale
|
@@ -287,6 +287,7 @@
|
|
287
287
|
<xsl:variable name="i18n_date_printing"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">date_printing</xsl:with-param></xsl:call-template></xsl:variable>
|
288
288
|
<xsl:variable name="i18n_corrected_version"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">corrected_version</xsl:with-param></xsl:call-template></xsl:variable>
|
289
289
|
<xsl:variable name="i18n_fast_track_procedure"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">fast-track-procedure</xsl:with-param></xsl:call-template></xsl:variable>
|
290
|
+
<xsl:variable name="i18n_iso_cen_parallel"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">iso-cen-parallel</xsl:with-param></xsl:call-template></xsl:variable>
|
290
291
|
<xsl:variable name="i18n_all_rights_reserved"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">all_rights_reserved</xsl:with-param></xsl:call-template></xsl:variable>
|
291
292
|
<xsl:variable name="i18n_locality_page"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">locality.page</xsl:with-param></xsl:call-template></xsl:variable>
|
292
293
|
<xsl:variable name="i18n_locality_part"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">locality.part</xsl:with-param></xsl:call-template></xsl:variable>
|
@@ -1863,9 +1864,19 @@
|
|
1863
1864
|
|
1864
1865
|
<xsl:choose>
|
1865
1866
|
<xsl:when test="$stage-abbreviation = 'DIS'"> <!-- or $stage-abbreviation = 'DAMD' or $stage-abbreviation = 'DAM' -->
|
1866
|
-
<xsl:
|
1867
|
-
|
1868
|
-
|
1867
|
+
<xsl:choose>
|
1868
|
+
<xsl:when test="contains($stagename, ' ')">
|
1869
|
+
<!-- Draft International Standard to DRAFT -->
|
1870
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring-before($stagename, ' ')))"/>
|
1871
|
+
<xsl:value-of select="$linebreak"/>
|
1872
|
+
<xsl:value-of select="substring-after($stagename, ' ')"/>
|
1873
|
+
</xsl:when>
|
1874
|
+
<xsl:otherwise>
|
1875
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new($stagename))"/>
|
1876
|
+
<xsl:value-of select="$linebreak"/>
|
1877
|
+
<xsl:value-of select="$doctype_localized"/>
|
1878
|
+
</xsl:otherwise>
|
1879
|
+
</xsl:choose>
|
1869
1880
|
</xsl:when>
|
1870
1881
|
<!-- <xsl:when test="$stage-abbreviation = 'FDAmd' or $stage-abbreviation = 'FDAM'"><xsl:value-of select="$doctype_uppercased"/></xsl:when> -->
|
1871
1882
|
<xsl:when test="$stagename-header-coverpage != ''">
|
@@ -1949,7 +1960,8 @@
|
|
1949
1960
|
</xsl:if>
|
1950
1961
|
|
1951
1962
|
<xsl:if test="$stage-abbreviation = 'NWIP' or $stage-abbreviation = 'NP' or $stage-abbreviation = 'PWI' or $stage-abbreviation = 'AWI' or $stage-abbreviation = 'WD' or $stage-abbreviation = 'CD' or $stage-abbreviation = 'FDIS' or $stagename_abbreviation = 'FDIS' or $stage-abbreviation = 'DIS' or $stage-abbreviation = 'DAMD' or $stage-abbreviation = 'DAM' or $stagename_abbreviation = 'DIS'">
|
1952
|
-
<fo:block margin-top="20mm">
|
1963
|
+
<fo:block margin-top="20mm" font-size="11pt">
|
1964
|
+
<xsl:call-template name="insertInterFont"/>
|
1953
1965
|
<xsl:copy-of select="$ics"/>
|
1954
1966
|
</fo:block>
|
1955
1967
|
</xsl:if>
|
@@ -2046,7 +2058,7 @@
|
|
2046
2058
|
|
2047
2059
|
<xsl:if test="normalize-space($additionalNotes) != ''"> <!-- or $stage-abbreviation = 'PRF' -->
|
2048
2060
|
<xsl:attribute name="display-align">center</xsl:attribute>
|
2049
|
-
<fo:block>
|
2061
|
+
<fo:block margin-bottom="6.5mm">
|
2050
2062
|
<xsl:copy-of select="$additionalNotes"/>
|
2051
2063
|
</fo:block>
|
2052
2064
|
</xsl:if>
|
@@ -2163,11 +2175,15 @@
|
|
2163
2175
|
<fo:block-container height="22.5mm" display-align="center" role="SKIP">
|
2164
2176
|
|
2165
2177
|
<xsl:variable name="iso-fast-track" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:ext/iso:fast-track)"/>
|
2166
|
-
|
2167
2178
|
<xsl:if test="normalize-space($iso-fast-track) = 'true'">
|
2168
2179
|
<xsl:attribute name="height">28mm</xsl:attribute>
|
2169
2180
|
</xsl:if>
|
2170
2181
|
|
2182
|
+
<xsl:variable name="iso-cen-parallel" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:ext/iso:iso-cen-parallel)"/>
|
2183
|
+
<xsl:if test="normalize-space($iso-cen-parallel) = 'true'">
|
2184
|
+
<xsl:attribute name="height">35mm</xsl:attribute>
|
2185
|
+
</xsl:if>
|
2186
|
+
|
2171
2187
|
<fo:block>
|
2172
2188
|
<xsl:call-template name="insertCoverPageAdditionalNotes"/>
|
2173
2189
|
</fo:block>
|
@@ -3099,6 +3115,31 @@
|
|
3099
3115
|
</fo:block>
|
3100
3116
|
</fo:block-container>
|
3101
3117
|
</xsl:if>
|
3118
|
+
|
3119
|
+
<xsl:variable name="iso-cen-parallel" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:ext/iso:iso-cen-parallel)"/>
|
3120
|
+
|
3121
|
+
<xsl:if test="normalize-space($iso-cen-parallel) = 'true'">
|
3122
|
+
<fo:block-container space-before="4mm" role="SKIP">
|
3123
|
+
<fo:block background-color="rgb(77,77,77)" color="white" fox:border-radius="5pt" text-align="center" display-align="center" font-size="19pt" font-weight="bold" role="SKIP">
|
3124
|
+
<xsl:if test="$layoutVersion = '2024'">
|
3125
|
+
<xsl:attribute name="background-color">rgb(88,88,88)</xsl:attribute>
|
3126
|
+
<xsl:attribute name="fox:border-radius">0pt</xsl:attribute>
|
3127
|
+
<xsl:attribute name="font-size">16pt</xsl:attribute>
|
3128
|
+
</xsl:if>
|
3129
|
+
<fo:block-container height="13.2mm" role="SKIP">
|
3130
|
+
<xsl:if test="$layoutVersion = '2024'">
|
3131
|
+
<xsl:attribute name="height">11.2mm</xsl:attribute>
|
3132
|
+
<xsl:attribute name="padding-top">2mm</xsl:attribute>
|
3133
|
+
</xsl:if>
|
3134
|
+
<fo:block>
|
3135
|
+
<!-- <xsl:text>ISO/CEN PARALLEL PROCESSING</xsl:text> -->
|
3136
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new($i18n_iso_cen_parallel))"/>
|
3137
|
+
</fo:block>
|
3138
|
+
</fo:block-container>
|
3139
|
+
</fo:block>
|
3140
|
+
</fo:block-container>
|
3141
|
+
</xsl:if>
|
3142
|
+
|
3102
3143
|
</xsl:if>
|
3103
3144
|
</xsl:template>
|
3104
3145
|
|
@@ -5552,8 +5593,21 @@
|
|
5552
5593
|
|
5553
5594
|
<!-- <xsl:strip-space elements="iso:xref"/> -->
|
5554
5595
|
|
5555
|
-
<xsl:variable name="
|
5556
|
-
|
5596
|
+
<xsl:variable name="namespace_full_">
|
5597
|
+
<xsl:choose>
|
5598
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
5599
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
5600
|
+
</xsl:choose>
|
5601
|
+
</xsl:variable>
|
5602
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
5603
|
+
|
5604
|
+
<xsl:variable name="root_element_">
|
5605
|
+
<xsl:choose>
|
5606
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
5607
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
5608
|
+
</xsl:choose>
|
5609
|
+
</xsl:variable>
|
5610
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
5557
5611
|
|
5558
5612
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
5559
5613
|
|
@@ -10758,6 +10812,12 @@
|
|
10758
10812
|
</xsl:if>
|
10759
10813
|
</xsl:template>
|
10760
10814
|
|
10815
|
+
<xsl:template match="*[local-name()='strike']">
|
10816
|
+
<fo:inline text-decoration="line-through">
|
10817
|
+
<xsl:apply-templates/>
|
10818
|
+
</fo:inline>
|
10819
|
+
</xsl:template>
|
10820
|
+
|
10761
10821
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
10762
10822
|
<fo:block break-after="page"/>
|
10763
10823
|
<fo:block> </fo:block>
|
@@ -287,6 +287,7 @@
|
|
287
287
|
<xsl:variable name="i18n_date_printing"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">date_printing</xsl:with-param></xsl:call-template></xsl:variable>
|
288
288
|
<xsl:variable name="i18n_corrected_version"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">corrected_version</xsl:with-param></xsl:call-template></xsl:variable>
|
289
289
|
<xsl:variable name="i18n_fast_track_procedure"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">fast-track-procedure</xsl:with-param></xsl:call-template></xsl:variable>
|
290
|
+
<xsl:variable name="i18n_iso_cen_parallel"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">iso-cen-parallel</xsl:with-param></xsl:call-template></xsl:variable>
|
290
291
|
<xsl:variable name="i18n_all_rights_reserved"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">all_rights_reserved</xsl:with-param></xsl:call-template></xsl:variable>
|
291
292
|
<xsl:variable name="i18n_locality_page"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">locality.page</xsl:with-param></xsl:call-template></xsl:variable>
|
292
293
|
<xsl:variable name="i18n_locality_part"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">locality.part</xsl:with-param></xsl:call-template></xsl:variable>
|
@@ -1863,9 +1864,19 @@
|
|
1863
1864
|
|
1864
1865
|
<xsl:choose>
|
1865
1866
|
<xsl:when test="$stage-abbreviation = 'DIS'"> <!-- or $stage-abbreviation = 'DAMD' or $stage-abbreviation = 'DAM' -->
|
1866
|
-
<xsl:
|
1867
|
-
|
1868
|
-
|
1867
|
+
<xsl:choose>
|
1868
|
+
<xsl:when test="contains($stagename, ' ')">
|
1869
|
+
<!-- Draft International Standard to DRAFT -->
|
1870
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring-before($stagename, ' ')))"/>
|
1871
|
+
<xsl:value-of select="$linebreak"/>
|
1872
|
+
<xsl:value-of select="substring-after($stagename, ' ')"/>
|
1873
|
+
</xsl:when>
|
1874
|
+
<xsl:otherwise>
|
1875
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new($stagename))"/>
|
1876
|
+
<xsl:value-of select="$linebreak"/>
|
1877
|
+
<xsl:value-of select="$doctype_localized"/>
|
1878
|
+
</xsl:otherwise>
|
1879
|
+
</xsl:choose>
|
1869
1880
|
</xsl:when>
|
1870
1881
|
<!-- <xsl:when test="$stage-abbreviation = 'FDAmd' or $stage-abbreviation = 'FDAM'"><xsl:value-of select="$doctype_uppercased"/></xsl:when> -->
|
1871
1882
|
<xsl:when test="$stagename-header-coverpage != ''">
|
@@ -1949,7 +1960,8 @@
|
|
1949
1960
|
</xsl:if>
|
1950
1961
|
|
1951
1962
|
<xsl:if test="$stage-abbreviation = 'NWIP' or $stage-abbreviation = 'NP' or $stage-abbreviation = 'PWI' or $stage-abbreviation = 'AWI' or $stage-abbreviation = 'WD' or $stage-abbreviation = 'CD' or $stage-abbreviation = 'FDIS' or $stagename_abbreviation = 'FDIS' or $stage-abbreviation = 'DIS' or $stage-abbreviation = 'DAMD' or $stage-abbreviation = 'DAM' or $stagename_abbreviation = 'DIS'">
|
1952
|
-
<fo:block margin-top="20mm">
|
1963
|
+
<fo:block margin-top="20mm" font-size="11pt">
|
1964
|
+
<xsl:call-template name="insertInterFont"/>
|
1953
1965
|
<xsl:copy-of select="$ics"/>
|
1954
1966
|
</fo:block>
|
1955
1967
|
</xsl:if>
|
@@ -2046,7 +2058,7 @@
|
|
2046
2058
|
|
2047
2059
|
<xsl:if test="normalize-space($additionalNotes) != ''"> <!-- or $stage-abbreviation = 'PRF' -->
|
2048
2060
|
<xsl:attribute name="display-align">center</xsl:attribute>
|
2049
|
-
<fo:block>
|
2061
|
+
<fo:block margin-bottom="6.5mm">
|
2050
2062
|
<xsl:copy-of select="$additionalNotes"/>
|
2051
2063
|
</fo:block>
|
2052
2064
|
</xsl:if>
|
@@ -2163,11 +2175,15 @@
|
|
2163
2175
|
<fo:block-container height="22.5mm" display-align="center" role="SKIP">
|
2164
2176
|
|
2165
2177
|
<xsl:variable name="iso-fast-track" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:ext/iso:fast-track)"/>
|
2166
|
-
|
2167
2178
|
<xsl:if test="normalize-space($iso-fast-track) = 'true'">
|
2168
2179
|
<xsl:attribute name="height">28mm</xsl:attribute>
|
2169
2180
|
</xsl:if>
|
2170
2181
|
|
2182
|
+
<xsl:variable name="iso-cen-parallel" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:ext/iso:iso-cen-parallel)"/>
|
2183
|
+
<xsl:if test="normalize-space($iso-cen-parallel) = 'true'">
|
2184
|
+
<xsl:attribute name="height">35mm</xsl:attribute>
|
2185
|
+
</xsl:if>
|
2186
|
+
|
2171
2187
|
<fo:block>
|
2172
2188
|
<xsl:call-template name="insertCoverPageAdditionalNotes"/>
|
2173
2189
|
</fo:block>
|
@@ -3099,6 +3115,31 @@
|
|
3099
3115
|
</fo:block>
|
3100
3116
|
</fo:block-container>
|
3101
3117
|
</xsl:if>
|
3118
|
+
|
3119
|
+
<xsl:variable name="iso-cen-parallel" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:ext/iso:iso-cen-parallel)"/>
|
3120
|
+
|
3121
|
+
<xsl:if test="normalize-space($iso-cen-parallel) = 'true'">
|
3122
|
+
<fo:block-container space-before="4mm" role="SKIP">
|
3123
|
+
<fo:block background-color="rgb(77,77,77)" color="white" fox:border-radius="5pt" text-align="center" display-align="center" font-size="19pt" font-weight="bold" role="SKIP">
|
3124
|
+
<xsl:if test="$layoutVersion = '2024'">
|
3125
|
+
<xsl:attribute name="background-color">rgb(88,88,88)</xsl:attribute>
|
3126
|
+
<xsl:attribute name="fox:border-radius">0pt</xsl:attribute>
|
3127
|
+
<xsl:attribute name="font-size">16pt</xsl:attribute>
|
3128
|
+
</xsl:if>
|
3129
|
+
<fo:block-container height="13.2mm" role="SKIP">
|
3130
|
+
<xsl:if test="$layoutVersion = '2024'">
|
3131
|
+
<xsl:attribute name="height">11.2mm</xsl:attribute>
|
3132
|
+
<xsl:attribute name="padding-top">2mm</xsl:attribute>
|
3133
|
+
</xsl:if>
|
3134
|
+
<fo:block>
|
3135
|
+
<!-- <xsl:text>ISO/CEN PARALLEL PROCESSING</xsl:text> -->
|
3136
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new($i18n_iso_cen_parallel))"/>
|
3137
|
+
</fo:block>
|
3138
|
+
</fo:block-container>
|
3139
|
+
</fo:block>
|
3140
|
+
</fo:block-container>
|
3141
|
+
</xsl:if>
|
3142
|
+
|
3102
3143
|
</xsl:if>
|
3103
3144
|
</xsl:template>
|
3104
3145
|
|
@@ -5552,8 +5593,21 @@
|
|
5552
5593
|
|
5553
5594
|
<!-- <xsl:strip-space elements="iso:xref"/> -->
|
5554
5595
|
|
5555
|
-
<xsl:variable name="
|
5556
|
-
|
5596
|
+
<xsl:variable name="namespace_full_">
|
5597
|
+
<xsl:choose>
|
5598
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
5599
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
5600
|
+
</xsl:choose>
|
5601
|
+
</xsl:variable>
|
5602
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
5603
|
+
|
5604
|
+
<xsl:variable name="root_element_">
|
5605
|
+
<xsl:choose>
|
5606
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
5607
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
5608
|
+
</xsl:choose>
|
5609
|
+
</xsl:variable>
|
5610
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
5557
5611
|
|
5558
5612
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
5559
5613
|
|
@@ -10758,6 +10812,12 @@
|
|
10758
10812
|
</xsl:if>
|
10759
10813
|
</xsl:template>
|
10760
10814
|
|
10815
|
+
<xsl:template match="*[local-name()='strike']">
|
10816
|
+
<fo:inline text-decoration="line-through">
|
10817
|
+
<xsl:apply-templates/>
|
10818
|
+
</fo:inline>
|
10819
|
+
</xsl:template>
|
10820
|
+
|
10761
10821
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
10762
10822
|
<fo:block break-after="page"/>
|
10763
10823
|
<fo:block> </fo:block>
|
@@ -267,11 +267,11 @@ Detailed in https://www.relaton.org/model/creator/</a:documentation>
|
|
267
267
|
<a:documentation>An identifier of the person according to an international identifier scheme</a:documentation>
|
268
268
|
</ref>
|
269
269
|
</zeroOrMore>
|
270
|
-
<
|
270
|
+
<optional>
|
271
271
|
<ref name="contact">
|
272
272
|
<a:documentation>Contact information for the person, including URI, address, phone number, and email</a:documentation>
|
273
273
|
</ref>
|
274
|
-
</
|
274
|
+
</optional>
|
275
275
|
</element>
|
276
276
|
</define>
|
277
277
|
<define name="fullname">
|
@@ -454,11 +454,11 @@ real names (if the person is named with a pseudonym or user name); previous lega
|
|
454
454
|
<a:documentation>An identifier of the organization according to an international identifier scheme</a:documentation>
|
455
455
|
</ref>
|
456
456
|
</zeroOrMore>
|
457
|
-
<
|
457
|
+
<optional>
|
458
458
|
<ref name="contact">
|
459
459
|
<a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
|
460
460
|
</ref>
|
461
|
-
</
|
461
|
+
</optional>
|
462
462
|
<optional>
|
463
463
|
<ref name="logo">
|
464
464
|
<a:documentation>A logo for the organization</a:documentation>
|
@@ -540,12 +540,18 @@ real names (if the person is named with a pseudonym or user name); previous lega
|
|
540
540
|
<!-- TODO may change -->
|
541
541
|
<define name="contact">
|
542
542
|
<a:documentation>Contact information for a person or organization</a:documentation>
|
543
|
-
<
|
543
|
+
<zeroOrMore>
|
544
544
|
<ref name="address"/>
|
545
|
+
</zeroOrMore>
|
546
|
+
<zeroOrMore>
|
545
547
|
<ref name="phone"/>
|
548
|
+
</zeroOrMore>
|
549
|
+
<zeroOrMore>
|
546
550
|
<ref name="email"/>
|
551
|
+
</zeroOrMore>
|
552
|
+
<zeroOrMore>
|
547
553
|
<ref name="uri"/>
|
548
|
-
</
|
554
|
+
</zeroOrMore>
|
549
555
|
</define>
|
550
556
|
<define name="phone">
|
551
557
|
<a:documentation>The phone number associated with a person or organization</a:documentation>
|
data/lib/metanorma/iso/front.rb
CHANGED
@@ -22,6 +22,7 @@ module Metanorma
|
|
22
22
|
xml.updates_document_type a
|
23
23
|
a = node.attr("fast-track") and xml.send "fast-track", a != "false"
|
24
24
|
a = node.attr("price-code") and xml.price_code a
|
25
|
+
node.attr("iso-cen-parallel") and xml.iso_cen_parallel true
|
25
26
|
end
|
26
27
|
|
27
28
|
STAGE_ERROR = [Pubid::Core::Errors::HarmonizedStageCodeInvalidError,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -392,7 +392,7 @@ homepage: https://github.com/metanorma/metanorma-iso
|
|
392
392
|
licenses:
|
393
393
|
- BSD-2-Clause
|
394
394
|
metadata: {}
|
395
|
-
post_install_message:
|
395
|
+
post_install_message:
|
396
396
|
rdoc_options: []
|
397
397
|
require_paths:
|
398
398
|
- lib
|
@@ -408,7 +408,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
408
408
|
version: '0'
|
409
409
|
requirements: []
|
410
410
|
rubygems_version: 3.3.27
|
411
|
-
signing_key:
|
411
|
+
signing_key:
|
412
412
|
specification_version: 4
|
413
413
|
summary: metanorma-iso lets you write ISO standards in AsciiDoc.
|
414
414
|
test_files: []
|