Sha256: 5f24c2e007124bf1a824f36aba4a2d9f66d4ebc2e2b8403edf51ea1618e8215b

Contents?: true

Size: 599 Bytes

Versions: 12

Compression:

Stored size: 599 Bytes

Contents

require_relative "html_function/comments.rb"
require_relative "html_function/footnotes.rb"
require_relative "html_function/html.rb"
require_relative "html_function/postprocess.rb"

module IsoDoc
  class HtmlConvert < ::IsoDoc::Convert

    include HtmlFunction::Comments
    include HtmlFunction::Footnotes
    include HtmlFunction::Html

    def tmpimagedir_suffix
      "_htmlimages"
    end

    def convert(filename, file = nil, debug = false)
      ret = super
      Dir.exists?(tmpimagedir) and Dir["#{tmpimagedir}/*"].empty? and
        FileUtils.rm_r tmpimagedir
      ret
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
isodoc-1.0.25 lib/isodoc/html_convert.rb
isodoc-1.0.24 lib/isodoc/html_convert.rb
isodoc-1.0.23 lib/isodoc/html_convert.rb
isodoc-1.0.22 lib/isodoc/html_convert.rb
isodoc-1.0.21 lib/isodoc/html_convert.rb
isodoc-1.0.20 lib/isodoc/html_convert.rb
isodoc-1.0.19 lib/isodoc/html_convert.rb
isodoc-1.0.18 lib/isodoc/html_convert.rb
isodoc-1.0.17 lib/isodoc/html_convert.rb
isodoc-1.0.16 lib/isodoc/html_convert.rb
isodoc-1.0.15 lib/isodoc/html_convert.rb
isodoc-1.0.14 lib/isodoc/html_convert.rb