Sha256: e79352d5a6427ce2f6d0ba3c9233a39769bd7c7e3d9f4dde493a3b179188573a

Contents?: true

Size: 1.56 KB

Versions: 13

Compression:

Stored size: 1.56 KB

Contents

require "asciidoctor"
require "asciidoctor/iso/version"
require "asciidoctor/iso/base"
require "asciidoctor/iso/front"
require "asciidoctor/iso/lists"
require "asciidoctor/iso/ref"
require "asciidoctor/iso/inline"
require "asciidoctor/iso/blocks"
require "asciidoctor/iso/section"
require "asciidoctor/iso/table"
require "asciidoctor/iso/validate"
require "asciidoctor/iso/utils"
require "asciidoctor/iso/cleanup"
require_relative "./macros.rb"

module Asciidoctor
  module ISO
    # A {Converter} implementation that generates ISO output, and a document
    # schema encapsulation of the document for validation
    class Converter
      include ::Asciidoctor::Converter
      include ::Asciidoctor::Writer

      include ::Asciidoctor::ISO::Base
      include ::Asciidoctor::ISO::Front
      include ::Asciidoctor::ISO::Lists
      include ::Asciidoctor::ISO::Inline
      include ::Asciidoctor::ISO::Blocks
      include ::Asciidoctor::ISO::Section
      include ::Asciidoctor::ISO::Table
      include ::Asciidoctor::ISO::Utils
      include ::Asciidoctor::ISO::Cleanup
      include ::Asciidoctor::ISO::Validate

      register_for "iso"

      $xreftext = {}

      def initialize(backend, opts)
        super
        basebackend "html"
        outfilesuffix ".xml"
      end

      alias_method :embedded, :content
      alias_method :verse, :quote
      alias_method :audio, :skip
      alias_method :video, :skip
      alias_method :inline_button, :skip
      alias_method :inline_kbd, :skip
      alias_method :inline_menu, :skip
      alias_method :inline_image, :skip
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
asciidoctor-iso-0.10.1 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.10.0 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.9.9 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.9.7 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.9.6 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.9.5 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.9.3 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.9.1 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.9.0 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.8.1 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.8.0 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.7.9 lib/asciidoctor/iso/converter.rb
asciidoctor-iso-0.7.8 lib/asciidoctor/iso/converter.rb