Method: IsoDoc::Convert#convert1
- Defined in:
- lib/isodoc/convert.rb
#convert1(docxml, filename, dir) ⇒ Object
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/isodoc/convert.rb', line 135 def convert1(docxml, filename, dir) anchor_names docxml noko do |xml| xml.html **{ lang: "#{@lang}" } do |html| html.parent.add_namespace("epub", "http://www.idpf.org/2007/ops") info docxml, nil populate_css() define_head html, filename, dir make_body(html, docxml) end end.join("\n") end |