metanorma-cc 1.8.0 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3f0001744462f6a12891ef4f0b288ff8b2a9a04b4c74c843e24cc4508fc0a45
4
- data.tar.gz: 831870abd5cce8c14e1a4ed2d14561e188b1ec59311795bb7849b9badbc01e0f
3
+ metadata.gz: 52349210dedcc74e07d51461b7b93f27d7a19b66fe3dc11df3012b1fb5dd26cb
4
+ data.tar.gz: 55bcac678c4489d7777e07a341e238d41aec1afb309292e01de46d4548706319
5
5
  SHA512:
6
- metadata.gz: 928dfb9b3cb2ce5b99ffc4c31cce6456695542470acc26ef51ffddcde4ae493f362f5c5a6c2eacf97e5226cf393f3dcf781b866f3ec885397d40ef5223de6fda
7
- data.tar.gz: 3c2ad0815ec8ee15565256f32b8f55b22c8ecbc95d4df5a16d1874afab0c822f2621620ac00468cc6a47fbe7a15d29bab47ad5efba9097f8424bfd469e53484b
6
+ metadata.gz: 6e29004810ebfaeb721713b21c97ec3061ee0ddc0310202cdc34c44c33c03500753c1c93f57a1041ad231a9743c22461b2db912d88ba8afe64e9e35f7f3224cf
7
+ data.tar.gz: 67d3593cc66b53b6752d78ed0c9c4b54f2262f11ddd2ebd8b4e059ccfbcd4f515dd31307b9ca6256a29924926c6b1f62014f5531c6bc7620df7266d63adc9e10
@@ -35,13 +35,13 @@ module Asciidoctor
35
35
  end
36
36
 
37
37
  def outputs(node, ret)
38
- File.open(@filename + ".xml", "w:UTF-8") { |f| f.write(ret) }
39
- presentation_xml_converter(node).convert(@filename + ".xml")
40
- html_converter(node).convert(@filename + ".presentation.xml",
38
+ File.open("#{@filename}.xml", "w:UTF-8") { |f| f.write(ret) }
39
+ presentation_xml_converter(node).convert("#{@filename}.xml")
40
+ html_converter(node).convert("#{@filename}.presentation.xml",
41
41
  nil, false, "#{@filename}.html")
42
- doc_converter(node).convert(@filename + ".presentation.xml",
42
+ doc_converter(node).convert("#{@filename}.presentation.xml",
43
43
  nil, false, "#{@filename}.doc")
44
- pdf_converter(node)&.convert(@filename + ".presentation.xml",
44
+ pdf_converter(node)&.convert("#{@filename}.presentation.xml",
45
45
  nil, false, "#{@filename}.pdf")
46
46
  end
47
47
 
@@ -52,7 +52,7 @@ module Asciidoctor
52
52
  def pdf_converter(node)
53
53
  return if node.attr("no-pdf")
54
54
 
55
- IsoDoc::CC::PdfConvert.new(html_extract_attributes(node))
55
+ IsoDoc::CC::PdfConvert.new(pdf_extract_attributes(node))
56
56
  end
57
57
 
58
58
  def doc_converter(node)
@@ -58,7 +58,7 @@
58
58
  <attribute name="alt"/>
59
59
  </optional>
60
60
  <optional>
61
- <attribute name="updatetype">
61
+ <attribute name="update-type">
62
62
  <data type="boolean"/>
63
63
  </attribute>
64
64
  </optional>
@@ -1796,6 +1796,20 @@
1796
1796
  <data type="ID"/>
1797
1797
  </attribute>
1798
1798
  </optional>
1799
+ <optional>
1800
+ <attribute name="language"/>
1801
+ </optional>
1802
+ <optional>
1803
+ <attribute name="script"/>
1804
+ </optional>
1805
+ <optional>
1806
+ <attribute name="tag"/>
1807
+ </optional>
1808
+ <optional>
1809
+ <attribute name="multilingual-rendering">
1810
+ <ref name="MultilingualRenderingType"/>
1811
+ </attribute>
1812
+ </optional>
1799
1813
  <oneOrMore>
1800
1814
  <ref name="preferred"/>
1801
1815
  </oneOrMore>
@@ -1814,9 +1828,6 @@
1814
1828
  <optional>
1815
1829
  <ref name="termsubject"/>
1816
1830
  </optional>
1817
- <optional>
1818
- <ref name="termusage"/>
1819
- </optional>
1820
1831
  <oneOrMore>
1821
1832
  <ref name="termdefinition"/>
1822
1833
  </oneOrMore>
@@ -1880,17 +1891,37 @@
1880
1891
  </attribute>
1881
1892
  </optional>
1882
1893
  <optional>
1883
- <attribute name="geographicArea"/>
1894
+ <attribute name="geographic-area"/>
1884
1895
  </optional>
1885
1896
  <choice>
1886
1897
  <ref name="expression_designation"/>
1887
1898
  <ref name="letter_symbol_designation"/>
1888
1899
  <ref name="graphical_symbol_designation"/>
1889
1900
  </choice>
1901
+ <optional>
1902
+ <ref name="fieldofapplication"/>
1903
+ </optional>
1904
+ <optional>
1905
+ <ref name="usageinfo"/>
1906
+ </optional>
1890
1907
  <zeroOrMore>
1891
1908
  <ref name="termsource"/>
1892
1909
  </zeroOrMore>
1893
1910
  </define>
1911
+ <define name="fieldofapplication">
1912
+ <element name="field-of-application">
1913
+ <oneOrMore>
1914
+ <ref name="PureTextElement"/>
1915
+ </oneOrMore>
1916
+ </element>
1917
+ </define>
1918
+ <define name="usageinfo">
1919
+ <element name="usage-info">
1920
+ <oneOrMore>
1921
+ <ref name="PureTextElement"/>
1922
+ </oneOrMore>
1923
+ </element>
1924
+ </define>
1894
1925
  <define name="letter_symbol_designation">
1895
1926
  <element name="letter-symbol">
1896
1927
  <optional>
@@ -1946,7 +1977,7 @@
1946
1977
  </zeroOrMore>
1947
1978
  </element>
1948
1979
  <optional>
1949
- <element name="abbreviationType">
1980
+ <element name="abbreviation-type">
1950
1981
  <ref name="AbbreviationType"/>
1951
1982
  </element>
1952
1983
  </optional>
@@ -1956,7 +1987,7 @@
1956
1987
  </element>
1957
1988
  </optional>
1958
1989
  <optional>
1959
- <element name="grammarInfo">
1990
+ <element name="grammar-info">
1960
1991
  <ref name="Grammar"/>
1961
1992
  </element>
1962
1993
  </optional>
@@ -1983,6 +2014,11 @@
1983
2014
  <ref name="GrammarGender"/>
1984
2015
  </element>
1985
2016
  </zeroOrMore>
2017
+ <zeroOrMore>
2018
+ <element name="number">
2019
+ <ref name="GrammarNumber"/>
2020
+ </element>
2021
+ </zeroOrMore>
1986
2022
  <optional>
1987
2023
  <element name="isPreposition">
1988
2024
  <data type="boolean"/>
@@ -2014,7 +2050,7 @@
2014
2050
  </element>
2015
2051
  </optional>
2016
2052
  <zeroOrMore>
2017
- <element name="grammarvalue">
2053
+ <element name="grammar-value">
2018
2054
  <text/>
2019
2055
  </element>
2020
2056
  </zeroOrMore>
@@ -2027,6 +2063,13 @@
2027
2063
  <value>common</value>
2028
2064
  </choice>
2029
2065
  </define>
2066
+ <define name="GrammarNumber">
2067
+ <choice>
2068
+ <value>singular</value>
2069
+ <value>dual</value>
2070
+ <value>plural</value>
2071
+ </choice>
2072
+ </define>
2030
2073
  <define name="termdomain">
2031
2074
  <element name="domain">
2032
2075
  <oneOrMore>
@@ -2041,13 +2084,6 @@
2041
2084
  </oneOrMore>
2042
2085
  </element>
2043
2086
  </define>
2044
- <define name="termusage">
2045
- <element name="usageinfo">
2046
- <oneOrMore>
2047
- <ref name="BasicBlock"/>
2048
- </oneOrMore>
2049
- </element>
2050
- </define>
2051
2087
  <define name="termdefinition">
2052
2088
  <element name="definition">
2053
2089
  <choice>
@@ -2061,9 +2097,17 @@
2061
2097
  </element>
2062
2098
  </define>
2063
2099
  <define name="verbaldefinition">
2064
- <element name="verbaldefinition">
2100
+ <element name="verbal-definition">
2065
2101
  <oneOrMore>
2066
- <ref name="paragraph"/>
2102
+ <choice>
2103
+ <ref name="paragraph"/>
2104
+ <ref name="dl"/>
2105
+ <ref name="ol"/>
2106
+ <ref name="ul"/>
2107
+ <ref name="table"/>
2108
+ <ref name="figure"/>
2109
+ <ref name="formula"/>
2110
+ </choice>
2067
2111
  </oneOrMore>
2068
2112
  <zeroOrMore>
2069
2113
  <ref name="termsource"/>
@@ -2071,7 +2115,7 @@
2071
2115
  </element>
2072
2116
  </define>
2073
2117
  <define name="nonverbalrep">
2074
- <element name="nonverbalrepresentation">
2118
+ <element name="non-verbal-representation">
2075
2119
  <oneOrMore>
2076
2120
  <choice>
2077
2121
  <ref name="table"/>
@@ -2163,6 +2207,12 @@
2163
2207
  <value>modified</value>
2164
2208
  </choice>
2165
2209
  </attribute>
2210
+ <attribute name="type">
2211
+ <choice>
2212
+ <value>authoritative</value>
2213
+ <value>lineage</value>
2214
+ </choice>
2215
+ </attribute>
2166
2216
  <ref name="origin"/>
2167
2217
  <optional>
2168
2218
  <ref name="modification"/>
@@ -7,6 +7,8 @@
7
7
  <xsl:variable name="images" select="document($svg_images)"/>
8
8
  <xsl:param name="basepath"/>
9
9
 
10
+ <xsl:key name="kfn" match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])])]" use="@reference"/>
11
+
10
12
  <xsl:variable name="pageWidth" select="210"/>
11
13
  <xsl:variable name="pageHeight" select="297"/>
12
14
  <xsl:variable name="marginLeftRight1" select="19"/>
@@ -329,7 +331,7 @@
329
331
 
330
332
  <xsl:variable name="display">
331
333
  <xsl:choose>
332
- <xsl:when test="$level &gt; 2">false</xsl:when>
334
+ <xsl:when test="$level &gt; $toc_level">false</xsl:when>
333
335
  <xsl:otherwise>true</xsl:otherwise>
334
336
  </xsl:choose>
335
337
  </xsl:variable>
@@ -500,35 +502,7 @@
500
502
  </xsl:if>
501
503
  </xsl:template>
502
504
 
503
- <!--
504
- <fn reference="1">
505
- <p id="_8e5cf917-f75a-4a49-b0aa-1714cb6cf954">Formerly denoted as 15 % (m/m).</p>
506
- </fn>
507
- -->
508
- <xsl:template match="csd:p/csd:fn">
509
- <fo:footnote>
510
- <xsl:variable name="number">
511
- <xsl:number level="any" count="csd:p/csd:fn"/>
512
- </xsl:variable>
513
- <fo:inline font-size="65%" keep-with-previous.within-line="always" vertical-align="super">
514
- <fo:basic-link internal-destination="footnote_{@reference}" fox:alt-text="footnote {@reference}">
515
- <!-- <xsl:value-of select="@reference"/> -->
516
- <xsl:value-of select="$number + count(//csd:bibitem/csd:note)"/><!-- <xsl:text>)</xsl:text> -->
517
- </fo:basic-link>
518
- </fo:inline>
519
- <fo:footnote-body>
520
- <fo:block font-size="10pt" margin-bottom="12pt">
521
- <fo:inline id="footnote_{@reference}" keep-with-next.within-line="always" font-size="60%" vertical-align="super"> <!-- baseline-shift="30%" padding-right="3mm" font-size="60%" alignment-baseline="hanging" -->
522
- <xsl:value-of select="$number + count(//csd:bibitem/csd:note)"/><!-- <xsl:text>)</xsl:text> -->
523
- </fo:inline>
524
- <xsl:for-each select="csd:p">
525
- <xsl:apply-templates/>
526
- </xsl:for-each>
527
- </fo:block>
528
- </fo:footnote-body>
529
- </fo:footnote>
530
- </xsl:template>
531
-
505
+
532
506
  <xsl:template match="csd:p/csd:fn/csd:p">
533
507
  <xsl:apply-templates/>
534
508
  </xsl:template>
@@ -649,9 +623,10 @@
649
623
  </xsl:variable>
650
624
  <fo:block font-size="{$font-size}" line-height="1.1" role="H{$levelTerm}">
651
625
  <fo:block font-weight="bold" keep-with-next="always">
652
- <xsl:apply-templates select="ancestor::csd:term/csd:name" mode="presentation"/>
626
+ <xsl:apply-templates select="ancestor::csd:term[1]/csd:name" mode="presentation"/>
653
627
  </fo:block>
654
628
  <fo:block font-weight="bold" keep-with-next="always">
629
+ <xsl:call-template name="setStyle_preferred"/>
655
630
  <xsl:apply-templates/>
656
631
  </fo:block>
657
632
  </fo:block>
@@ -1377,6 +1352,77 @@
1377
1352
 
1378
1353
  </xsl:attribute-set><xsl:attribute-set name="toc-style">
1379
1354
  <xsl:attribute name="line-height">135%</xsl:attribute>
1355
+ </xsl:attribute-set><xsl:attribute-set name="fn-style">
1356
+ <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
1357
+ </xsl:attribute-set><xsl:attribute-set name="fn-num-style">
1358
+ <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
1359
+
1360
+
1361
+
1362
+
1363
+ <xsl:attribute name="font-size">65%</xsl:attribute>
1364
+ <xsl:attribute name="vertical-align">super</xsl:attribute>
1365
+
1366
+
1367
+
1368
+
1369
+
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+
1376
+
1377
+
1378
+ </xsl:attribute-set><xsl:attribute-set name="fn-body-style">
1379
+ <xsl:attribute name="font-weight">normal</xsl:attribute>
1380
+ <xsl:attribute name="font-style">normal</xsl:attribute>
1381
+ <xsl:attribute name="text-indent">0</xsl:attribute>
1382
+ <xsl:attribute name="start-indent">0</xsl:attribute>
1383
+
1384
+
1385
+
1386
+
1387
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
1388
+ <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+
1404
+ </xsl:attribute-set><xsl:attribute-set name="fn-body-num-style">
1405
+ <xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
1406
+
1407
+
1408
+
1409
+
1410
+ <xsl:attribute name="font-size">60%</xsl:attribute>
1411
+ <xsl:attribute name="vertical-align">super</xsl:attribute>
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+
1380
1426
  </xsl:attribute-set><xsl:variable name="border-block-added">2.5pt solid rgb(0, 176, 80)</xsl:variable><xsl:variable name="border-block-deleted">2.5pt solid rgb(255, 0, 0)</xsl:variable><xsl:template name="OLD_processPrefaceSectionsDefault_Contents">
1381
1427
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='abstract']" mode="contents"/>
1382
1428
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='foreword']" mode="contents"/>
@@ -1402,7 +1448,8 @@
1402
1448
  <xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]" mode="contents"/>
1403
1449
 
1404
1450
  </xsl:template><xsl:template name="processMainSectionsDefault_Contents">
1405
- <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
1451
+
1452
+ <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true'] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][@normative='true']]">
1406
1453
  <xsl:sort select="@displayorder" data-type="number"/>
1407
1454
  <xsl:apply-templates select="." mode="contents"/>
1408
1455
  </xsl:for-each>
@@ -1412,7 +1459,7 @@
1412
1459
  <xsl:apply-templates select="." mode="contents"/>
1413
1460
  </xsl:for-each>
1414
1461
 
1415
- <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
1462
+ <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true') and not(*[local-name()='references'][@normative='true'])] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
1416
1463
  <xsl:sort select="@displayorder" data-type="number"/>
1417
1464
  <xsl:apply-templates select="." mode="contents"/>
1418
1465
  </xsl:for-each>
@@ -2308,6 +2355,102 @@
2308
2355
 
2309
2356
  </xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='note']/*[local-name()='name']" mode="process"/><xsl:template match="*[local-name()='table']/*[local-name()='note']/*[local-name()='p']" mode="process">
2310
2357
  <xsl:apply-templates/>
2358
+ </xsl:template><xsl:template match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])])]" priority="2" name="fn">
2359
+
2360
+ <!-- list of footnotes to calculate actual footnotes number -->
2361
+ <xsl:variable name="p_fn_">
2362
+ <xsl:choose>
2363
+ <xsl:when test="@current_fn_number"> <!-- for BSI, footnote reference number calculated already -->
2364
+ <fn gen_id="{generate-id(.)}">
2365
+ <xsl:copy-of select="@*"/>
2366
+ <xsl:copy-of select="node()"/>
2367
+ </fn>
2368
+ </xsl:when>
2369
+ <xsl:otherwise>
2370
+ <!-- itetation for:
2371
+ footnotes in bibdata/title
2372
+ footnotes in bibliography
2373
+ footnotes in document's body (except table's head/body/foot and figure text)
2374
+ -->
2375
+ <xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']/*[local-name() = 'note'][@type='title-footnote']">
2376
+ <fn gen_id="{generate-id(.)}">
2377
+ <xsl:copy-of select="@*"/>
2378
+ <xsl:copy-of select="node()"/>
2379
+ </fn>
2380
+ </xsl:for-each>
2381
+ <xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='preface']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='sections']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='annex'] | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*">
2382
+ <xsl:sort select="@displayorder" data-type="number"/>
2383
+ <xsl:for-each select=".//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] | .//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])])][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
2384
+ <!-- copy unique fn -->
2385
+ <fn gen_id="{generate-id(.)}">
2386
+ <xsl:copy-of select="@*"/>
2387
+ <xsl:copy-of select="node()"/>
2388
+ </fn>
2389
+ </xsl:for-each>
2390
+ </xsl:for-each>
2391
+ </xsl:otherwise>
2392
+ </xsl:choose>
2393
+ </xsl:variable>
2394
+ <xsl:variable name="p_fn" select="xalan:nodeset($p_fn_)"/>
2395
+
2396
+ <xsl:variable name="gen_id" select="generate-id(.)"/>
2397
+ <xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
2398
+ <xsl:variable name="reference" select="@reference"/>
2399
+ <!-- fn sequence number in document -->
2400
+ <xsl:variable name="current_fn_number">
2401
+ <xsl:choose>
2402
+ <xsl:when test="@current_fn_number"><xsl:value-of select="@current_fn_number"/></xsl:when> <!-- for BSI -->
2403
+ <xsl:otherwise>
2404
+ <xsl:value-of select="count($p_fn//fn[@reference = $reference]/preceding-sibling::fn) + 1"/>
2405
+ </xsl:otherwise>
2406
+ </xsl:choose>
2407
+ </xsl:variable>
2408
+ <xsl:variable name="current_fn_number_text">
2409
+ <xsl:value-of select="$current_fn_number"/>
2410
+
2411
+
2412
+ </xsl:variable>
2413
+
2414
+ <xsl:variable name="ref_id" select="concat('footnote_', $lang, '_', $reference, '_', $current_fn_number)"/>
2415
+ <xsl:variable name="footnote_inline">
2416
+ <fo:inline xsl:use-attribute-sets="fn-num-style">
2417
+
2418
+ <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
2419
+ <xsl:value-of select="$current_fn_number_text"/>
2420
+ </fo:basic-link>
2421
+ </fo:inline>
2422
+ </xsl:variable>
2423
+ <!-- DEBUG: p_fn=<xsl:copy-of select="$p_fn"/>
2424
+ gen_id=<xsl:value-of select="$gen_id"/> -->
2425
+ <xsl:choose>
2426
+ <xsl:when test="normalize-space(@skip_footnote_body) = 'true'">
2427
+ <xsl:copy-of select="$footnote_inline"/>
2428
+ </xsl:when>
2429
+ <xsl:when test="$p_fn//fn[@gen_id = $gen_id] or normalize-space(@skip_footnote_body) = 'false'">
2430
+ <fo:footnote xsl:use-attribute-sets="fn-style">
2431
+ <xsl:copy-of select="$footnote_inline"/>
2432
+ <fo:footnote-body>
2433
+
2434
+ <fo:block-container text-indent="0" start-indent="0">
2435
+
2436
+
2437
+ <fo:block xsl:use-attribute-sets="fn-body-style">
2438
+
2439
+
2440
+ <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
2441
+
2442
+ <xsl:value-of select="$current_fn_number_text"/>
2443
+ </fo:inline>
2444
+ <xsl:apply-templates/>
2445
+ </fo:block>
2446
+ </fo:block-container>
2447
+ </fo:footnote-body>
2448
+ </fo:footnote>
2449
+ </xsl:when>
2450
+ <xsl:otherwise>
2451
+ <xsl:copy-of select="$footnote_inline"/>
2452
+ </xsl:otherwise>
2453
+ </xsl:choose>
2311
2454
  </xsl:template><xsl:template name="fn_display">
2312
2455
  <xsl:variable name="references">
2313
2456
 
@@ -2500,6 +2643,8 @@
2500
2643
 
2501
2644
  </fo:basic-link>
2502
2645
  </fo:inline>
2646
+ </xsl:template><xsl:template match="*[local-name()='fn']/text()[normalize-space() != '']">
2647
+ <fo:inline><xsl:value-of select="."/></fo:inline>
2503
2648
  </xsl:template><xsl:template match="*[local-name()='fn']/*[local-name()='p']">
2504
2649
  <fo:inline>
2505
2650
  <xsl:apply-templates/>
@@ -2799,6 +2944,7 @@
2799
2944
  <fo:table-cell>
2800
2945
 
2801
2946
  <fo:block margin-top="6pt">
2947
+ <xsl:copy-of select="@id"/>
2802
2948
 
2803
2949
 
2804
2950
  <xsl:if test="normalize-space($key_iso) = 'true'">
@@ -3491,22 +3637,6 @@
3491
3637
  <xsl:if test="not(preceding-sibling::*[local-name() = 'p'])"><xsl:value-of select="$callout"/></xsl:if>
3492
3638
  <xsl:apply-templates/>
3493
3639
  </fo:inline>
3494
- </xsl:template><xsl:template match="*[local-name() = 'modification']">
3495
- <xsl:variable name="title-modified">
3496
-
3497
-
3498
- <xsl:call-template name="getTitle">
3499
- <xsl:with-param name="name" select="'title-modified'"/>
3500
- </xsl:call-template>
3501
-
3502
- </xsl:variable>
3503
-
3504
- <xsl:variable name="text"><xsl:apply-templates/></xsl:variable>
3505
- <xsl:choose>
3506
- <xsl:when test="$lang = 'zh'"><xsl:text>、</xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text>—</xsl:text></xsl:if></xsl:when>
3507
- <xsl:otherwise><xsl:text>, </xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text> — </xsl:text></xsl:if></xsl:otherwise>
3508
- </xsl:choose>
3509
- <xsl:apply-templates/>
3510
3640
  </xsl:template><xsl:template match="*[local-name() = 'xref']">
3511
3641
  <fo:basic-link internal-destination="{@target}" fox:alt-text="{@target}" xsl:use-attribute-sets="xref-style">
3512
3642
 
@@ -3636,14 +3766,18 @@
3636
3766
  </xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'p']">
3637
3767
  <fo:inline><xsl:apply-templates/></fo:inline>
3638
3768
  </xsl:template><xsl:template match="*[local-name() = 'terms']">
3769
+ <!-- <xsl:message>'terms' <xsl:number/> processing...</xsl:message> -->
3639
3770
  <fo:block id="{@id}">
3640
3771
  <xsl:apply-templates/>
3641
3772
  </fo:block>
3642
3773
  </xsl:template><xsl:template match="*[local-name() = 'term']">
3774
+ <!-- <xsl:message>'term' <xsl:number/> processing, name=<xsl:value-of select="iso:name"/>, preferred=<xsl:value-of select="iso:preferred"/>...</xsl:message> -->
3643
3775
  <fo:block id="{@id}" xsl:use-attribute-sets="term-style">
3644
3776
 
3645
3777
 
3646
-
3778
+ <xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'term'])">
3779
+
3780
+ </xsl:if>
3647
3781
  <xsl:apply-templates/>
3648
3782
  </fo:block>
3649
3783
  </xsl:template><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']" mode="presentation">
@@ -4067,12 +4201,12 @@
4067
4201
  </xsl:template><xsl:template match="*[local-name() = 'emf']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
4068
4202
  <xsl:apply-templates mode="contents"/>
4069
4203
  <xsl:text> </xsl:text>
4070
- </xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="bookmarks">
4204
+ </xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name'] | *[local-name() = 'sourcecode']/*[local-name() = 'name']" mode="bookmarks">
4071
4205
  <xsl:apply-templates mode="bookmarks"/>
4072
4206
  <xsl:text> </xsl:text>
4073
4207
  </xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']/text()" mode="contents" priority="2">
4074
4208
  <xsl:value-of select="."/>
4075
- </xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
4209
+ </xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement' or local-name() = 'sourcecode']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
4076
4210
  <xsl:value-of select="."/>
4077
4211
  </xsl:template><xsl:template match="node()" mode="contents">
4078
4212
  <xsl:apply-templates mode="contents"/>
@@ -4342,6 +4476,8 @@
4342
4476
 
4343
4477
 
4344
4478
 
4479
+
4480
+
4345
4481
  <fo:block xsl:use-attribute-sets="sourcecode-style">
4346
4482
  <xsl:variable name="_font-size">
4347
4483
 
@@ -4375,13 +4511,17 @@
4375
4511
 
4376
4512
 
4377
4513
 
4514
+
4515
+
4378
4516
  <xsl:apply-templates/>
4379
4517
  </fo:block>
4380
-
4518
+
4381
4519
 
4382
4520
  <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
4383
4521
 
4384
4522
 
4523
+
4524
+
4385
4525
  </fo:block-container>
4386
4526
  </fo:block-container>
4387
4527
  </xsl:template><xsl:template match="*[local-name()='sourcecode']/text()" priority="2">
@@ -4617,7 +4757,8 @@
4617
4757
  </fo:block>
4618
4758
  </fo:table-cell>
4619
4759
  </xsl:template><xsl:template match="*[local-name() = 'p'][@class='RecommendationTitle' or @class = 'RecommendationTestTitle']" priority="2">
4620
- <fo:block font-size="11pt" color="rgb(237, 193, 35)"> <!-- font-weight="bold" margin-bottom="4pt" text-align="center" -->
4760
+ <fo:block font-size="11pt">
4761
+
4621
4762
  <xsl:apply-templates/>
4622
4763
  </fo:block>
4623
4764
  </xsl:template><xsl:template match="*[local-name() = 'p2'][ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']]">
@@ -4727,60 +4868,69 @@
4727
4868
  <xsl:variable name="termsource_text">
4728
4869
  <xsl:apply-templates/>
4729
4870
  </xsl:variable>
4730
-
4731
- <xsl:choose>
4871
+ <xsl:copy-of select="$termsource_text"/>
4872
+ <!-- <xsl:choose>
4732
4873
  <xsl:when test="starts-with(normalize-space($termsource_text), '[')">
4733
- <!-- <xsl:apply-templates /> -->
4734
4874
  <xsl:copy-of select="$termsource_text"/>
4735
4875
  </xsl:when>
4736
- <xsl:otherwise>
4737
-
4876
+ <xsl:otherwise>
4877
+ <xsl:if test="$namespace = 'bsi'">
4878
+ <xsl:choose>
4879
+ <xsl:when test="$document_type = 'PAS' and starts-with(*[local-name() = 'origin']/@citeas, '[')"><xsl:text>{</xsl:text></xsl:when>
4880
+ <xsl:otherwise><xsl:text>[</xsl:text></xsl:otherwise>
4881
+ </xsl:choose>
4882
+ </xsl:if>
4883
+ <xsl:if test="$namespace = 'gb' or $namespace = 'iso' or $namespace = 'iec' or $namespace = 'itu' or $namespace = 'unece' or $namespace = 'unece-rec' or $namespace = 'nist-cswp' or $namespace = 'nist-sp' or $namespace = 'ogc-white-paper' or $namespace = 'csa' or $namespace = 'csd' or $namespace = 'm3d' or $namespace = 'iho' or $namespace = 'bipm' or $namespace = 'jcgm'">
4738
4884
  <xsl:text>[</xsl:text>
4739
-
4740
- <!-- <xsl:apply-templates /> -->
4885
+ </xsl:if>
4741
4886
  <xsl:copy-of select="$termsource_text"/>
4742
-
4887
+ <xsl:if test="$namespace = 'bsi'">
4888
+ <xsl:choose>
4889
+ <xsl:when test="$document_type = 'PAS' and starts-with(*[local-name() = 'origin']/@citeas, '[')"><xsl:text>}</xsl:text></xsl:when>
4890
+ <xsl:otherwise><xsl:text>]</xsl:text></xsl:otherwise>
4891
+ </xsl:choose>
4892
+ </xsl:if>
4893
+ <xsl:if test="$namespace = 'gb' or $namespace = 'iso' or $namespace = 'iec' or $namespace = 'itu' or $namespace = 'unece' or $namespace = 'unece-rec' or $namespace = 'nist-cswp' or $namespace = 'nist-sp' or $namespace = 'ogc-white-paper' or $namespace = 'csa' or $namespace = 'csd' or $namespace = 'm3d' or $namespace = 'iho' or $namespace = 'bipm' or $namespace = 'jcgm'">
4743
4894
  <xsl:text>]</xsl:text>
4744
-
4895
+ </xsl:if>
4745
4896
  </xsl:otherwise>
4746
- </xsl:choose>
4897
+ </xsl:choose> -->
4747
4898
  </fo:block>
4748
4899
  </xsl:template><xsl:template match="*[local-name() = 'termsource']/text()">
4749
4900
  <xsl:if test="normalize-space() != ''">
4750
4901
  <xsl:value-of select="."/>
4751
4902
  </xsl:if>
4752
- </xsl:template><xsl:variable name="localized.source">
4753
- <xsl:call-template name="getLocalizedString">
4754
- <xsl:with-param name="key">source</xsl:with-param>
4755
- </xsl:call-template>
4756
- </xsl:variable><xsl:template match="*[local-name() = 'origin']">
4903
+ </xsl:template><xsl:template match="*[local-name() = 'termsource']/*[local-name() = 'strong'][1][following-sibling::*[1][local-name() = 'origin']]/text()">
4904
+ <fo:inline>
4905
+
4906
+
4907
+ <xsl:value-of select="."/>
4908
+ </fo:inline>
4909
+ </xsl:template><xsl:template match="*[local-name() = 'origin']">
4757
4910
  <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
4758
4911
  <xsl:if test="normalize-space(@citeas) = ''">
4759
4912
  <xsl:attribute name="fox:alt-text"><xsl:value-of select="@bibitemid"/></xsl:attribute>
4760
4913
  </xsl:if>
4761
-
4762
-
4763
- <fo:inline>
4764
-
4765
-
4766
-
4767
-
4768
-
4769
-
4770
-
4771
- <xsl:call-template name="getTitle">
4772
- <xsl:with-param name="name" select="'title-source'"/>
4773
- </xsl:call-template>
4774
- <xsl:text>: </xsl:text>
4775
-
4776
-
4777
- </fo:inline>
4778
-
4779
4914
  <fo:inline xsl:use-attribute-sets="origin-style">
4780
4915
  <xsl:apply-templates/>
4781
4916
  </fo:inline>
4917
+ </fo:basic-link>
4918
+ </xsl:template><xsl:template match="*[local-name() = 'modification']">
4919
+ <xsl:variable name="title-modified">
4782
4920
 
4783
- </fo:basic-link>
4921
+
4922
+ <xsl:call-template name="getTitle">
4923
+ <xsl:with-param name="name" select="'title-modified'"/>
4924
+ </xsl:call-template>
4925
+
4926
+ </xsl:variable>
4927
+
4928
+ <xsl:variable name="text"><xsl:apply-templates/></xsl:variable>
4929
+ <xsl:choose>
4930
+ <xsl:when test="$lang = 'zh'"><xsl:text>、</xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text>—</xsl:text></xsl:if></xsl:when>
4931
+ <xsl:otherwise><xsl:text>, </xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text> — </xsl:text></xsl:if></xsl:otherwise>
4932
+ </xsl:choose>
4933
+ <xsl:apply-templates/>
4784
4934
  </xsl:template><xsl:template match="*[local-name() = 'modification']/*[local-name() = 'p']">
4785
4935
  <fo:inline><xsl:apply-templates/></fo:inline>
4786
4936
  </xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
@@ -4823,12 +4973,20 @@
4823
4973
  </xsl:template><xsl:template match="*[local-name() = 'author']">
4824
4974
  <xsl:text>— </xsl:text>
4825
4975
  <xsl:apply-templates/>
4826
- </xsl:template><xsl:template match="*[local-name() = 'eref']">
4976
+ </xsl:template><xsl:variable name="bibitem_hidden_">
4977
+ <xsl:for-each select="//*[local-name() = 'bibitem'][@hidden='true']">
4978
+ <xsl:copy-of select="."/>
4979
+ </xsl:for-each>
4980
+ <xsl:for-each select="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem']">
4981
+ <xsl:copy-of select="."/>
4982
+ </xsl:for-each>
4983
+ </xsl:variable><xsl:variable name="bibitem_hidden" select="xalan:nodeset($bibitem_hidden_)"/><xsl:template match="*[local-name() = 'eref']">
4827
4984
 
4828
4985
  <xsl:variable name="bibitemid">
4829
4986
  <xsl:choose>
4830
- <xsl:when test="//*[local-name() = 'bibitem'][@hidden='true' and @id = current()/@bibitemid]"/>
4831
- <xsl:when test="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"/>
4987
+ <!-- <xsl:when test="//*[local-name() = 'bibitem'][@hidden='true' and @id = current()/@bibitemid]"></xsl:when>
4988
+ <xsl:when test="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"></xsl:when> -->
4989
+ <xsl:when test="$bibitem_hidden/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"/>
4832
4990
  <xsl:otherwise><xsl:value-of select="@bibitemid"/></xsl:otherwise>
4833
4991
  </xsl:choose>
4834
4992
  </xsl:variable>
@@ -4921,10 +5079,10 @@
4921
5079
  </xsl:choose>
4922
5080
  </xsl:variable>
4923
5081
 
4924
- <xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/>
5082
+ <!-- <xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/> -->
4925
5083
 
4926
5084
  <xsl:choose>
4927
- <xsl:when test="$language = 'zh'">
5085
+ <xsl:when test="$lang = 'zh'">
4928
5086
  <fo:inline><xsl:value-of select="$tab_zh"/></fo:inline>
4929
5087
  </xsl:when>
4930
5088
  <xsl:when test="../../@inline-header = 'true'">
@@ -4967,15 +5125,20 @@
4967
5125
  <fo:block xsl:use-attribute-sets="deprecates-style">
4968
5126
  <xsl:value-of select="$title-deprecated"/>: <xsl:apply-templates/>
4969
5127
  </fo:block>
5128
+ </xsl:template><xsl:template name="setStyle_preferred">
5129
+ <xsl:if test="*[local-name() = 'strong']">
5130
+ <xsl:attribute name="font-weight">normal</xsl:attribute>
5131
+ </xsl:if>
4970
5132
  </xsl:template><xsl:template match="*[local-name() = 'definition']">
4971
5133
  <fo:block xsl:use-attribute-sets="definition-style">
4972
5134
  <xsl:apply-templates/>
4973
5135
  </fo:block>
4974
5136
  </xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]">
4975
5137
  <xsl:apply-templates/>
4976
- </xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p']">
5138
+ </xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p'][1]">
4977
5139
  <fo:inline> <xsl:apply-templates/></fo:inline>
4978
- <fo:block> </fo:block>
5140
+ <!-- <fo:block>&#xA0;</fo:block> -->
5141
+ <fo:block/>
4979
5142
  </xsl:template><xsl:template match="/*/*[local-name() = 'sections']/*" priority="2">
4980
5143
 
4981
5144
  <fo:block>
@@ -5374,7 +5537,31 @@
5374
5537
  <fo:block-container border="1pt solid black" width="50%">
5375
5538
  <fo:block> </fo:block>
5376
5539
  </fo:block-container>
5377
- </xsl:template><xsl:template match="*[local-name() = 'toc']">
5540
+ </xsl:template><xsl:variable name="toc_level">
5541
+ <xsl:choose>
5542
+ <xsl:when test="1 = 2"/> <!-- to do https://github.com/metanorma/mn-native-pdf/issues/337: if there is value in xml -->
5543
+ <xsl:otherwise><!-- default value -->
5544
+
5545
+
5546
+
5547
+ 2
5548
+
5549
+
5550
+
5551
+
5552
+
5553
+
5554
+
5555
+
5556
+
5557
+
5558
+
5559
+
5560
+
5561
+
5562
+ </xsl:otherwise>
5563
+ </xsl:choose>
5564
+ </xsl:variable><xsl:template match="*[local-name() = 'toc']">
5378
5565
  <xsl:param name="colwidths"/>
5379
5566
  <xsl:variable name="colwidths_">
5380
5567
  <xsl:choose>
@@ -5909,12 +6096,15 @@
5909
6096
  <xsl:param name="default">left</xsl:param>
5910
6097
  <xsl:attribute name="text-align">
5911
6098
  <xsl:choose>
5912
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
6099
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
5913
6100
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
5914
6101
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
5915
6102
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
5916
6103
  </xsl:choose>
5917
6104
  </xsl:attribute>
6105
+ <xsl:if test="@align = 'indent'">
6106
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
6107
+ </xsl:if>
5918
6108
  </xsl:template><xsl:template name="number-to-words">
5919
6109
  <xsl:param name="number"/>
5920
6110
  <xsl:param name="first"/>
@@ -6011,4 +6201,14 @@
6011
6201
  </xsl:otherwise>
6012
6202
  </xsl:choose>
6013
6203
  </xsl:if>
6204
+ </xsl:template><xsl:template name="setAltText">
6205
+ <xsl:param name="value"/>
6206
+ <xsl:attribute name="fox:alt-text">
6207
+ <xsl:choose>
6208
+ <xsl:when test="normalize-space($value) != ''">
6209
+ <xsl:value-of select="$value"/>
6210
+ </xsl:when>
6211
+ <xsl:otherwise>_</xsl:otherwise>
6212
+ </xsl:choose>
6213
+ </xsl:attribute>
6014
6214
  </xsl:template></xsl:stylesheet>
@@ -751,10 +751,12 @@ p {
751
751
  margin-bottom: 1em; }
752
752
 
753
753
  /* Terms */
754
- .TermNum, .Terms, .AltTerms {
755
- color: #485094;
754
+ .TermNum {
756
755
  font-weight: 400; }
757
756
 
757
+ .TermNum, .Terms, .AltTerms {
758
+ color: #485094; }
759
+
758
760
  p.TermNum {
759
761
  font-size: 0.9em;
760
762
  line-height: 1em;
@@ -135,9 +135,12 @@ p {
135
135
 
136
136
  /* Terms */
137
137
 
138
+ .TermNum {
139
+ font-weight: 400;
140
+ }
141
+
138
142
  .TermNum, .Terms, .AltTerms {
139
143
  color: #485094;
140
- font-weight: 400;
141
144
  }
142
145
 
143
146
  p.TermNum {
@@ -17,7 +17,6 @@ $('#toggle').on('click', function(){
17
17
  else {
18
18
  $('nav').show();
19
19
  $('nav').animate({ 'left': '0px' }, 'slow');
20
- $('.container').animate({ 'padding-left': '360px' }, 'slow');
21
20
  }
22
21
  });
23
22
  </script>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module CC
3
- VERSION = "1.8.0".freeze
3
+ VERSION = "1.8.4".freeze
4
4
  end
5
5
  end
data/metanorma-cc.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_dependency "metanorma-generic", "~> 1.11.0"
32
32
 
33
- spec.add_development_dependency "byebug", "~> 9.1"
33
+ spec.add_development_dependency "debug"
34
34
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
35
35
  spec.add_development_dependency "guard", "~> 2.14"
36
36
  spec.add_development_dependency "guard-rspec", "~> 4.7"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-cc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-25 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.11.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: byebug
28
+ name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '9.1'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '9.1'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: equivalent-xml
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.2.22
254
+ rubygems_version: 3.2.32
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: metanorma-cc lets you write CalConnect standards in AsciiDoc.