lib/metanorma/rsd/processor.rb in asciidoctor-rsd-0.3.2 vs lib/metanorma/rsd/processor.rb in asciidoctor-rsd-0.3.3
- old
+ new
@@ -31,15 +31,18 @@
when :html
IsoDoc::Rsd::HtmlConvert.new(options).convert(outname, isodoc_node)
when :doc
IsoDoc::Rsd::WordConvert.new(options).convert(outname, isodoc_node)
when :pdf
+ IsoDoc::Rsd::PdfConvert.new(options).convert(outname, isodoc_node)
+=begin
require 'tempfile'
outname_html = outname + ".html"
IsoDoc::Rsd::HtmlConvert.new(options).convert(outname_html, isodoc_node)
puts outname_html
system "cat #{outname_html}"
Metanorma::Output::Pdf.new.convert(outname_html, outname)
+=end
else
super
end
end
end