Method: IsoDoc::Convert#convert1
- Defined in:
- lib/isodoc/convert.rb
#convert1(docxml, filename, dir) ⇒ Object
106 107 108 109 110 111 112 113 114 115 116 117 |
# File 'lib/isodoc/convert.rb', line 106 def convert1(docxml, filename, dir) @xrefs.parse docxml noko do |xml| xml.html **{ lang: @lang.to_s } do |html| html.parent.add_namespace('epub', 'http://www.idpf.org/2007/ops') info docxml, nil populate_css html.head { |head| define_head head, filename, dir } make_body(html, docxml) end end.join("\n") end |