Sha256: 935130b32ff694a2253e453b6d1d396e3623052904cba821cea0b1ef00d62e9a
Contents?: true
Size: 889 Bytes
Versions: 2
Compression:
Stored size: 889 Bytes
Contents
require "isodoc" require "isodoc/generic/html_convert" require "isodoc/ribose/metadata" require_relative "init" 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 include Init end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metanorma-ribose-1.6.1 | lib/isodoc/ribose/html_convert.rb |
metanorma-ribose-1.6.0 | lib/isodoc/ribose/html_convert.rb |