metanorma-un 0.10.13 → 0.11.0
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/un/base_convert.rb +14 -1
- data/lib/isodoc/un/html_convert.rb +0 -17
- data/lib/isodoc/un/presentation_xml_convert.rb +2 -0
- data/lib/isodoc/un/un.plenary-attachment.xsl +37 -14
- data/lib/isodoc/un/un.plenary.xsl +37 -14
- data/lib/isodoc/un/un.recommendation.xsl +37 -14
- data/lib/isodoc/un/word_convert.rb +9 -22
- data/lib/metanorma/un/isodoc.rng +26 -4
- data/lib/metanorma/un/version.rb +1 -1
- data/metanorma-un.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 633ea5daa3f540bef45566dd48c57acf9b736477bb2b4264faea2c30cab0c3b3
|
4
|
+
data.tar.gz: d1b1f2e6fc90eeb24bf51be943dc0cfcd1afa7730d0d37539b24d70bf297078e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd675bedc775517e9483799880bf57c31c967788938d62bbe32eb7a975837c973b1849e6f867841763b9e3f2027ad039fbb51981d729487087b3e654894c7a39
|
7
|
+
data.tar.gz: dac9c0da31d353fdc028dd018d6273e4506ebacd5223e212baa0b72c814f0a243cd7644099afbf2fba0ad9ed3ff3410026ff34c70c2e04c7a412ad51f25a567d
|
@@ -7,6 +7,15 @@ module IsoDoc
|
|
7
7
|
"//clause[parent::sections]"
|
8
8
|
end
|
9
9
|
|
10
|
+
def norm_ref_xpath
|
11
|
+
"//null"
|
12
|
+
end
|
13
|
+
|
14
|
+
def bibliography_xpath
|
15
|
+
"//bibliography/clause[.//references] | " \
|
16
|
+
"//bibliography/references"
|
17
|
+
end
|
18
|
+
|
10
19
|
def admonition_parse(node, out)
|
11
20
|
name = node.at(ns("./name"))
|
12
21
|
out.div **admonition_attrs(node) do |t|
|
@@ -18,7 +27,7 @@ module IsoDoc
|
|
18
27
|
end
|
19
28
|
|
20
29
|
def inline_header_title(out, _node, title)
|
21
|
-
out.span
|
30
|
+
out.span class: "zzMoveToFollowing" do |s|
|
22
31
|
title&.children&.each { |c2| parse(c2, s) }
|
23
32
|
clausedelimspace(_node, out) if /\S/.match?(title&.text)
|
24
33
|
end
|
@@ -32,6 +41,10 @@ module IsoDoc
|
|
32
41
|
false
|
33
42
|
end
|
34
43
|
|
44
|
+
def norm_ref(node, out)
|
45
|
+
bibliography(node, out)
|
46
|
+
end
|
47
|
+
|
35
48
|
def convert_i18n_init1(docxml)
|
36
49
|
super
|
37
50
|
docxml.xpath(ns("//bibdata/language")).size > 1 and @lang = "en"
|
@@ -65,23 +65,6 @@ module IsoDoc
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
def make_body3(body, docxml)
|
69
|
-
body.div class: "main-section" do |div3|
|
70
|
-
boilerplate docxml, div3
|
71
|
-
front docxml, div3
|
72
|
-
middle docxml, div3
|
73
|
-
footnotes div3
|
74
|
-
comments div3
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
def middle(isoxml, out)
|
79
|
-
middle_admonitions(isoxml, out)
|
80
|
-
clause isoxml, out
|
81
|
-
annex isoxml, out
|
82
|
-
bibliography isoxml, out
|
83
|
-
end
|
84
|
-
|
85
68
|
def introduction(clause, out)
|
86
69
|
page_break(out)
|
87
70
|
out.div class: "Section3", id: clause["id"] do |div|
|
@@ -4628,6 +4628,9 @@
|
|
4628
4628
|
<!-- END Definition List -->
|
4629
4629
|
<!-- ===================== -->
|
4630
4630
|
|
4631
|
+
<!-- default: ignore title in sections/p -->
|
4632
|
+
<xsl:template match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]" priority="3"/>
|
4633
|
+
|
4631
4634
|
<!-- ========================= -->
|
4632
4635
|
<!-- Rich text formatting -->
|
4633
4636
|
<!-- ========================= -->
|
@@ -6719,25 +6722,45 @@
|
|
6719
6722
|
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style">
|
6720
6723
|
<xsl:if test="not(@mimetype = 'image/svg+xml') and ../*[local-name() = 'name'] and not(ancestor::*[local-name() = 'table'])">
|
6721
6724
|
|
6722
|
-
<xsl:
|
6723
|
-
<xsl:
|
6724
|
-
<xsl:
|
6725
|
-
|
6726
|
-
|
6727
|
-
</xsl:variable>
|
6725
|
+
<xsl:if test="@width != '' and @width != 'auto'">
|
6726
|
+
<xsl:attribute name="width">
|
6727
|
+
<xsl:value-of select="@width"/>
|
6728
|
+
</xsl:attribute>
|
6729
|
+
</xsl:if>
|
6728
6730
|
|
6729
|
-
<xsl:
|
6731
|
+
<xsl:if test="@height != '' and @height != 'auto'">
|
6732
|
+
<xsl:attribute name="height">
|
6733
|
+
<xsl:value-of select="@height"/>
|
6734
|
+
</xsl:attribute>
|
6735
|
+
</xsl:if>
|
6730
6736
|
|
6731
|
-
|
6737
|
+
<xsl:choose>
|
6738
|
+
<xsl:when test="@width != '' and @width != 'auto' and @height != '' and @height != 'auto'">
|
6739
|
+
<xsl:attribute name="scaling">non-uniform</xsl:attribute>
|
6740
|
+
</xsl:when>
|
6741
|
+
<xsl:otherwise>
|
6732
6742
|
|
6733
|
-
|
6743
|
+
<xsl:variable name="img_src">
|
6744
|
+
<xsl:choose>
|
6745
|
+
<xsl:when test="not(starts-with(@src, 'data:'))"><xsl:value-of select="concat($basepath, @src)"/></xsl:when>
|
6746
|
+
<xsl:otherwise><xsl:value-of select="@src"/></xsl:otherwise>
|
6747
|
+
</xsl:choose>
|
6748
|
+
</xsl:variable>
|
6734
6749
|
|
6735
|
-
|
6736
|
-
<xsl:if test="number($scale) < 100">
|
6750
|
+
<xsl:variable name="image_width_effective">
|
6737
6751
|
|
6738
|
-
|
6752
|
+
<xsl:value-of select="$width_effective"/>
|
6739
6753
|
|
6740
|
-
|
6754
|
+
</xsl:variable>
|
6755
|
+
|
6756
|
+
<xsl:variable name="scale" select="java:org.metanorma.fop.Util.getImageScale($img_src, $image_width_effective, $height_effective)"/>
|
6757
|
+
<xsl:if test="number($scale) < 100">
|
6758
|
+
|
6759
|
+
<xsl:attribute name="content-width"><xsl:value-of select="$scale * 0.985"/>%</xsl:attribute><!-- 0.985 due border around image -->
|
6760
|
+
|
6761
|
+
</xsl:if>
|
6762
|
+
</xsl:otherwise>
|
6763
|
+
</xsl:choose>
|
6741
6764
|
|
6742
6765
|
</xsl:if>
|
6743
6766
|
|
@@ -10380,7 +10403,7 @@
|
|
10380
10403
|
<xsl:template match="*[local-name() = 'span']" mode="update_xml_step1">
|
10381
10404
|
<xsl:apply-templates mode="update_xml_step1"/>
|
10382
10405
|
</xsl:template>
|
10383
|
-
<xsl:template match="*[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
|
10406
|
+
<xsl:template match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]/*[local-name() = 'span'][@class] | *[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
|
10384
10407
|
<xsl:copy>
|
10385
10408
|
<xsl:copy-of select="@*"/>
|
10386
10409
|
<xsl:apply-templates mode="update_xml_step1"/>
|
@@ -4628,6 +4628,9 @@
|
|
4628
4628
|
<!-- END Definition List -->
|
4629
4629
|
<!-- ===================== -->
|
4630
4630
|
|
4631
|
+
<!-- default: ignore title in sections/p -->
|
4632
|
+
<xsl:template match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]" priority="3"/>
|
4633
|
+
|
4631
4634
|
<!-- ========================= -->
|
4632
4635
|
<!-- Rich text formatting -->
|
4633
4636
|
<!-- ========================= -->
|
@@ -6719,25 +6722,45 @@
|
|
6719
6722
|
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style">
|
6720
6723
|
<xsl:if test="not(@mimetype = 'image/svg+xml') and ../*[local-name() = 'name'] and not(ancestor::*[local-name() = 'table'])">
|
6721
6724
|
|
6722
|
-
<xsl:
|
6723
|
-
<xsl:
|
6724
|
-
<xsl:
|
6725
|
-
|
6726
|
-
|
6727
|
-
</xsl:variable>
|
6725
|
+
<xsl:if test="@width != '' and @width != 'auto'">
|
6726
|
+
<xsl:attribute name="width">
|
6727
|
+
<xsl:value-of select="@width"/>
|
6728
|
+
</xsl:attribute>
|
6729
|
+
</xsl:if>
|
6728
6730
|
|
6729
|
-
<xsl:
|
6731
|
+
<xsl:if test="@height != '' and @height != 'auto'">
|
6732
|
+
<xsl:attribute name="height">
|
6733
|
+
<xsl:value-of select="@height"/>
|
6734
|
+
</xsl:attribute>
|
6735
|
+
</xsl:if>
|
6730
6736
|
|
6731
|
-
|
6737
|
+
<xsl:choose>
|
6738
|
+
<xsl:when test="@width != '' and @width != 'auto' and @height != '' and @height != 'auto'">
|
6739
|
+
<xsl:attribute name="scaling">non-uniform</xsl:attribute>
|
6740
|
+
</xsl:when>
|
6741
|
+
<xsl:otherwise>
|
6732
6742
|
|
6733
|
-
|
6743
|
+
<xsl:variable name="img_src">
|
6744
|
+
<xsl:choose>
|
6745
|
+
<xsl:when test="not(starts-with(@src, 'data:'))"><xsl:value-of select="concat($basepath, @src)"/></xsl:when>
|
6746
|
+
<xsl:otherwise><xsl:value-of select="@src"/></xsl:otherwise>
|
6747
|
+
</xsl:choose>
|
6748
|
+
</xsl:variable>
|
6734
6749
|
|
6735
|
-
|
6736
|
-
<xsl:if test="number($scale) < 100">
|
6750
|
+
<xsl:variable name="image_width_effective">
|
6737
6751
|
|
6738
|
-
|
6752
|
+
<xsl:value-of select="$width_effective"/>
|
6739
6753
|
|
6740
|
-
|
6754
|
+
</xsl:variable>
|
6755
|
+
|
6756
|
+
<xsl:variable name="scale" select="java:org.metanorma.fop.Util.getImageScale($img_src, $image_width_effective, $height_effective)"/>
|
6757
|
+
<xsl:if test="number($scale) < 100">
|
6758
|
+
|
6759
|
+
<xsl:attribute name="content-width"><xsl:value-of select="$scale * 0.985"/>%</xsl:attribute><!-- 0.985 due border around image -->
|
6760
|
+
|
6761
|
+
</xsl:if>
|
6762
|
+
</xsl:otherwise>
|
6763
|
+
</xsl:choose>
|
6741
6764
|
|
6742
6765
|
</xsl:if>
|
6743
6766
|
|
@@ -10380,7 +10403,7 @@
|
|
10380
10403
|
<xsl:template match="*[local-name() = 'span']" mode="update_xml_step1">
|
10381
10404
|
<xsl:apply-templates mode="update_xml_step1"/>
|
10382
10405
|
</xsl:template>
|
10383
|
-
<xsl:template match="*[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
|
10406
|
+
<xsl:template match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]/*[local-name() = 'span'][@class] | *[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
|
10384
10407
|
<xsl:copy>
|
10385
10408
|
<xsl:copy-of select="@*"/>
|
10386
10409
|
<xsl:apply-templates mode="update_xml_step1"/>
|
@@ -4755,6 +4755,9 @@
|
|
4755
4755
|
<!-- END Definition List -->
|
4756
4756
|
<!-- ===================== -->
|
4757
4757
|
|
4758
|
+
<!-- default: ignore title in sections/p -->
|
4759
|
+
<xsl:template match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]" priority="3"/>
|
4760
|
+
|
4758
4761
|
<!-- ========================= -->
|
4759
4762
|
<!-- Rich text formatting -->
|
4760
4763
|
<!-- ========================= -->
|
@@ -6846,25 +6849,45 @@
|
|
6846
6849
|
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style">
|
6847
6850
|
<xsl:if test="not(@mimetype = 'image/svg+xml') and ../*[local-name() = 'name'] and not(ancestor::*[local-name() = 'table'])">
|
6848
6851
|
|
6849
|
-
<xsl:
|
6850
|
-
<xsl:
|
6851
|
-
<xsl:
|
6852
|
-
|
6853
|
-
|
6854
|
-
</xsl:variable>
|
6852
|
+
<xsl:if test="@width != '' and @width != 'auto'">
|
6853
|
+
<xsl:attribute name="width">
|
6854
|
+
<xsl:value-of select="@width"/>
|
6855
|
+
</xsl:attribute>
|
6856
|
+
</xsl:if>
|
6855
6857
|
|
6856
|
-
<xsl:
|
6858
|
+
<xsl:if test="@height != '' and @height != 'auto'">
|
6859
|
+
<xsl:attribute name="height">
|
6860
|
+
<xsl:value-of select="@height"/>
|
6861
|
+
</xsl:attribute>
|
6862
|
+
</xsl:if>
|
6857
6863
|
|
6858
|
-
|
6864
|
+
<xsl:choose>
|
6865
|
+
<xsl:when test="@width != '' and @width != 'auto' and @height != '' and @height != 'auto'">
|
6866
|
+
<xsl:attribute name="scaling">non-uniform</xsl:attribute>
|
6867
|
+
</xsl:when>
|
6868
|
+
<xsl:otherwise>
|
6859
6869
|
|
6860
|
-
|
6870
|
+
<xsl:variable name="img_src">
|
6871
|
+
<xsl:choose>
|
6872
|
+
<xsl:when test="not(starts-with(@src, 'data:'))"><xsl:value-of select="concat($basepath, @src)"/></xsl:when>
|
6873
|
+
<xsl:otherwise><xsl:value-of select="@src"/></xsl:otherwise>
|
6874
|
+
</xsl:choose>
|
6875
|
+
</xsl:variable>
|
6861
6876
|
|
6862
|
-
|
6863
|
-
<xsl:if test="number($scale) < 100">
|
6877
|
+
<xsl:variable name="image_width_effective">
|
6864
6878
|
|
6865
|
-
|
6879
|
+
<xsl:value-of select="$width_effective"/>
|
6866
6880
|
|
6867
|
-
|
6881
|
+
</xsl:variable>
|
6882
|
+
|
6883
|
+
<xsl:variable name="scale" select="java:org.metanorma.fop.Util.getImageScale($img_src, $image_width_effective, $height_effective)"/>
|
6884
|
+
<xsl:if test="number($scale) < 100">
|
6885
|
+
|
6886
|
+
<xsl:attribute name="content-width"><xsl:value-of select="$scale"/>%</xsl:attribute>
|
6887
|
+
|
6888
|
+
</xsl:if>
|
6889
|
+
</xsl:otherwise>
|
6890
|
+
</xsl:choose>
|
6868
6891
|
|
6869
6892
|
</xsl:if>
|
6870
6893
|
|
@@ -10508,7 +10531,7 @@
|
|
10508
10531
|
<xsl:template match="*[local-name() = 'span']" mode="update_xml_step1">
|
10509
10532
|
<xsl:apply-templates mode="update_xml_step1"/>
|
10510
10533
|
</xsl:template>
|
10511
|
-
<xsl:template match="*[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
|
10534
|
+
<xsl:template match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]/*[local-name() = 'span'][@class] | *[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
|
10512
10535
|
<xsl:copy>
|
10513
10536
|
<xsl:copy-of select="@*"/>
|
10514
10537
|
<xsl:apply-templates mode="update_xml_step1"/>
|
@@ -73,34 +73,21 @@ module IsoDoc
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
|
77
|
-
body.div class: "WordSection2" do |div2|
|
78
|
-
info docxml, div2
|
79
|
-
boilerplate docxml, div2
|
80
|
-
front docxml, div2
|
81
|
-
div2.p { |p| p << " " } # placeholder
|
82
|
-
end
|
83
|
-
section_break(body)
|
84
|
-
end
|
85
|
-
|
86
|
-
ENDLINE = <<~END.freeze
|
76
|
+
ENDLINE = <<~ENDLINE.freeze
|
87
77
|
<v:line
|
88
78
|
alt="" style='position:absolute;left:0;text-align:left;z-index:251662848;
|
89
79
|
mso-wrap-edited:f;mso-width-percent:0;mso-height-percent:0;
|
90
80
|
mso-width-percent:0;mso-height-percent:0'
|
91
81
|
from="6.375cm,20.95pt" to="10.625cm,20.95pt"
|
92
82
|
strokeweight="1.5pt"/>
|
93
|
-
|
83
|
+
ENDLINE
|
94
84
|
|
95
85
|
def end_line(_isoxml, out)
|
96
86
|
out.parent.add_child(ENDLINE)
|
97
87
|
end
|
98
88
|
|
99
|
-
def
|
100
|
-
|
101
|
-
clause isoxml, out
|
102
|
-
annex isoxml, out
|
103
|
-
bibliography isoxml, out
|
89
|
+
def make_body3(out, isoxml)
|
90
|
+
super
|
104
91
|
end_line(isoxml, out)
|
105
92
|
end
|
106
93
|
|
@@ -108,7 +95,7 @@ module IsoDoc
|
|
108
95
|
out.div class: "Section3", id: clause["id"] do |div|
|
109
96
|
page_break(out)
|
110
97
|
div.p(class: "IntroTitle") do |h1|
|
111
|
-
clause
|
98
|
+
clause.at(ns("./title"))&.children&.each { |n| parse(n, h1) }
|
112
99
|
end
|
113
100
|
clause.elements.each do |e|
|
114
101
|
parse(e, div) unless e.name == "title"
|
@@ -120,7 +107,7 @@ module IsoDoc
|
|
120
107
|
out.div **attr_code(id: clause["id"]) do |s|
|
121
108
|
page_break(out)
|
122
109
|
s.p(class: "ForewordTitle") do |h1|
|
123
|
-
clause
|
110
|
+
clause.at(ns("./title"))&.children&.each { |n| parse(n, h1) }
|
124
111
|
end
|
125
112
|
clause.elements.each { |e| parse(e, s) unless e.name == "title" }
|
126
113
|
end
|
@@ -137,7 +124,7 @@ module IsoDoc
|
|
137
124
|
abstract.parent = (abstractbox || preface_container) if abstract &&
|
138
125
|
(abstractbox || preface_container)
|
139
126
|
abstractbox and abstract&.xpath(".//p/br")&.each do |a|
|
140
|
-
a.parent.remove if
|
127
|
+
a.parent.remove if a["style"].include?("page-break-before:always")
|
141
128
|
end
|
142
129
|
docxml&.at("//p[@class = 'AbstractTitle']")&.remove if abstractbox
|
143
130
|
foreword.parent = preface_container if foreword && preface_container
|
@@ -157,7 +144,7 @@ module IsoDoc
|
|
157
144
|
out.div **attr_code(id: clause["id"]) do |s|
|
158
145
|
page_break(out)
|
159
146
|
s.p(class: "AbstractTitle") do |h1|
|
160
|
-
clause
|
147
|
+
clause.at(ns("./title"))&.children&.each { |n| parse(n, h1) }
|
161
148
|
end
|
162
149
|
clause.elements.each { |e| parse(e, s) unless e.name == "title" }
|
163
150
|
end
|
@@ -167,7 +154,7 @@ module IsoDoc
|
|
167
154
|
super
|
168
155
|
a = docxml.at("//div[@id = 'boilerplate-ECEhdr']") and
|
169
156
|
a["class"] = "boilerplate-ECEhdr"
|
170
|
-
docxml
|
157
|
+
docxml.at("//div[@class = 'authority']")&.remove
|
171
158
|
end
|
172
159
|
|
173
160
|
include BaseConvert
|
data/lib/metanorma/un/isodoc.rng
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
these elements; we just want one namespace for any child grammars
|
18
18
|
of this.
|
19
19
|
-->
|
20
|
-
<!-- VERSION v1.2.
|
20
|
+
<!-- VERSION v1.2.3 -->
|
21
21
|
<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">
|
22
22
|
<include href="reqt.rng"/>
|
23
23
|
<include href="basicdoc.rng">
|
@@ -192,9 +192,11 @@
|
|
192
192
|
</attribute>
|
193
193
|
</optional>
|
194
194
|
<attribute name="citeas"/>
|
195
|
-
<
|
196
|
-
<
|
197
|
-
|
195
|
+
<optional>
|
196
|
+
<attribute name="type">
|
197
|
+
<ref name="ReferenceFormat"/>
|
198
|
+
</attribute>
|
199
|
+
</optional>
|
198
200
|
<optional>
|
199
201
|
<attribute name="alt"/>
|
200
202
|
</optional>
|
@@ -836,6 +838,26 @@
|
|
836
838
|
<ref name="paragraph"/>
|
837
839
|
</element>
|
838
840
|
</define>
|
841
|
+
<define name="stem">
|
842
|
+
<element name="stem">
|
843
|
+
<attribute name="type">
|
844
|
+
<choice>
|
845
|
+
<value>MathML</value>
|
846
|
+
<value>AsciiMath</value>
|
847
|
+
<value>LatexMath</value>
|
848
|
+
</choice>
|
849
|
+
</attribute>
|
850
|
+
<attribute name="block">
|
851
|
+
<data type="boolean"/>
|
852
|
+
</attribute>
|
853
|
+
<oneOrMore>
|
854
|
+
<choice>
|
855
|
+
<text/>
|
856
|
+
<ref name="AnyElement"/>
|
857
|
+
</choice>
|
858
|
+
</oneOrMore>
|
859
|
+
</element>
|
860
|
+
</define>
|
839
861
|
<define name="em">
|
840
862
|
<element name="em">
|
841
863
|
<zeroOrMore>
|
data/lib/metanorma/un/version.rb
CHANGED
data/metanorma-un.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "roman-numerals"
|
32
32
|
spec.add_dependency "twitter_cldr"
|
33
33
|
|
34
|
-
spec.add_dependency "metanorma-standoc", "~> 2.
|
34
|
+
spec.add_dependency "metanorma-standoc", "~> 2.5.0"
|
35
35
|
|
36
36
|
spec.add_development_dependency "debug"
|
37
37
|
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.
|
4
|
+
version: 0.11.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: 2023-07
|
11
|
+
date: 2023-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.5.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
68
|
+
version: 2.5.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: debug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|