metanorma-iec 2.7.0 → 2.7.1
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 +4 -4
- data/lib/isodoc/iec/iec.international-standard.xsl +142 -58
- data/lib/isodoc/iec/xref.rb +4 -5
- data/lib/metanorma/iec/basicdoc.rng +5 -5
- data/lib/metanorma/iec/isodoc.rng +7 -1
- data/lib/metanorma/iec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f1e315189e3564df6c773144c08c36c95f35abcc7682b7722cde204bf419e5b
|
4
|
+
data.tar.gz: 85224ef9fb4331572fd070a28703d6ec993d2968b31fa5081d5d3a54c4c66ad7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14c257e1bd6081f2e8ffb54d87489b15f7752665be971c979de732b29366a007ad9e43c02e0b0e4cac765a1640769d63059ffc9ab47cf24e7e5cd20c547e0155
|
7
|
+
data.tar.gz: 4f23fd6d2121bda6559174faf08ca4f2d75142094a313ac121f406dfc593bf221d304e6ae007c68002cb9d8fa204a4ffc62290f0f05214f07596e12f057bafea
|
@@ -194,7 +194,7 @@
|
|
194
194
|
<fo:region-body margin-top="107mm" margin-bottom="0mm" margin-left="18mm" margin-right="0mm"/>
|
195
195
|
</fo:simple-page-master>
|
196
196
|
|
197
|
-
<fo:simple-page-master master-name="
|
197
|
+
<fo:simple-page-master master-name="back-page" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
|
198
198
|
<fo:region-body margin-top="107mm" margin-bottom="0mm" margin-left="18mm" margin-right="0mm" background-color="rgb(236, 236, 236)"/>
|
199
199
|
<fo:region-before region-name="header" extent="107mm"/>
|
200
200
|
<fo:region-start region-name="left-region" extent="18mm"/>
|
@@ -1198,43 +1198,13 @@
|
|
1198
1198
|
<xsl:for-each select="xalan:nodeset($contents)//mnx:item[@display = 'true']"><!-- [@display = 'true']
|
1199
1199
|
[@level <= 3]
|
1200
1200
|
[not(@level = 2 and starts-with(@section, '0'))] skip clause from preface -->
|
1201
|
-
<fo:block
|
1202
|
-
<xsl:if test="@level = 1">
|
1203
|
-
<xsl:attribute name="margin-bottom">5pt</xsl:attribute>
|
1204
|
-
</xsl:if>
|
1205
|
-
<xsl:if test="@level = 2">
|
1206
|
-
<xsl:attribute name="margin-bottom">3pt</xsl:attribute>
|
1207
|
-
</xsl:if>
|
1208
|
-
<xsl:if test="@level >= 3">
|
1209
|
-
<xsl:attribute name="margin-bottom">2pt</xsl:attribute>
|
1210
|
-
</xsl:if>
|
1211
|
-
<xsl:if test="@type = 'indexsect'">
|
1212
|
-
<xsl:attribute name="space-before">16pt</xsl:attribute>
|
1213
|
-
</xsl:if>
|
1214
|
-
<xsl:if test="@type = 'references'">
|
1215
|
-
<xsl:attribute name="space-before">5pt</xsl:attribute>
|
1216
|
-
</xsl:if>
|
1217
|
-
|
1201
|
+
<fo:block role="TOCI">
|
1218
1202
|
<fo:basic-link internal-destination="{@id}" fox:alt-text="{@section} {mnx:title}"> <!-- link at this level needs for PDF structure tags -->
|
1219
1203
|
|
1220
|
-
<fo:list-block
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
<xsl:when test="@level = 2">8mm</xsl:when>
|
1225
|
-
<xsl:when test="@level >= 3"><xsl:value-of select="(@level - 2) * 23"/>mm</xsl:when>
|
1226
|
-
<xsl:otherwise>0mm</xsl:otherwise>
|
1227
|
-
</xsl:choose>
|
1228
|
-
</xsl:attribute>
|
1229
|
-
<xsl:attribute name="provisional-distance-between-starts">
|
1230
|
-
<xsl:choose>
|
1231
|
-
<xsl:when test="@section = ''">0mm</xsl:when>
|
1232
|
-
<xsl:when test="@level = 1">8mm</xsl:when>
|
1233
|
-
<xsl:when test="@level = 2">15mm</xsl:when>
|
1234
|
-
<xsl:when test="@level >= 3"><xsl:value-of select="(@level - 2) * 19"/>mm</xsl:when>
|
1235
|
-
<xsl:otherwise>0mm</xsl:otherwise>
|
1236
|
-
</xsl:choose>
|
1237
|
-
</xsl:attribute>
|
1204
|
+
<fo:list-block xsl:use-attribute-sets="toc-item-style">
|
1205
|
+
|
1206
|
+
<xsl:call-template name="refine_toc-item-style"/>
|
1207
|
+
|
1238
1208
|
<fo:list-item role="SKIP">
|
1239
1209
|
<fo:list-item-label end-indent="label-end()" role="SKIP">
|
1240
1210
|
<fo:block>
|
@@ -1252,7 +1222,7 @@
|
|
1252
1222
|
</xsl:call-template>
|
1253
1223
|
<xsl:text> </xsl:text>
|
1254
1224
|
<fo:inline keep-together.within-line="always" role="SKIP">
|
1255
|
-
<fo:leader
|
1225
|
+
<fo:leader xsl:use-attribute-sets="toc-leader-style"/>
|
1256
1226
|
<fo:inline role="SKIP"><fo:wrapper role="artifact"><fo:page-number-citation ref-id="{@id}"/></fo:wrapper></fo:inline>
|
1257
1227
|
</fo:inline>
|
1258
1228
|
</fo:basic-link>
|
@@ -1264,31 +1234,31 @@
|
|
1264
1234
|
</fo:block>
|
1265
1235
|
</xsl:for-each>
|
1266
1236
|
|
1267
|
-
<xsl:
|
1268
|
-
<
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
</xsl:
|
1237
|
+
<xsl:for-each select="$contents//mnx:figures/mnx:figure">
|
1238
|
+
<xsl:if test="position() = 1">
|
1239
|
+
<fo:block margin-bottom="5pt" role="SKIP"><fo:wrapper role="artifact"> </fo:wrapper></fo:block>
|
1240
|
+
</xsl:if>
|
1241
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1242
|
+
</xsl:for-each>
|
1273
1243
|
|
1274
|
-
<xsl:
|
1275
|
-
<
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
</xsl:
|
1244
|
+
<xsl:for-each select="$contents//mnx:tables/mnx:table">
|
1245
|
+
<xsl:if test="position() = 1">
|
1246
|
+
<fo:block margin-bottom="5pt" role="SKIP"><fo:wrapper role="artifact"> </fo:wrapper></fo:block>
|
1247
|
+
</xsl:if>
|
1248
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1249
|
+
</xsl:for-each>
|
1280
1250
|
|
1281
1251
|
<!-- </fo:block>
|
1282
1252
|
</fo:block-container> -->
|
1283
1253
|
</xsl:template> <!-- END: insertTOCpages -->
|
1284
1254
|
|
1285
1255
|
<xsl:template name="insertListOf_Item">
|
1286
|
-
<fo:block
|
1256
|
+
<fo:block xsl:use-attribute-sets="toc-listof-item-style">
|
1287
1257
|
<xsl:variable name="alt_text" select="normalize-space(translate(normalize-space(mn:fmt-name), ' —', ' -'))"/>
|
1288
1258
|
<fo:basic-link internal-destination="{@id}" fox:alt-text="{$alt_text}"> <!-- {local-name()} {@id} -->
|
1289
1259
|
<xsl:apply-templates select="." mode="contents"/>
|
1290
1260
|
<fo:inline keep-together.within-line="always" role="SKIP">
|
1291
|
-
<fo:leader
|
1261
|
+
<fo:leader xsl:use-attribute-sets="toc-leader-style"/>
|
1292
1262
|
<fo:wrapper role="artifact">
|
1293
1263
|
<fo:page-number-citation ref-id="{@id}"/>
|
1294
1264
|
</fo:wrapper>
|
@@ -1297,7 +1267,7 @@
|
|
1297
1267
|
</fo:block>
|
1298
1268
|
</xsl:template>
|
1299
1269
|
|
1300
|
-
<xsl:template match="mn:preface//mn:clause[@type = 'toc']" priority="3">
|
1270
|
+
<xsl:template match="mn:preface//mn:clause[@type = 'toc']" name="toc" priority="3">
|
1301
1271
|
<fo:block-container role="SKIP">
|
1302
1272
|
<!-- render 'Contents' outside if role="TOC" -->
|
1303
1273
|
<xsl:apply-templates select="mn:fmt-title"/>
|
@@ -1317,7 +1287,7 @@
|
|
1317
1287
|
</xsl:template>
|
1318
1288
|
|
1319
1289
|
<xsl:template match="mn:preface//mn:clause[@type = 'toc']/mn:fmt-title" priority="3">
|
1320
|
-
<fo:block
|
1290
|
+
<fo:block xsl:use-attribute-sets="toc-title-style">
|
1321
1291
|
<xsl:call-template name="addLetterSpacing">
|
1322
1292
|
<xsl:with-param name="text" select="java:toUpperCase(java:java.lang.String.new(.))"/>
|
1323
1293
|
</xsl:call-template>
|
@@ -2018,7 +1988,7 @@
|
|
2018
1988
|
</fo:flow>
|
2019
1989
|
</fo:page-sequence>
|
2020
1990
|
|
2021
|
-
<fo:page-sequence master-reference="
|
1991
|
+
<fo:page-sequence master-reference="back-page">
|
2022
1992
|
<fo:flow flow-name="xsl-region-body">
|
2023
1993
|
<fo:block-container margin-left="20mm" margin-top="19mm">
|
2024
1994
|
<fo:block-container margin-left="0mm" margin-top="0mm">
|
@@ -7276,6 +7246,16 @@
|
|
7276
7246
|
</xsl:variable>
|
7277
7247
|
<xsl:variable name="quot">"</xsl:variable>
|
7278
7248
|
<xsl:variable name="styles_">
|
7249
|
+
<!-- PDF: Borderless tables https://github.com/metanorma/metanorma-jis/issues/344 -->
|
7250
|
+
<xsl:if test="@plain = 'true' or ancestor::mn:table/@plain = 'true'">
|
7251
|
+
<style name="border-top">none</style>
|
7252
|
+
<style name="border-right">none</style>
|
7253
|
+
<style name="border-left">none</style>
|
7254
|
+
<style name="border-bottom">none</style>
|
7255
|
+
<style name="color">inherit</style>
|
7256
|
+
<style name="background-color">transparent</style>
|
7257
|
+
</xsl:if>
|
7258
|
+
|
7279
7259
|
<xsl:for-each select="xalan:nodeset($styles__)/mnx:item">
|
7280
7260
|
<xsl:variable name="key" select="normalize-space(substring-before(., ':'))"/>
|
7281
7261
|
<xsl:variable name="value" select="normalize-space(substring-after(translate(.,$quot,''), ':'))"/>
|
@@ -9270,7 +9250,10 @@
|
|
9270
9250
|
|
9271
9251
|
<xsl:call-template name="setNamedDestination"/>
|
9272
9252
|
|
9273
|
-
<fo:block-container
|
9253
|
+
<fo:block-container xsl:use-attribute-sets="note-style" role="SKIP">
|
9254
|
+
<xsl:if test="not(parent::mn:references)">
|
9255
|
+
<xsl:copy-of select="@id"/>
|
9256
|
+
</xsl:if>
|
9274
9257
|
|
9275
9258
|
<xsl:call-template name="setBlockSpanAll"/>
|
9276
9259
|
|
@@ -11976,8 +11959,8 @@
|
|
11976
11959
|
</xsl:template> <!-- bibitem -->
|
11977
11960
|
|
11978
11961
|
<!-- Bibliography (non-normative references) -->
|
11979
|
-
<xsl:template match="mn:references[not(@normative='true')]/mn:bibitem" name="bibitem_non_normative" priority="2">
|
11980
|
-
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][self::mn:bibitem] and 1 = 1)"/> <!-- current bibiitem is non-first --> <!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
|
11962
|
+
<xsl:template match="mn:references[not(@normative='true')]/mn:bibitem | mn:references[not(@normative='true')]/mn:note" name="bibitem_non_normative" priority="2">
|
11963
|
+
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[not(self::mn:note)][1][self::mn:bibitem] and 1 = 1)"/> <!-- current bibiitem is non-first --> <!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
|
11981
11964
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
11982
11965
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
11983
11966
|
<xsl:call-template name="setNamedDestination"/>
|
@@ -12029,7 +12012,7 @@
|
|
12029
12012
|
</fo:list-item>
|
12030
12013
|
</xsl:otherwise>
|
12031
12014
|
</xsl:choose>
|
12032
|
-
<xsl:apply-templates select="following-sibling::*[1][self::mn:bibitem]
|
12015
|
+
<xsl:apply-templates select="following-sibling::*[1]"> <!-- [self::mn:bibitem] -->
|
12033
12016
|
<xsl:with-param name="skip">false</xsl:with-param>
|
12034
12017
|
</xsl:apply-templates>
|
12035
12018
|
</xsl:template>
|
@@ -12046,8 +12029,26 @@
|
|
12046
12029
|
</xsl:apply-templates>
|
12047
12030
|
<xsl:apply-templates select="mn:formattedref"/>
|
12048
12031
|
<!-- end bibitem processing -->
|
12032
|
+
|
12033
|
+
<xsl:call-template name="processBibliographyNote"/>
|
12049
12034
|
</xsl:template> <!-- processBibitem (bibitem) -->
|
12050
12035
|
|
12036
|
+
<xsl:template name="processBibliographyNote">
|
12037
|
+
<xsl:if test="self::mn:note">
|
12038
|
+
<xsl:variable name="note_node">
|
12039
|
+
<xsl:element name="{local-name(..)}" namespace="{$namespace_full}"> <!-- save parent context node for determining styles -->
|
12040
|
+
<xsl:copy> <!-- skip @id -->
|
12041
|
+
<xsl:copy-of select="node()"/>
|
12042
|
+
</xsl:copy>
|
12043
|
+
</xsl:element>
|
12044
|
+
</xsl:variable>
|
12045
|
+
<!-- <xsl:for-each select="xalan:nodeset($note_node)//mn:note">
|
12046
|
+
<xsl:call-template name="note"/>
|
12047
|
+
</xsl:for-each> -->
|
12048
|
+
<xsl:call-template name="note"/>
|
12049
|
+
</xsl:if>
|
12050
|
+
</xsl:template>
|
12051
|
+
|
12051
12052
|
<xsl:template match="mn:title" mode="title">
|
12052
12053
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
12053
12054
|
</xsl:template>
|
@@ -12599,6 +12600,89 @@
|
|
12599
12600
|
<!-- End Form's elements processing -->
|
12600
12601
|
<!-- =================== -->
|
12601
12602
|
|
12603
|
+
<xsl:attribute-set name="toc-style">
|
12604
|
+
</xsl:attribute-set>
|
12605
|
+
|
12606
|
+
<xsl:template name="refine_toc-style">
|
12607
|
+
</xsl:template>
|
12608
|
+
|
12609
|
+
<xsl:attribute-set name="toc-title-style">
|
12610
|
+
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
12611
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
12612
|
+
<xsl:attribute name="margin-bottom">22pt</xsl:attribute>
|
12613
|
+
</xsl:attribute-set>
|
12614
|
+
|
12615
|
+
<xsl:attribute-set name="toc-title-page-style">
|
12616
|
+
</xsl:attribute-set> <!-- toc-title-page-style -->
|
12617
|
+
|
12618
|
+
<xsl:attribute-set name="toc-item-block-style">
|
12619
|
+
</xsl:attribute-set>
|
12620
|
+
|
12621
|
+
<xsl:template name="refine_toc-item-block-style">
|
12622
|
+
</xsl:template>
|
12623
|
+
|
12624
|
+
<xsl:attribute-set name="toc-item-style">
|
12625
|
+
<xsl:attribute name="role">TOCI</xsl:attribute>
|
12626
|
+
<xsl:attribute name="role">SKIP</xsl:attribute>
|
12627
|
+
</xsl:attribute-set> <!-- END: toc-item-style -->
|
12628
|
+
|
12629
|
+
<xsl:template name="refine_toc-item-style">
|
12630
|
+
<xsl:if test="@level = 1">
|
12631
|
+
<xsl:attribute name="margin-bottom">5pt</xsl:attribute>
|
12632
|
+
</xsl:if>
|
12633
|
+
<xsl:if test="@level = 2">
|
12634
|
+
<xsl:attribute name="margin-bottom">3pt</xsl:attribute>
|
12635
|
+
</xsl:if>
|
12636
|
+
<xsl:if test="@level >= 3">
|
12637
|
+
<xsl:attribute name="margin-bottom">2pt</xsl:attribute>
|
12638
|
+
</xsl:if>
|
12639
|
+
<xsl:if test="@type = 'indexsect'">
|
12640
|
+
<xsl:attribute name="space-before">16pt</xsl:attribute>
|
12641
|
+
</xsl:if>
|
12642
|
+
<xsl:if test="@type = 'references'">
|
12643
|
+
<xsl:attribute name="space-before">5pt</xsl:attribute>
|
12644
|
+
</xsl:if>
|
12645
|
+
<xsl:attribute name="margin-left">
|
12646
|
+
<xsl:choose>
|
12647
|
+
<xsl:when test="mnx:title/@variant-title = 'true'">0mm</xsl:when>
|
12648
|
+
<xsl:when test="@level = 2">8mm</xsl:when>
|
12649
|
+
<xsl:when test="@level >= 3"><xsl:value-of select="(@level - 2) * 23"/>mm</xsl:when>
|
12650
|
+
<xsl:otherwise>0mm</xsl:otherwise>
|
12651
|
+
</xsl:choose>
|
12652
|
+
</xsl:attribute>
|
12653
|
+
<xsl:attribute name="provisional-distance-between-starts">
|
12654
|
+
<xsl:choose>
|
12655
|
+
<xsl:when test="@section = ''">0mm</xsl:when>
|
12656
|
+
<xsl:when test="@level = 1">8mm</xsl:when>
|
12657
|
+
<xsl:when test="@level = 2">15mm</xsl:when>
|
12658
|
+
<xsl:when test="@level >= 3"><xsl:value-of select="(@level - 2) * 19"/>mm</xsl:when>
|
12659
|
+
<xsl:otherwise>0mm</xsl:otherwise>
|
12660
|
+
</xsl:choose>
|
12661
|
+
</xsl:attribute>
|
12662
|
+
</xsl:template> <!-- END: refine_toc-item-style -->
|
12663
|
+
|
12664
|
+
<xsl:attribute-set name="toc-leader-style">
|
12665
|
+
<xsl:attribute name="leader-pattern">dots</xsl:attribute>
|
12666
|
+
</xsl:attribute-set> <!-- END: toc-leader-style -->
|
12667
|
+
|
12668
|
+
<xsl:attribute-set name="toc-pagenumber-style">
|
12669
|
+
</xsl:attribute-set>
|
12670
|
+
|
12671
|
+
<!-- List of Figures, Tables -->
|
12672
|
+
<xsl:attribute-set name="toc-listof-title-style">
|
12673
|
+
</xsl:attribute-set>
|
12674
|
+
|
12675
|
+
<xsl:attribute-set name="toc-listof-item-block-style">
|
12676
|
+
</xsl:attribute-set>
|
12677
|
+
|
12678
|
+
<xsl:attribute-set name="toc-listof-item-style">
|
12679
|
+
<xsl:attribute name="role">TOCI</xsl:attribute>
|
12680
|
+
<xsl:attribute name="text-align-last">justify</xsl:attribute>
|
12681
|
+
<xsl:attribute name="margin-bottom">5pt</xsl:attribute>
|
12682
|
+
<xsl:attribute name="margin-left">8mm</xsl:attribute>
|
12683
|
+
<xsl:attribute name="text-indent">-8mm</xsl:attribute>
|
12684
|
+
</xsl:attribute-set>
|
12685
|
+
|
12602
12686
|
<xsl:template name="processPrefaceSectionsDefault_Contents">
|
12603
12687
|
<xsl:variable name="nodes_preface_">
|
12604
12688
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition or @type = 'toc')]">
|
data/lib/isodoc/iec/xref.rb
CHANGED
@@ -28,15 +28,14 @@ module IsoDoc
|
|
28
28
|
docxml.xpath(ns("//sections/clause/terms")).each_with_index do |t, i|
|
29
29
|
num = semx(t, "#{@iev_part}-%02d" % [i + 1])
|
30
30
|
@anchors[t["id"]] =
|
31
|
-
{ label: num,
|
32
|
-
|
33
|
-
xref: labelled_autonum(@labels['section_iev'], num),
|
31
|
+
{ label: num,
|
32
|
+
xref: labelled_autonum(@labels["section_iev"], num),
|
34
33
|
level: 2, type: "clause", elem: @labels["section_iev"] }
|
35
34
|
j = 0
|
36
35
|
t.xpath(ns("./term")).each do |c|
|
37
36
|
c["unnumbered"] == "true" and next
|
38
37
|
num2 = semx(c, "%02d" % [j + 1])
|
39
|
-
#section_names1(c, "#{num}#{delim_wrap("-")}#{num2}", 3)
|
38
|
+
# section_names1(c, "#{num}#{delim_wrap("-")}#{num2}", 3)
|
40
39
|
section_names1(c, num, num2, 3)
|
41
40
|
j += 1
|
42
41
|
end
|
@@ -54,7 +53,7 @@ module IsoDoc
|
|
54
53
|
clause["obligation"] == "normative" and
|
55
54
|
obl = l10n("(#{@labels['norm_annex']})")
|
56
55
|
obl = "<span class='fmt-obligation'>#{l10n obl}</fmt>"
|
57
|
-
s = labelled_autonum(@labels[
|
56
|
+
s = labelled_autonum(@labels["annex"], num)
|
58
57
|
l10n("<strong><span class='fmt-caption-label'>#{s}</span></strong><br/>#{obl}")
|
59
58
|
end
|
60
59
|
end
|
@@ -198,14 +198,14 @@ Applicable to modify and delete</a:documentation>
|
|
198
198
|
</zeroOrMore>
|
199
199
|
</element>
|
200
200
|
</optional>
|
201
|
-
<
|
201
|
+
<zeroOrMore>
|
202
202
|
<element name="description">
|
203
|
-
<a:documentation>Description of the change described in this block</a:documentation>
|
204
|
-
<
|
203
|
+
<a:documentation>Description(s) of the change described in this block</a:documentation>
|
204
|
+
<oneOrMore>
|
205
205
|
<ref name="BasicBlock"/>
|
206
|
-
</
|
206
|
+
</oneOrMore>
|
207
207
|
</element>
|
208
|
-
</
|
208
|
+
</zeroOrMore>
|
209
209
|
<optional>
|
210
210
|
<element name="newcontent">
|
211
211
|
<a:documentation>New content to be added to the document; applicable to add and modify</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.0
|
3
|
+
<!-- VERSION v2.1.0 -->
|
4
4
|
|
5
5
|
<!--
|
6
6
|
ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
|
@@ -735,6 +735,12 @@ titlecase, or lowercase</a:documentation>
|
|
735
735
|
<ref name="BlockAttributes"/>
|
736
736
|
</define>
|
737
737
|
<define name="TableAttributes" combine="interleave">
|
738
|
+
<optional>
|
739
|
+
<attribute name="plain">
|
740
|
+
<a:documentation>Render as a plain attribute, with no shading or borders</a:documentation>
|
741
|
+
<data type="boolean"/>
|
742
|
+
</attribute>
|
743
|
+
</optional>
|
738
744
|
<optional>
|
739
745
|
<attribute name="width">
|
740
746
|
<a:documentation>Width of the table block in rendering</a:documentation>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|