lib/isodoc/pdf_convert.rb in isodoc-1.0.25 vs lib/isodoc/pdf_convert.rb in isodoc-1.0.26

- old
+ new

@@ -20,9 +20,14 @@ def tmpimagedir_suffix "_pdfimages" end + def initialize(options) + @format = :pdf + super + end + def convert(filename, file = nil, debug = false) file = File.read(filename, encoding: "utf-8") if file.nil? @openmathdelim, @closemathdelim = extract_delims(file) docxml, outname_html, dir = convert_init(file, filename, debug) result = convert1(docxml, filename, dir)