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