metanorma-iso 2.4.1 → 2.4.3

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: 63f76b4a2d9cc268099b20ca2fa32965d1baa2573dbd696170412ba717ae726b
4
- data.tar.gz: 4d7c46a0cedf41d5466030d6e4e5ea8956cdce2081d4d24be581eafae3a71c4d
3
+ metadata.gz: 6efbdfac921fca07cbdb4d753e847a89c54f8347df0c17b6618688c40e8003d9
4
+ data.tar.gz: 1b7120befb99cc66e1a2e3daf5c80bdfb52758c3f79467ea869cb142462dccc8
5
5
  SHA512:
6
- metadata.gz: 1651fd7ed1c7216292a542dd4a1e5be937807afe1728675633287e507100b0c9979fd58afb682e6ba271d0021313ef1e92f04dc8a14f6d9ad2778fc6cd7eed2a
7
- data.tar.gz: 5c195c5207ca60ea89789d9ba82723788f01e85ac9e576d03d27c2449a2fe6ee1bf2fd479809a7813865821e1107b257cc64cdf0f7bb6e59603696602bc30b28
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
- (dl = node.at(ns("./dl"))) && parse(dl, out)
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|
@@ -2,7 +2,6 @@
2
2
 
3
3
  <nav>
4
4
 
5
- <h1 id="content">{{ labels["table_of_contents"] }}</h1>
6
5
  <div id="toc"></div>
7
6
 
8
7
  </nav>
@@ -3,7 +3,5 @@
3
3
 
4
4
  <div id="boilerplate-copyright-destination"/>
5
5
 
6
- <p class="zzContents"><span lang="EN-GB">{{ labels["table_of_contents"] }}</span></p>
7
6
 
8
- WORDTOC
9
7
  {% endif %}
@@ -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 %}