Sha256: 558d73806256219646510b13992ec8a58b3ae447fcb363d3c360acd9f91a2e1b

Contents?: true

Size: 799 Bytes

Versions: 10

Compression:

Stored size: 799 Bytes

Contents

require "isodoc"
require "isodoc/generic/html_convert"
require "isodoc/iho/metadata"

module IsoDoc
  module IHO
    # 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::IHO.configuration
      end

      def make_body3(body, docxml)
      body.div **{ class: "main-section" } do |div3|
        boilerplate docxml, div3
        abstract docxml, div3
        foreword 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

10 entries across 8 versions & 2 rubygems

Version Path
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/metanorma-iho-0.1.1/lib/isodoc/iho/html_convert.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/metanorma-iho-0.1.2/lib/isodoc/iho/html_convert.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/metanorma-iho-0.1.1/lib/isodoc/iho/html_convert.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/metanorma-iho-0.1.2/lib/isodoc/iho/html_convert.rb
metanorma-iho-0.1.2 lib/isodoc/iho/html_convert.rb
metanorma-iho-0.1.1 lib/isodoc/iho/html_convert.rb
metanorma-iho-0.1.0 lib/isodoc/iho/html_convert.rb
metanorma-iho-0.0.3 lib/isodoc/iho/html_convert.rb
metanorma-iho-0.0.2 lib/isodoc/iho/html_convert.rb
metanorma-iho-0.0.1 lib/isodoc/iho/html_convert.rb