lib/isodoc/m3d/m3dpdfconvert.rb in metanorma-m3d-1.1.1 vs lib/isodoc/m3d/m3dpdfconvert.rb in metanorma-m3d-1.1.2

- old
+ new

@@ -8,11 +8,11 @@ # A {Converter} implementation that generates CSAND output, and a document # schema encapsulation of the document for validation class PdfConvert < IsoDoc::PdfConvert def add_image(filenames) filenames.each do |filename| - FileUtils.cp html_doc_path(filename), filename - @files_to_delete << filename + FileUtils.cp html_doc_path(filename), File.join(@localdir, filename) + @files_to_delete << File.join(@localdir, filename) end end def initialize(options) @libdir = File.dirname(__FILE__)