metanorma-jis 0.5.10 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 451bdef7f51c323ac525171c4bf230e1f0c4412545dadab880697e008449233e
4
- data.tar.gz: 6e13753476ba4444ece60a2be685d1f0bf1aabc49de5870f96b27b4e8d73b53f
3
+ metadata.gz: 6a97d43bcc7cfe72372d3ba002193451b0702bddd5ff2a5c7dee75a5a7c61085
4
+ data.tar.gz: 340ccc61aca2bd7ecac371b64e9a7dcf87ea5bf0f6bbb8ef9606240a1fae6e73
5
5
  SHA512:
6
- metadata.gz: 84eabb20505b4eb02cd98e27240ac3f02fcd037a8e4263f5cf66402892d9756406e274ea52d6d5ef7d167614f2bfbf69b35121d55c8b2373a8250a327998cdbf
7
- data.tar.gz: 0ce15141b2f988b9c5a8c2624853d55781fa0c9a163211e57c0e24aaeb316d2109deeafa2d0de23bddc41db156b6fd46d505cf9d8c1625cd8bdcbaee7d56088a
6
+ metadata.gz: 19f570ff8e6d5b5eef3efe3bf8c7ffe4798eb6fa3d65ab7e868c3f46bab997c647e96825cd1e107d8c6db631d64807fc5f57b75432e5c3809720d1a4d88920cc
7
+ data.tar.gz: 6c363bc9e2a13c536de107822eae3b623bf00987fa7b6697011c5147bb1b3b0e32fed170d984b3e316efed2ef2cbaba901e90f5c14727036a16a5c52ffc2ff87
@@ -76,26 +76,10 @@ module IsoDoc
76
76
  )
77
77
  end
78
78
 
79
- # TODO: the approach taken in Plateau is more rational,
80
- # of doing this in Presentation XML
81
- def table_note_cleanup(docxml)
82
- tn = ::IsoDoc::Function::Cleanup::TABLENOTE_CSS
83
- docxml.xpath("//table[dl or #{tn} or p[@class = 'dl']]").each do |t|
84
- tfoot = table_get_or_make_tfoot(t)
85
- insert_here = new_fullcolspan_row(t, tfoot)
86
- t.xpath("dl | p[@class = 'ListTitle'] | #{tn} | " \
87
- "p[@class = 'dl']")
88
- .each do |d|
89
- d.parent = insert_here
90
- end
91
- end
92
- end
93
-
94
79
  # table name footnote is formatted like other footnotes, since table name
95
80
  # is a table row.
96
81
  def footnote_parse(node, out)
97
- return table_footnote_parse(node, out) if @in_table
98
-
82
+ @in_table and return table_footnote_parse(node, out)
99
83
  super
100
84
  end
101
85
  end