Sha256: 393a3b68955d41ee593676ec39931bed4e9bc61707bb84c9797ce867ede6b3d4

Contents?: true

Size: 726 Bytes

Versions: 6

Compression:

Stored size: 726 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
          front docxml, div3
          middle docxml, div3
          footnotes div3
          comments div3
        end
      end

      include BaseConvert
      include Init
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
metanorma-ribose-2.2.13 lib/isodoc/ribose/html_convert.rb
metanorma-ribose-2.2.12 lib/isodoc/ribose/html_convert.rb
metanorma-ribose-2.2.11 lib/isodoc/ribose/html_convert.rb
metanorma-ribose-2.2.10 lib/isodoc/ribose/html_convert.rb
metanorma-ribose-2.2.9 lib/isodoc/ribose/html_convert.rb
metanorma-ribose-2.2.8 lib/isodoc/ribose/html_convert.rb