Method: IsoDoc::Function::Cleanup#figure_cleanup
- Defined in:
- lib/isodoc/function/cleanup.rb
#figure_cleanup(docxml) ⇒ Object
move footnotes into key, and get rid of footnote reference since it is in diagram
58 59 60 61 62 63 64 65 66 |
# File 'lib/isodoc/function/cleanup.rb', line 58 def figure_cleanup(docxml) docxml.xpath(FIGURE_WITH_FOOTNOTES).each do |f| key = figure_get_or_make_dl(f) f.xpath(".//aside").each do |aside| figure_aside_process(f, aside, key) end end docxml end |