lib/isodoc/m3d/m3dpdfconvert.rb in metanorma-m3d-1.0.13 vs lib/isodoc/m3d/m3dpdfconvert.rb in metanorma-m3d-1.1.0
- old
+ new
@@ -16,10 +16,14 @@
end
def initialize(options)
@libdir = File.dirname(__FILE__)
super
+ end
+
+ def convert1(docxml, filename, dir)
add_image(%w(logo.jpg m3-logo.png))
+ super
end
def default_fonts(options)
{
bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' : '"Overpass",sans-serif'),