lib/metanorma/collection/renderer/fileprocess.rb in metanorma-2.0.2 vs lib/metanorma/collection/renderer/fileprocess.rb in metanorma-2.0.3

- old
+ new

@@ -33,10 +33,11 @@ ret end def file_compile_formats(filename, identifier) f = @files.get(identifier, :outputs) - @format << :presentation if @format.include?(:pdf) + concatenate_presentation?({ format: @format }) and + @format << :presentation @format.each do |e| ext = @compile.processor.output_formats[e] fn = File.basename(filename).sub(/(?<=\.)[^.]+$/, ext.to_s) (/html$/.match?(ext) && @files.get(identifier, :sectionsplit)) or f[e] = File.join(@outdir, fn)