metanorma-iso 3.4.2 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9929b1cb4a3a27bc2d67e5cc35208ce6c0cde2edfcf610819b52431664a6d6e1
4
- data.tar.gz: 1387bd4a7a70668aa172c398ef68e1ec7382742ae81d929e92925974be424526
3
+ metadata.gz: ffd0ecd525783f6b327b6f979ffad203a00ba129a098df7f00b5ea752962047a
4
+ data.tar.gz: fe606a5ff604a95d364626f925f473e4decc333498ddb72af25b5999051a45c9
5
5
  SHA512:
6
- metadata.gz: 39a5747db6618a81b7e0785edbf83c3e9bec40fdf11c7b51bf40eeb8f21e60a12acd50f6f1189eea94dd291b848174b83e354adeddc28d35b7c4bccbeb792f46
7
- data.tar.gz: fc1a91e0703ecda60bf4e92b6528e5f6c1205675ad5b1b7daa20264154c4e0844c4ef53a141279b98e1bcad39e49eff22d481fffb6ff639889ce88989faea35e
6
+ metadata.gz: fc527f503bacea7472bd6071ec54898a848da2f327459e35b3d308bf64a2da87e75d5f22417b2d53b904efd1c2a29eedac9b2251a0a04554379476b773bd1f4a
7
+ data.tar.gz: c181e74b7cd41be200bf97e507191f9077b1098a0c6f794bd2192e3c1fda83af05984dc62446d35a915e5960376475cc06059e6bfa64f6d3b3758b4bb9c7caab
@@ -827,7 +827,9 @@ nav {
827
827
  background-color: black;
828
828
  color: white !important;
829
829
  cursor: pointer;
830
- z-index: 100;
830
+ left: 0;
831
+ top: 0;
832
+ z-index: 103;
831
833
  }
832
834
  #toggle span {
833
835
  text-align: center;
@@ -776,7 +776,9 @@ nav {
776
776
  background-color: #f7f7f7;
777
777
  color: black !important;
778
778
  cursor: pointer;
779
- z-index: 100;
779
+ left: 0;
780
+ top: 0;
781
+ z-index: 103;
780
782
  }
781
783
  #toggle span {
782
784
  text-align: center;
@@ -4,44 +4,44 @@ fast-track-procedure: ファストトラック手順
4
4
  availablefrom: 入手先
5
5
  website: ウェブサイト
6
6
  see: 参照
7
- see_also: 第参照
7
+ see_also: 追加参照
8
8
  subclause: ""
9
9
  stage_dict:
10
- "00": Preliminary work item
11
- "10": New work item proposal
12
- "20": Working draft
13
- "30": Committee draft
14
- "40":
15
- international-standard: Draft International Standard
16
- technical-specification: Draft Technical Specification
17
- technical-report: Draft Technical Report
18
- publicly-available-specification: Draft Publicly Available Specification
19
- international-workshop-agreement: Draft International Workshop Agreement
20
- guide: Draft Guide
21
- amendment: Draft Amendment
22
- technical-corrigendum: Draft Technical Corrigendum
23
- directive: Draft Directive
24
- "50":
25
- international-standard: Final Draft International Standard
26
- technical-specification: Final Draft Technical Specification
27
- technical-report: Final Draft Technical Report
28
- publicly-available-specification: Final Draft Publicly Available Specification
29
- international-workshop-agreement: Final Draft International Workshop Agreement
30
- guide: Final Draft Guide
31
- amendment: Final Draft Amendment
32
- technical-corrigendum: Final Draft Technical Corrigendum
33
- directive: Final Draft Directive
34
- "60":
35
- international-standard: International Standard
36
- technical-specification: Technical Specification
37
- technical-report: Technical Report
38
- publicly-available-specification: Publicly Available Specification
39
- international-workshop-agreement: International Workshop Agreement
40
- guide: Guide
41
- amendment: Amendment
42
- technical-corrigendum: Technical Corrigendum
43
- directive: Directive
44
- "90": Review
45
- "95": Withdrawal
10
+ "00": 予備業務項目
11
+ "10": 新業務項目提案
12
+ "20": 作業原案
13
+ "30": 委員会原案
14
+ "40":
15
+ international-standard: 国際規格原案
16
+ technical-specification: 標準仕様書原案
17
+ technical-report: 標準報告書原案
18
+ publicly-available-specification: 公開仕様書原案
19
+ international-workshop-agreement: 国際ワークショップ協定原案
20
+ guide: 指針原案
21
+ amendment: 追補原案
22
+ technical-corrigendum: 技術正誤票原案
23
+ directive: 指令原案
24
+ "50":
25
+ international-standard: 最終国際規格原案
26
+ technical-specification: 最終標準仕様書原案
27
+ technical-report: 最終標準報告書原案
28
+ publicly-available-specification: 最終公開仕様書原案
29
+ international-workshop-agreement: 最終国際ワークショップ協定原案
30
+ guide: 最終指針原案
31
+ amendment: 最終追補原案
32
+ technical-corrigendum: 最終技術正誤票原案
33
+ directive: 最終指令原案
34
+ "60":
35
+ international-standard: 国際規格
36
+ technical-specification: 標準仕様書
37
+ technical-report: 標準報告書
38
+ publicly-available-specification: 公開仕様書
39
+ international-workshop-agreement: 国際ワークショップ協定
40
+ guide: 指針
41
+ amendment: 追補
42
+ technical-corrigendum: 技術正誤票
43
+ directive: 指令
44
+ "90": 見直し
45
+ "95": 廃止
46
46
  punct:
47
47
  biblio-terminator: ""
@@ -50,38 +50,6 @@ module IsoDoc
50
50
  def requirements_processor
51
51
  ::Metanorma::Requirements::Iso
52
52
  end
53
-
54
- def std_docid_semantic(id)
55
- id.nil? and return nil
56
- ret = Nokogiri::XML.fragment(id)
57
- ret.traverse do |x|
58
- x.text? or next
59
- x.replace(std_docid_semantic1(x.text))
60
- end
61
- to_xml(ret)
62
- end
63
-
64
- def std_docid_semantic1(id)
65
- id1 = id.sub(%r{\p{Zs}\(all\p{Zs}parts\)}, "###ALLPARTS###")
66
- ids = id1.split(/(\p{Zs})/)
67
- agency?(ids[0].sub(%r{^([^/]+)/.*$}, "\\1")) or return id
68
- ids.map! do |i|
69
- if %w(GUIDE TR TS DIR).include?(i)
70
- "<span class='stddocNumber'>#{i}</span>"
71
- elsif /\p{Zs}/.match?(i) then i
72
- else std_docid_semantic_full(i)
73
- end
74
- end.join.gsub(%r{</span>(\p{Zs}+)<}, "\\1</span><")
75
- .sub("###ALLPARTS###", " (all parts)")
76
- end
77
-
78
- def std_docid_semantic_full(ident)
79
- ident
80
- .sub(/^([^0-9]+)(\p{Zs}|$)/, "<span class='stdpublisher'>\\1</span>\\2")
81
- .sub(/([0-9]+)/, "<span class='stddocNumber'>\\1</span>")
82
- .sub(/-([0-9]+)/, "-<span class='stddocPartNumber'>\\1</span>")
83
- .sub(/:([0-9]{4})(?!\d)/, ":<span class='stdyear'>\\1</span>")
84
- end
85
53
  end
86
54
  end
87
55
  end
@@ -7115,6 +7115,14 @@
7115
7115
 
7116
7116
  <xsl:template match="@semx-id | @anchor" mode="update_xml_step1"/>
7117
7117
 
7118
+ <xsl:template match="mn:pagebreak" mode="update_xml_step1">
7119
+ <xsl:copy>
7120
+ <xsl:apply-templates select="@*" mode="update_xml_step1"/>
7121
+ <xsl:attribute name="from_source_xml">true</xsl:attribute>
7122
+ <xsl:apply-templates select="node()" mode="update_xml_step1"/>
7123
+ </xsl:copy>
7124
+ </xsl:template>
7125
+
7118
7126
  <!-- END: update new Presentation XML -->
7119
7127
 
7120
7128
  <!-- =========================================================================== -->
@@ -7152,6 +7160,7 @@
7152
7160
  <xsl:for-each select="ancestor-or-self::*[ancestor::mn:preface or ancestor::mn:sections or ancestor-or-self::mn:annex]">
7153
7161
  <xsl:if test="following-sibling::*">false</xsl:if>
7154
7162
  </xsl:for-each>
7163
+ <xsl:if test="@from_source_xml = 'true'">false</xsl:if>
7155
7164
  </xsl:variable>
7156
7165
 
7157
7166
  <xsl:if test="contains($isLast, 'false')">
@@ -8215,6 +8224,7 @@
8215
8224
  </xsl:attribute-set> <!-- sourcecode-style -->
8216
8225
 
8217
8226
  <xsl:template name="refine_sourcecode-style">
8227
+ <xsl:call-template name="setKeepAttributes"/>
8218
8228
  </xsl:template> <!-- refine_sourcecode-style -->
8219
8229
 
8220
8230
  <xsl:attribute-set name="sourcecode-number-style">
@@ -8958,10 +8968,38 @@
8958
8968
  <xsl:template name="refine_strike-style">
8959
8969
  </xsl:template>
8960
8970
 
8971
+ <xsl:attribute-set name="hr-block-style">
8972
+ <xsl:attribute name="font-size">1pt</xsl:attribute>
8973
+ <xsl:attribute name="keep-with-previous">always</xsl:attribute>
8974
+ <xsl:attribute name="role">SKIP</xsl:attribute>
8975
+ <xsl:attribute name="padding-top">-2pt</xsl:attribute>
8976
+ <xsl:attribute name="space-after">4pt</xsl:attribute>
8977
+ </xsl:attribute-set>
8978
+
8979
+ <xsl:template name="refine_hr-block-style">
8980
+ </xsl:template>
8981
+
8982
+ <xsl:attribute-set name="hr-style">
8983
+ <xsl:attribute name="leader-pattern">rule</xsl:attribute>
8984
+ <xsl:attribute name="leader-length">100%</xsl:attribute>
8985
+ </xsl:attribute-set>
8986
+
8987
+ <xsl:template name="refine_hr-style">
8988
+ </xsl:template>
8989
+
8961
8990
  <xsl:template match="mn:br">
8962
8991
  <xsl:value-of select="$linebreak"/>
8963
8992
  </xsl:template>
8964
8993
 
8994
+ <xsl:template match="mn:hr">
8995
+ <fo:block xsl:use-attribute-sets="hr-block-style">
8996
+ <xsl:call-template name="refine_hr-block-style"/>
8997
+ <fo:leader xsl:use-attribute-sets="hr-style">
8998
+ <xsl:call-template name="refine_hr-style"/>
8999
+ </fo:leader>
9000
+ </fo:block>
9001
+ </xsl:template>
9002
+
8965
9003
  <xsl:template match="mn:em">
8966
9004
  <fo:inline xsl:use-attribute-sets="em-style">
8967
9005
  <xsl:call-template name="refine_em_style"/>
@@ -10221,6 +10259,7 @@
10221
10259
  text line 1
10222
10260
  text line 2
10223
10261
  -->
10262
+ <xsl:variable name="example_display_in"><!-- don't change here, only for override xsl --></xsl:variable> <!-- block or inline -->
10224
10263
  <xsl:template match="mn:example" name="example">
10225
10264
  <xsl:call-template name="setNamedDestination"/>
10226
10265
  <fo:block-container id="{@id}" xsl:use-attribute-sets="example-style" role="SKIP">
@@ -10231,6 +10270,7 @@
10231
10270
 
10232
10271
  <xsl:variable name="fo_element">
10233
10272
  <xsl:if test=".//mn:table or .//mn:dl or *[not(self::mn:fmt-name)][1][self::mn:sourcecode]">block</xsl:if>
10273
+ <xsl:if test="normalize-space($example_display_in) != ''"><xsl:value-of select="$example_display_in"/></xsl:if>
10234
10274
  <xsl:choose>
10235
10275
  <xsl:when test="$layoutVersion = '1951' and $revision_date_num &lt; 19610101">list</xsl:when>
10236
10276
  <xsl:otherwise>inline</xsl:otherwise>
@@ -7115,6 +7115,14 @@
7115
7115
 
7116
7116
  <xsl:template match="@semx-id | @anchor" mode="update_xml_step1"/>
7117
7117
 
7118
+ <xsl:template match="mn:pagebreak" mode="update_xml_step1">
7119
+ <xsl:copy>
7120
+ <xsl:apply-templates select="@*" mode="update_xml_step1"/>
7121
+ <xsl:attribute name="from_source_xml">true</xsl:attribute>
7122
+ <xsl:apply-templates select="node()" mode="update_xml_step1"/>
7123
+ </xsl:copy>
7124
+ </xsl:template>
7125
+
7118
7126
  <!-- END: update new Presentation XML -->
7119
7127
 
7120
7128
  <!-- =========================================================================== -->
@@ -7152,6 +7160,7 @@
7152
7160
  <xsl:for-each select="ancestor-or-self::*[ancestor::mn:preface or ancestor::mn:sections or ancestor-or-self::mn:annex]">
7153
7161
  <xsl:if test="following-sibling::*">false</xsl:if>
7154
7162
  </xsl:for-each>
7163
+ <xsl:if test="@from_source_xml = 'true'">false</xsl:if>
7155
7164
  </xsl:variable>
7156
7165
 
7157
7166
  <xsl:if test="contains($isLast, 'false')">
@@ -8215,6 +8224,7 @@
8215
8224
  </xsl:attribute-set> <!-- sourcecode-style -->
8216
8225
 
8217
8226
  <xsl:template name="refine_sourcecode-style">
8227
+ <xsl:call-template name="setKeepAttributes"/>
8218
8228
  </xsl:template> <!-- refine_sourcecode-style -->
8219
8229
 
8220
8230
  <xsl:attribute-set name="sourcecode-number-style">
@@ -8958,10 +8968,38 @@
8958
8968
  <xsl:template name="refine_strike-style">
8959
8969
  </xsl:template>
8960
8970
 
8971
+ <xsl:attribute-set name="hr-block-style">
8972
+ <xsl:attribute name="font-size">1pt</xsl:attribute>
8973
+ <xsl:attribute name="keep-with-previous">always</xsl:attribute>
8974
+ <xsl:attribute name="role">SKIP</xsl:attribute>
8975
+ <xsl:attribute name="padding-top">-2pt</xsl:attribute>
8976
+ <xsl:attribute name="space-after">4pt</xsl:attribute>
8977
+ </xsl:attribute-set>
8978
+
8979
+ <xsl:template name="refine_hr-block-style">
8980
+ </xsl:template>
8981
+
8982
+ <xsl:attribute-set name="hr-style">
8983
+ <xsl:attribute name="leader-pattern">rule</xsl:attribute>
8984
+ <xsl:attribute name="leader-length">100%</xsl:attribute>
8985
+ </xsl:attribute-set>
8986
+
8987
+ <xsl:template name="refine_hr-style">
8988
+ </xsl:template>
8989
+
8961
8990
  <xsl:template match="mn:br">
8962
8991
  <xsl:value-of select="$linebreak"/>
8963
8992
  </xsl:template>
8964
8993
 
8994
+ <xsl:template match="mn:hr">
8995
+ <fo:block xsl:use-attribute-sets="hr-block-style">
8996
+ <xsl:call-template name="refine_hr-block-style"/>
8997
+ <fo:leader xsl:use-attribute-sets="hr-style">
8998
+ <xsl:call-template name="refine_hr-style"/>
8999
+ </fo:leader>
9000
+ </fo:block>
9001
+ </xsl:template>
9002
+
8965
9003
  <xsl:template match="mn:em">
8966
9004
  <fo:inline xsl:use-attribute-sets="em-style">
8967
9005
  <xsl:call-template name="refine_em_style"/>
@@ -10221,6 +10259,7 @@
10221
10259
  text line 1
10222
10260
  text line 2
10223
10261
  -->
10262
+ <xsl:variable name="example_display_in"><!-- don't change here, only for override xsl --></xsl:variable> <!-- block or inline -->
10224
10263
  <xsl:template match="mn:example" name="example">
10225
10264
  <xsl:call-template name="setNamedDestination"/>
10226
10265
  <fo:block-container id="{@id}" xsl:use-attribute-sets="example-style" role="SKIP">
@@ -10231,6 +10270,7 @@
10231
10270
 
10232
10271
  <xsl:variable name="fo_element">
10233
10272
  <xsl:if test=".//mn:table or .//mn:dl or *[not(self::mn:fmt-name)][1][self::mn:sourcecode]">block</xsl:if>
10273
+ <xsl:if test="normalize-space($example_display_in) != ''"><xsl:value-of select="$example_display_in"/></xsl:if>
10234
10274
  <xsl:choose>
10235
10275
  <xsl:when test="$layoutVersion = '1951' and $revision_date_num &lt; 19610101">list</xsl:when>
10236
10276
  <xsl:otherwise>inline</xsl:otherwise>
@@ -1,3 +1,5 @@
1
+ require "pubid"
2
+
1
3
  module IsoDoc
2
4
  module Iso
3
5
  class PresentationXMLConvert < IsoDoc::PresentationXMLConvert
@@ -151,9 +153,15 @@ module IsoDoc
151
153
  @xrefs.anchor(node["target"], :type))
152
154
  end
153
155
 
154
- def anchor_xref(node, target, container: false)
155
- # require "debug"; binding.b
156
- super
156
+ def annotate_docid?(_id)
157
+ true
158
+ end
159
+
160
+ def std_docid_span_classes(id)
161
+ id.gsub('class="publisher"', 'class="stdpublisher"')
162
+ .gsub('class="docnumber"', 'class="stddocNumber"')
163
+ .gsub('class="part"', 'class="stddocPartNumber"')
164
+ .gsub('class="year"', 'class="stdyear"')
157
165
  end
158
166
  end
159
167
  end
@@ -187,6 +187,15 @@ Applicable to modify and delete</a:documentation>
187
187
  <a:documentation>Optional caption of this block</a:documentation>
188
188
  </attribute>
189
189
  </optional>
190
+ <optional>
191
+ <attribute name="position">
192
+ <a:documentation>For an "add" change, whether the change is added before or after the location</a:documentation>
193
+ <choice>
194
+ <value>before</value>
195
+ <value>after</value>
196
+ </choice>
197
+ </attribute>
198
+ </optional>
190
199
  <optional>
191
200
  <element name="location">
192
201
  <a:documentation>The location(s) in the original document which have undergone the change described in this block</a:documentation>
@@ -1142,11 +1142,11 @@ NOTE: This should preferably be encoded as a URI or short identifier, rather th
1142
1142
  <a:documentation>Information about how long the current description of the bibliographic item is valid for</a:documentation>
1143
1143
  </ref>
1144
1144
  </optional>
1145
- <optional>
1145
+ <zeroOrMore>
1146
1146
  <ref name="depiction">
1147
1147
  <a:documentation>Depiction of the bibliographic item, typically an image</a:documentation>
1148
1148
  </ref>
1149
- </optional>
1149
+ </zeroOrMore>
1150
1150
  </define>
1151
1151
  <define name="ReducedBibliographicItem">
1152
1152
  <a:documentation>Reduced description of a bibliographic resource, without mandatory title and docidentifier, used for document relations
@@ -2015,15 +2015,11 @@ provided that it is not the entire bibliographic item that is so related</a:docu
2015
2015
  <a:documentation>A version of the bibliographic item (within an edition). Can be used for drafts</a:documentation>
2016
2016
  <element name="version">
2017
2017
  <optional>
2018
- <ref name="revision-date">
2019
- <a:documentation>The date at which the current version of the bibliographic item was produced</a:documentation>
2020
- </ref>
2021
- </optional>
2022
- <optional>
2023
- <ref name="draft">
2024
- <a:documentation>The identifier for the current draft of the bibliographic item</a:documentation>
2025
- </ref>
2018
+ <attribute name="type">
2019
+ <a:documentation>Versioning scheme, in case of multiple versioning schemes</a:documentation>
2020
+ </attribute>
2026
2021
  </optional>
2022
+ <text/>
2027
2023
  </element>
2028
2024
  </define>
2029
2025
  <define name="vedition">
@@ -2063,13 +2059,13 @@ provided that it is not the entire bibliographic item that is so related</a:docu
2063
2059
  <ref name="LocalizedString"/>
2064
2060
  </element>
2065
2061
  </optional>
2066
- <oneOrMore>
2062
+ <zeroOrMore>
2067
2063
  <element name="taxon">
2068
2064
  <a:documentation>The keywords as a hierarchical taxonomy. For example, the sequence of `taxon` elements
2069
2065
  `pump`, `centrifugal pump`, `line shaft pump` represents a taxonomic classification</a:documentation>
2070
2066
  <ref name="LocalizedString"/>
2071
2067
  </element>
2072
- </oneOrMore>
2068
+ </zeroOrMore>
2073
2069
  <zeroOrMore>
2074
2070
  <ref name="vocabid">
2075
2071
  <a:documentation>Identifiers for the keyword as a controlled vocabulary</a:documentation>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <!-- VERSION v2.1.5 -->
3
+ <!-- VERSION v2.1.6 -->
4
4
 
5
5
  <!--
6
6
  ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
@@ -164,6 +164,9 @@ Sources are currently only rendered in metanorma-plateau</a:documentation>
164
164
  </choice>
165
165
  </attribute>
166
166
  </optional>
167
+ <optional>
168
+ <ref name="DisplayDirective"/>
169
+ </optional>
167
170
  </define>
168
171
  <define name="DlAttributes">
169
172
  <ref name="BlockAttributes"/>
@@ -814,6 +817,9 @@ titlecase, or lowercase</a:documentation>
814
817
  </define>
815
818
  <define name="UlAttributes" combine="interleave">
816
819
  <ref name="BlockAttributes"/>
820
+ <optional>
821
+ <ref name="DisplayDirective"/>
822
+ </optional>
817
823
  </define>
818
824
  <define name="TableAttributes" combine="interleave">
819
825
  <optional>
@@ -1968,7 +1974,7 @@ used in document amendments</a:documentation>
1968
1974
  <a:documentation>Zero or more examples of how the term is to be used</a:documentation>
1969
1975
  </ref>
1970
1976
  </zeroOrMore>
1971
- <ref name="TermSource">
1977
+ <ref name="TermSources">
1972
1978
  <a:documentation>Bibliographic references for the managed term</a:documentation>
1973
1979
  </ref>
1974
1980
  </element>
@@ -2077,7 +2083,7 @@ used in document amendments</a:documentation>
2077
2083
  <a:documentation>Information about how the designation is to be used</a:documentation>
2078
2084
  </ref>
2079
2085
  </optional>
2080
- <ref name="TermSource">
2086
+ <ref name="TermSources">
2081
2087
  <a:documentation>Bibliographic references for this designation of the managed term</a:documentation>
2082
2088
  </ref>
2083
2089
  </define>
@@ -2348,7 +2354,7 @@ used in document amendments</a:documentation>
2348
2354
  <ref name="formula"/>
2349
2355
  </choice>
2350
2356
  </oneOrMore>
2351
- <ref name="TermSource">
2357
+ <ref name="TermSources">
2352
2358
  <a:documentation>Bibliographic references for this designation of the managed term</a:documentation>
2353
2359
  </ref>
2354
2360
  </element>
@@ -2365,7 +2371,7 @@ used in document amendments</a:documentation>
2365
2371
  <ref name="formula"/>
2366
2372
  </choice>
2367
2373
  </oneOrMore>
2368
- <ref name="TermSource">
2374
+ <ref name="TermSources">
2369
2375
  <a:documentation>Bibliographic references for this designation of the managed term</a:documentation>
2370
2376
  </ref>
2371
2377
  </element>
@@ -2788,6 +2794,26 @@ to span across both columns</a:documentation>
2788
2794
  </attribute>
2789
2795
  </optional>
2790
2796
  </define>
2797
+ <define name="DisplayDirective">
2798
+ <a:documentation>Directive on how to render a block in Presentation XML </a:documentation>
2799
+ <optional>
2800
+ <attribute name="display">
2801
+ <a:documentation>Display style for block.
2802
+ If the block is `ol` or `ul` and dispay is `table`,
2803
+ the list is to be rendered as a table, with a column for each nested level, and a row for each terminal sublist</a:documentation>
2804
+ </attribute>
2805
+ </optional>
2806
+ <optional>
2807
+ <attribute name="display-directives">
2808
+ <a:documentation>display-directives is a key-value set of attributes, guiding how the rendering of the block should happen.
2809
+ The key-value set is comma-delimited, and encoded as `key1='value1',key2='value'`,
2810
+ as with stem//mn/@data-metanorma-numberformat
2811
+ * If the block is `ol` or `ul` and dispay is `table`, display-directives can have the value `colgroup='col1,col2,...coln'`,
2812
+ where each col value is a percentage width of the column in the output table (with no % suffix).
2813
+ e.g. `colgroup='50,33.3,16.7'` </a:documentation>
2814
+ </attribute>
2815
+ </optional>
2816
+ </define>
2791
2817
  <define name="ReferencesAttributes">
2792
2818
  <optional>
2793
2819
  <attribute name="obligation">
@@ -2800,7 +2826,7 @@ Normative References contents contain normative references, but as a clause in t
2800
2826
  <data type="boolean"/>
2801
2827
  </attribute>
2802
2828
  </define>
2803
- <define name="TermSource">
2829
+ <define name="TermSources">
2804
2830
  <zeroOrMore>
2805
2831
  <ref name="termsource"/>
2806
2832
  </zeroOrMore>
@@ -47,7 +47,15 @@ the tag name of the top level containers</a:documentation>
47
47
  </optional>
48
48
  <optional>
49
49
  <attribute name="model">
50
- <a:documentation>Model of requirements realised by this requirement, e.g. "ogc" for Modspec</a:documentation>
50
+ <a:documentation>Model of requirements realised by this requirement, e.g. "ogc" for Modspec.
51
+ Current legal values: ogc, default</a:documentation>
52
+ </attribute>
53
+ </optional>
54
+ <optional>
55
+ <attribute name="render">
56
+ <a:documentation>Rendering of requirements realised by this requirement. Current legal values:
57
+ default:: default, inline
58
+ ogc:: default</a:documentation>
51
59
  </attribute>
52
60
  </optional>
53
61
  <optional>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Iso
3
- VERSION = "3.4.2".freeze
3
+ VERSION = "3.4.4".freeze
4
4
  end
5
5
  end
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: 3.4.2
4
+ version: 3.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-13 00:00:00.000000000 Z
11
+ date: 2026-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc