Sha256: f5c54631b0fc6898fc12037764cdccb8d0a1df08f4a3b6d8891dc5b38d8edb7b
Contents?: true
Size: 846 Bytes
Versions: 3
Compression:
Stored size: 846 Bytes
Contents
require "isodoc" require "isodoc/generic/html_convert" require "isodoc/ribose/metadata" module IsoDoc module Ribose # A {Converter} implementation that generates HTML output, and a document # schema encapsulation of the document for validation # class HtmlConvert < IsoDoc::Generic::HtmlConvert def configuration Metanorma::Ribose.configuration end def make_body3(body, docxml) body.div **{ class: "main-section" } do |div3| boilerplate docxml, div3 abstract docxml, div3 foreword docxml, div3 executivesummary docxml, div3 introduction docxml, div3 preface docxml, div3 acknowledgements docxml, div3 middle docxml, div3 footnotes div3 comments div3 end end include BaseConvert end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
metanorma-ribose-1.5.3 | lib/isodoc/ribose/html_convert.rb |
metanorma-ribose-1.5.2 | lib/isodoc/ribose/html_convert.rb |
metanorma-ribose-1.5.0 | lib/isodoc/ribose/html_convert.rb |