lib/isodoc/m3d/m3dwordconvert.rb in metanorma-m3d-1.0.13 vs lib/isodoc/m3d/m3dwordconvert.rb in metanorma-m3d-1.1.0
- old
+ new
@@ -9,10 +9,14 @@
class WordConvert < IsoDoc::WordConvert
def initialize(options)
@libdir = File.dirname(__FILE__)
super
+ end
+
+ def convert1(docxml, filename, dir)
FileUtils.cp html_doc_path("logo.jpg"), "logo.jpg"
+ super
end
def default_fonts(options)
{
bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' : '"Garamond",serif'),