Sha256: 396b388c938a48684b18a57d99c46aeccd6b0cbca7e3efbe283d9164a10f935e
Contents?: true
Size: 742 Bytes
Versions: 5
Compression:
Stored size: 742 Bytes
Contents
require "metanorma/processor" module Metanorma module VG class Processor < Metanorma::Generic::Processor def configuration Metanorma::VG.configuration end def output_formats super.merge( html: "html", doc: "doc" ).tap { |hs| hs.delete(:pdf) } end def version "Metanorma::VG #{Metanorma::VG::VERSION}" end def output(isodoc_node, outname, format, options={}) case format when :html IsoDoc::VG::HtmlConvert.new(options).convert(outname, isodoc_node) when :doc IsoDoc::VG::WordConvert.new(options).convert(outname, isodoc_node) else super end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems