lib/isodoc/m3d/m3dwordconvert.rb in asciidoctor-m3d-0.3.1 vs lib/isodoc/m3d/m3dwordconvert.rb in asciidoctor-m3d-0.3.2
- old
+ new
@@ -31,10 +31,14 @@
'"Garamond",serif')
m = options[:monospacefont] || '"Courier New",monospace'
"$bodyfont: #{b};\n$headerfont: #{h};\n$monospacefont: #{m};\n"
end
+ def metadata_init(lang, script, labels)
+ @meta = Metadata.new(lang, script, labels)
+ end
+
def colophon(body, docxml)
section_break(body)
body.div **{ class: "colophon" } do |div|
end
end
@@ -81,9 +85,14 @@
x.remove if x.name == "span" && x["class"] == "MsoCommentReference"
x.remove if x.name == "a" && x["epub:type"] == "footnote"
x.replace(x.children) if x.name == "a"
end
from_xhtml(h1)
+ end
+
+ def info(isoxml, out)
+ @meta.url isoxml, out
+ super
end
end
end
end