metanorma-iso 2.4.1 → 2.4.3
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/iso/base_convert.rb +9 -3
- data/lib/isodoc/iso/html/html_iso_intro.html +0 -1
- data/lib/isodoc/iso/html/word_iso_intro-dis.html +0 -2
- data/lib/isodoc/iso/html/word_iso_intro.html +0 -2
- data/lib/isodoc/iso/iso.amendment.xsl +333 -112
- data/lib/isodoc/iso/iso.international-standard.xsl +333 -112
- data/lib/isodoc/iso/presentation_xml_convert.rb +7 -0
- data/lib/isodoc/iso/sections.rb +10 -10
- data/lib/isodoc/iso/word_cleanup.rb +3 -0
- data/lib/isodoc/iso/word_convert.rb +8 -3
- data/lib/metanorma/iso/isodoc.rng +41 -14
- data/lib/metanorma/iso/isostandard-amd.rng +5 -8
- data/lib/metanorma/iso/isostandard.rng +5 -8
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6efbdfac921fca07cbdb4d753e847a89c54f8347df0c17b6618688c40e8003d9
|
4
|
+
data.tar.gz: 1b7120befb99cc66e1a2e3daf5c80bdfb52758c3f79467ea869cb142462dccc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 022e4216384f835d28245833db63f4bb2c6c69a92117187d29649146aace5c86c7221c10b48c235d80a86928725fd04bc50ca8c81f3bafc88acfe8d97324697a
|
7
|
+
data.tar.gz: 9dd817c38bae0befa1929aeb4447850b1f030d2e9084aa6432192efdbad0bb1f8c6f8c8e820587f19faefa7da2877be91911b26957f708de651e9e95a9d6c4a7
|
@@ -183,13 +183,19 @@ module IsoDoc
|
|
183
183
|
measurement_units(node, out)
|
184
184
|
out.table **table_attrs(node) do |t|
|
185
185
|
table_parse_core(node, t)
|
186
|
-
(
|
187
|
-
node.xpath(ns("./note[not(@type = 'units')]"))
|
188
|
-
.each { |n| parse(n, out) }
|
186
|
+
table_parse_tail(node, t)
|
189
187
|
end
|
190
188
|
@in_table = false
|
191
189
|
end
|
192
190
|
|
191
|
+
def table_parse_tail(node, out)
|
192
|
+
(dl = node.at(ns("./dl"))) && parse(dl, out)
|
193
|
+
node.xpath(ns("./source")).each { |n| parse(n, out) }
|
194
|
+
node.xpath(ns("./note[not(@type = 'units')]")).each do |n|
|
195
|
+
parse(n, out)
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
193
199
|
def figure_parse1(node, out)
|
194
200
|
measurement_units(node, out)
|
195
201
|
out.div **figure_attrs(node) do |div|
|
@@ -8,7 +8,5 @@ margin-left:5.1pt;margin-right:5.1pt'>
|
|
8
8
|
{% if doctype == "Amendment" or doctype == "Technical Corrigendum" %}
|
9
9
|
{% else %}
|
10
10
|
|
11
|
-
<p class="zzContents" style='margin-top:0cm'><span lang="EN-GB">{{ labels["table_of_contents"] }}</span></p>
|
12
11
|
|
13
|
-
WORDTOC
|
14
12
|
{% endif %}
|