lib/metanorma/csand/processor.rb in metanorma-csand-1.1.0 vs lib/metanorma/csand/processor.rb in metanorma-csand-1.1.1

- old
+ new

@@ -11,12 +11,12 @@ end def output_formats super.merge( html: "html", - # doc: "doc", - # pdf: "pdf" + doc: "doc", + pdf: "pdf" ) end def version "Metanorma::Csand #{Metanorma::Csand::VERSION}" @@ -28,13 +28,13 @@ def output(isodoc_node, outname, format, options={}) case format when :html IsoDoc::Csand::HtmlConvert.new(options).convert(outname, isodoc_node) - # when :doc - # IsoDoc::Csand::WordConvert.new(options).convert(outname, isodoc_node) - # when :pdf - # IsoDoc::Csand::PdfConvert.new(options).convert(outname, isodoc_node) + when :doc + IsoDoc::Csand::WordConvert.new(options).convert(outname, isodoc_node) + when :pdf + IsoDoc::Csand::PdfConvert.new(options).convert(outname, isodoc_node) else super end end end