metanorma-un 0.6.10 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1162,6 +1162,8 @@
1162
1162
 
1163
1163
  <title-list-figures lang="en">List of Figures</title-list-figures>
1164
1164
 
1165
+ <title-table-figures lang="en">Table of Figures</title-table-figures>
1166
+
1165
1167
  <title-list-recommendations lang="en">List of Recommendations</title-list-recommendations>
1166
1168
 
1167
1169
  <title-acknowledgements lang="en">Acknowledgements</title-acknowledgements>
@@ -1434,6 +1436,11 @@
1434
1436
 
1435
1437
 
1436
1438
 
1439
+ </xsl:attribute-set><xsl:attribute-set name="table-note-name-style">
1440
+
1441
+
1442
+
1443
+
1437
1444
  </xsl:attribute-set><xsl:attribute-set name="note-p-style">
1438
1445
 
1439
1446
 
@@ -1594,13 +1601,20 @@
1594
1601
 
1595
1602
  </xsl:attribute-set><xsl:attribute-set name="list-style">
1596
1603
 
1597
- </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="processPrefaceSectionsDefault_Contents">
1604
+ </xsl:attribute-set><xsl:attribute-set name="toc-style">
1605
+ <xsl:attribute name="line-height">135%</xsl:attribute>
1606
+ </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">
1598
1607
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='abstract']" mode="contents"/>
1599
1608
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='foreword']" mode="contents"/>
1600
1609
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='introduction']" mode="contents"/>
1601
1610
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name() != 'abstract' and local-name() != 'foreword' and local-name() != 'introduction' and local-name() != 'acknowledgements']" mode="contents"/>
1602
1611
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='acknowledgements']" mode="contents"/>
1603
- </xsl:template><xsl:template name="processMainSectionsDefault_Contents">
1612
+ </xsl:template><xsl:template name="processPrefaceSectionsDefault_Contents">
1613
+ <xsl:for-each select="/*/*[local-name()='preface']/*">
1614
+ <xsl:sort select="@displayorder" data-type="number"/>
1615
+ <xsl:apply-templates select="." mode="contents"/>
1616
+ </xsl:for-each>
1617
+ </xsl:template><xsl:template name="OLD_processMainSectionsDefault_Contents">
1604
1618
  <xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name()='clause'][@type='scope']" mode="contents"/>
1605
1619
 
1606
1620
  <!-- Normative references -->
@@ -1613,13 +1627,33 @@
1613
1627
  <!-- Bibliography -->
1614
1628
  <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"/>
1615
1629
 
1616
- </xsl:template><xsl:template name="processPrefaceSectionsDefault">
1630
+ </xsl:template><xsl:template name="processMainSectionsDefault_Contents">
1631
+ <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
1632
+ <xsl:sort select="@displayorder" data-type="number"/>
1633
+ <xsl:apply-templates select="." mode="contents"/>
1634
+ </xsl:for-each>
1635
+
1636
+ <xsl:for-each select="/*/*[local-name()='annex']">
1637
+ <xsl:sort select="@displayorder" data-type="number"/>
1638
+ <xsl:apply-templates select="." mode="contents"/>
1639
+ </xsl:for-each>
1640
+
1641
+ <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
1642
+ <xsl:sort select="@displayorder" data-type="number"/>
1643
+ <xsl:apply-templates select="." mode="contents"/>
1644
+ </xsl:for-each>
1645
+ </xsl:template><xsl:template name="OLD_processPrefaceSectionsDefault">
1617
1646
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='abstract']"/>
1618
1647
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='foreword']"/>
1619
1648
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='introduction']"/>
1620
1649
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name() != 'abstract' and local-name() != 'foreword' and local-name() != 'introduction' and local-name() != 'acknowledgements']"/>
1621
1650
  <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='acknowledgements']"/>
1622
- </xsl:template><xsl:template name="processMainSectionsDefault">
1651
+ </xsl:template><xsl:template name="processPrefaceSectionsDefault">
1652
+ <xsl:for-each select="/*/*[local-name()='preface']/*">
1653
+ <xsl:sort select="@displayorder" data-type="number"/>
1654
+ <xsl:apply-templates select="."/>
1655
+ </xsl:for-each>
1656
+ </xsl:template><xsl:template name="OLD_processMainSectionsDefault">
1623
1657
  <xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name()='clause'][@type='scope']"/>
1624
1658
 
1625
1659
  <!-- Normative references -->
@@ -1631,6 +1665,22 @@
1631
1665
  <xsl:apply-templates select="/*/*[local-name()='annex']"/>
1632
1666
  <!-- Bibliography -->
1633
1667
  <xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][not(@normative='true')]"/>
1668
+ </xsl:template><xsl:template name="processMainSectionsDefault">
1669
+ <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
1670
+ <xsl:sort select="@displayorder" data-type="number"/>
1671
+ <xsl:apply-templates select="."/>
1672
+
1673
+ </xsl:for-each>
1674
+
1675
+ <xsl:for-each select="/*/*[local-name()='annex']">
1676
+ <xsl:sort select="@displayorder" data-type="number"/>
1677
+ <xsl:apply-templates select="."/>
1678
+ </xsl:for-each>
1679
+
1680
+ <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
1681
+ <xsl:sort select="@displayorder" data-type="number"/>
1682
+ <xsl:apply-templates select="."/>
1683
+ </xsl:for-each>
1634
1684
  </xsl:template><xsl:template match="text()">
1635
1685
  <xsl:value-of select="."/>
1636
1686
  </xsl:template><xsl:template match="*[local-name()='br']">
@@ -2499,9 +2549,7 @@
2499
2549
 
2500
2550
  <!-- Table's note name (NOTE, for example) -->
2501
2551
 
2502
- <fo:inline padding-right="2mm">
2503
-
2504
-
2552
+ <fo:inline padding-right="2mm" xsl:use-attribute-sets="table-note-name-style">
2505
2553
 
2506
2554
 
2507
2555
 
@@ -2516,6 +2564,7 @@
2516
2564
  </xsl:if>
2517
2565
 
2518
2566
 
2567
+
2519
2568
  <xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
2520
2569
 
2521
2570
  </fo:inline>
@@ -3121,6 +3170,8 @@
3121
3170
  <xsl:if test="$font-size != ''">
3122
3171
  <xsl:attribute name="font-size">
3123
3172
  <xsl:choose>
3173
+ <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
3174
+ <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
3124
3175
  <xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
3125
3176
  <xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
3126
3177
  </xsl:choose>
@@ -3937,6 +3988,7 @@
3937
3988
  <xsl:otherwise>
3938
3989
  <fo:block xsl:use-attribute-sets="image-style">
3939
3990
 
3991
+
3940
3992
  <xsl:if test="ancestor::un:admonition">
3941
3993
  <xsl:attribute name="margin-top">-12mm</xsl:attribute>
3942
3994
  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
@@ -4189,6 +4241,13 @@
4189
4241
  </xsl:attribute>
4190
4242
  <xsl:apply-templates mode="svg_update"/>
4191
4243
  </xsl:copy>
4244
+ </xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'image'][*[local-name() = 'svg']]" priority="3">
4245
+ <xsl:variable name="name" select="ancestor::*[local-name() = 'figure']/*[local-name() = 'name']"/>
4246
+ <xsl:for-each select="*[local-name() = 'svg']">
4247
+ <xsl:call-template name="image_svg">
4248
+ <xsl:with-param name="name" select="$name"/>
4249
+ </xsl:call-template>
4250
+ </xsl:for-each>
4192
4251
  </xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'image'][@mimetype = 'image/svg+xml' and @src[not(starts-with(., 'data:image/'))]]" priority="2">
4193
4252
  <xsl:variable name="svg_content" select="document(@src)"/>
4194
4253
  <xsl:variable name="name" select="ancestor::*[local-name() = 'figure']/*[local-name() = 'name']"/>
@@ -4293,7 +4352,7 @@
4293
4352
  </fo:basic-link>
4294
4353
  </fo:block>
4295
4354
  </fo:block-container>
4296
- </xsl:template><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">
4355
+ </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">
4297
4356
  <xsl:apply-templates mode="contents"/>
4298
4357
  <xsl:text> </xsl:text>
4299
4358
  </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">
@@ -4301,7 +4360,7 @@
4301
4360
  <xsl:text> </xsl:text>
4302
4361
  </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">
4303
4362
  <xsl:value-of select="."/>
4304
- </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">
4363
+ </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">
4305
4364
  <xsl:value-of select="."/>
4306
4365
  </xsl:template><xsl:template match="node()" mode="contents">
4307
4366
  <xsl:apply-templates mode="contents"/>
@@ -4399,6 +4458,8 @@
4399
4458
 
4400
4459
 
4401
4460
 
4461
+
4462
+
4402
4463
  </fo:bookmark-tree>
4403
4464
  </xsl:if>
4404
4465
  </xsl:template><xsl:template name="insertFigureBookmarks">
@@ -4592,12 +4653,16 @@
4592
4653
  <xsl:if test="$font-size != ''">
4593
4654
  <xsl:attribute name="font-size">
4594
4655
  <xsl:choose>
4656
+ <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
4657
+ <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
4595
4658
  <xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
4596
4659
  <xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
4597
4660
  </xsl:choose>
4598
4661
  </xsl:attribute>
4599
4662
  </xsl:if>
4600
4663
 
4664
+
4665
+
4601
4666
  <xsl:apply-templates/>
4602
4667
  </fo:block>
4603
4668
 
@@ -4950,6 +5015,7 @@
4950
5015
  </xsl:choose>
4951
5016
  </xsl:template><xsl:template match="*[local-name() = 'termsource']" name="termsource">
4952
5017
  <fo:block xsl:use-attribute-sets="termsource-style">
5018
+
4953
5019
  <!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
4954
5020
  <xsl:variable name="termsource_text">
4955
5021
  <xsl:apply-templates/>
@@ -4978,8 +5044,8 @@
4978
5044
  </xsl:if>
4979
5045
  </xsl:template><xsl:variable name="localized.source">
4980
5046
  <xsl:call-template name="getLocalizedString">
4981
- <xsl:with-param name="key">source</xsl:with-param>
4982
- </xsl:call-template>
5047
+ <xsl:with-param name="key">source</xsl:with-param>
5048
+ </xsl:call-template>
4983
5049
  </xsl:variable><xsl:template match="*[local-name() = 'origin']">
4984
5050
  <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
4985
5051
  <xsl:if test="normalize-space(@citeas) = ''">
@@ -4989,6 +5055,7 @@
4989
5055
  <fo:inline xsl:use-attribute-sets="origin-style">
4990
5056
  <xsl:apply-templates/>
4991
5057
  </fo:inline>
5058
+
4992
5059
  </fo:basic-link>
4993
5060
  </xsl:template><xsl:template match="*[local-name() = 'modification']/*[local-name() = 'p']">
4994
5061
  <fo:inline><xsl:apply-templates/></fo:inline>
@@ -5055,6 +5122,9 @@
5055
5122
 
5056
5123
  </xsl:if>
5057
5124
 
5125
+ <xsl:variable name="citeas" select="java:replaceAll(java:java.lang.String.new(@citeas),'^\[?(.+?)\]?$','$1')"/> <!-- remove leading and trailing brackets -->
5126
+ <xsl:variable name="text" select="normalize-space()"/>
5127
+
5058
5128
 
5059
5129
 
5060
5130
  <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
@@ -5067,7 +5137,9 @@
5067
5137
 
5068
5138
 
5069
5139
  </xsl:if>
5070
-
5140
+
5141
+
5142
+
5071
5143
  <xsl:apply-templates/>
5072
5144
  </fo:basic-link>
5073
5145
 
@@ -5412,6 +5484,7 @@
5412
5484
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
5413
5485
  <xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
5414
5486
  <fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
5487
+
5415
5488
  <xsl:apply-templates/>
5416
5489
  </fo:block>
5417
5490
  </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
@@ -5580,9 +5653,97 @@
5580
5653
  <fo:block-container border="1pt solid black" width="50%">
5581
5654
  <fo:block> </fo:block>
5582
5655
  </fo:block-container>
5656
+ </xsl:template><xsl:template match="*[local-name() = 'toc']">
5657
+ <xsl:param name="colwidths"/>
5658
+ <xsl:variable name="colwidths_">
5659
+ <xsl:choose>
5660
+ <xsl:when test="not($colwidths)">
5661
+ <xsl:variable name="toc_table_simple">
5662
+ <tbody>
5663
+ <xsl:apply-templates mode="toc_table_width"/>
5664
+ </tbody>
5665
+ </xsl:variable>
5666
+ <xsl:variable name="cols-count" select="count(xalan:nodeset($toc_table_simple)/*/tr[1]/td)"/>
5667
+ <xsl:call-template name="calculate-column-widths">
5668
+ <xsl:with-param name="cols-count" select="$cols-count"/>
5669
+ <xsl:with-param name="table" select="$toc_table_simple"/>
5670
+ </xsl:call-template>
5671
+ </xsl:when>
5672
+ <xsl:otherwise>
5673
+ <xsl:copy-of select="$colwidths"/>
5674
+ </xsl:otherwise>
5675
+ </xsl:choose>
5676
+ </xsl:variable>
5677
+ <fo:block role="TOCI" space-after="16pt">
5678
+ <fo:table width="100%" table-layout="fixed">
5679
+ <xsl:for-each select="xalan:nodeset($colwidths_)/column">
5680
+ <fo:table-column column-width="proportional-column-width({.})"/>
5681
+ </xsl:for-each>
5682
+ <fo:table-body>
5683
+ <xsl:apply-templates/>
5684
+ </fo:table-body>
5685
+ </fo:table>
5686
+ </fo:block>
5687
+ </xsl:template><xsl:template match="*[local-name() = 'toc']//*[local-name() = 'li']">
5688
+ <fo:table-row min-height="5mm">
5689
+ <xsl:apply-templates/>
5690
+ </fo:table-row>
5691
+ </xsl:template><xsl:template match="*[local-name() = 'toc']//*[local-name() = 'li']/*[local-name() = 'p']">
5692
+ <xsl:apply-templates/>
5693
+ </xsl:template><xsl:template match="*[local-name() = 'toc']//*[local-name() = 'xref']" priority="3">
5694
+ <!-- <xref target="cgpm9th1948r6">1.6.3<tab/>&#8220;9th CGPM, 1948:<tab/>decision to establish the SI&#8221;</xref> -->
5695
+ <xsl:variable name="target" select="@target"/>
5696
+ <xsl:for-each select="*[local-name() = 'tab']">
5697
+ <xsl:variable name="current_id" select="generate-id()"/>
5698
+ <fo:table-cell>
5699
+ <fo:block>
5700
+ <fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
5701
+ <xsl:for-each select="following-sibling::node()[not(self::*[local-name() = 'tab']) and preceding-sibling::*[local-name() = 'tab'][1][generate-id() = $current_id]]">
5702
+ <xsl:choose>
5703
+ <xsl:when test="self::text()"><xsl:value-of select="."/></xsl:when>
5704
+ <xsl:otherwise><xsl:apply-templates select="."/></xsl:otherwise>
5705
+ </xsl:choose>
5706
+ </xsl:for-each>
5707
+ </fo:basic-link>
5708
+ </fo:block>
5709
+ </fo:table-cell>
5710
+ </xsl:for-each>
5711
+ <!-- last column - for page numbers -->
5712
+ <fo:table-cell text-align="right" font-size="10pt" font-weight="bold" font-family="Arial">
5713
+ <fo:block>
5714
+ <fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
5715
+ <fo:page-number-citation ref-id="{$target}"/>
5716
+ </fo:basic-link>
5717
+ </fo:block>
5718
+ </fo:table-cell>
5719
+ </xsl:template><xsl:template match="*" mode="toc_table_width">
5720
+ <xsl:apply-templates mode="toc_table_width"/>
5721
+ </xsl:template><xsl:template match="*[local-name() = 'clause'][@type = 'toc']/*[local-name() = 'title']" mode="toc_table_width"/><xsl:template match="*[local-name() = 'clause'][not(@type = 'toc')]/*[local-name() = 'title']" mode="toc_table_width"/><xsl:template match="*[local-name() = 'li']" mode="toc_table_width">
5722
+ <tr>
5723
+ <xsl:apply-templates mode="toc_table_width"/>
5724
+ </tr>
5725
+ </xsl:template><xsl:template match="*[local-name() = 'xref']" mode="toc_table_width">
5726
+ <!-- <xref target="cgpm9th1948r6">1.6.3<tab/>&#8220;9th CGPM, 1948:<tab/>decision to establish the SI&#8221;</xref> -->
5727
+ <xsl:for-each select="*[local-name() = 'tab']">
5728
+ <xsl:variable name="current_id" select="generate-id()"/>
5729
+ <td>
5730
+ <xsl:for-each select="following-sibling::node()[not(self::*[local-name() = 'tab']) and preceding-sibling::*[local-name() = 'tab'][1][generate-id() = $current_id]]">
5731
+ <xsl:copy-of select="."/>
5732
+ </xsl:for-each>
5733
+ </td>
5734
+ </xsl:for-each>
5735
+ <td>333</td> <!-- page number, just for fill -->
5583
5736
  </xsl:template><xsl:template match="*[local-name() = 'variant-title'][@type = 'sub']"/><xsl:template match="*[local-name() = 'variant-title'][@type = 'sub']" mode="subtitle">
5584
5737
  <fo:inline padding-right="5mm"> </fo:inline>
5585
5738
  <fo:inline><xsl:apply-templates/></fo:inline>
5739
+ </xsl:template><xsl:template match="*[local-name() = 'blacksquare']" name="blacksquare">
5740
+ <fo:inline padding-right="2.5mm" baseline-shift="5%">
5741
+ <fo:instream-foreign-object content-height="2mm" content-width="2mm" fox:alt-text="Quad">
5742
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" viewBox="0 0 2 2">
5743
+ <rect x="0" y="0" width="2" height="2" fill="black"/>
5744
+ </svg>
5745
+ </fo:instream-foreign-object>
5746
+ </fo:inline>
5586
5747
  </xsl:template><xsl:template name="convertDate">
5587
5748
  <xsl:param name="date"/>
5588
5749
  <xsl:param name="format" select="'short'"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.6.10".freeze
3
+ VERSION = "0.7.0".freeze
4
4
  end
5
5
  end
@@ -30,8 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "roman-numerals"
31
31
  spec.add_dependency "twitter_cldr"
32
32
 
33
- spec.add_dependency "isodoc", "~> 1.7.0"
34
- spec.add_dependency "metanorma-standoc", "~> 1.10.0"
33
+ spec.add_dependency "metanorma-standoc", "~> 1.11.0"
35
34
 
36
35
  spec.add_development_dependency "byebug", "~> 9.1"
37
36
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-un
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.10
4
+ version: 0.7.0
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-08-30 00:00:00.000000000 Z
11
+ date: 2021-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639
@@ -52,34 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: isodoc
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 1.7.0
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 1.7.0
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: metanorma-standoc
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: 1.10.0
61
+ version: 1.11.0
76
62
  type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: 1.10.0
68
+ version: 1.11.0
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: byebug
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -306,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
292
  - !ruby/object:Gem::Version
307
293
  version: '0'
308
294
  requirements: []
309
- rubygems_version: 3.1.4
295
+ rubygems_version: 3.2.22
310
296
  signing_key:
311
297
  specification_version: 4
312
298
  summary: Metanorma for UN.