Class Asciidoctor::Converter::DocBook5Converter
In: lib/asciidoctor/converter/docbook5.rb
Parent: Converter::BuiltIn

A built-in {Converter} implementation that generates DocBook 5 output similar to the docbook45 backend from AsciiDoc Python, but migrated to the DocBook 5 specification.

Methods

Constants

ImageMacroRx = /^image::?(.+?)\[(.*?)\]$/
MANPAGE_SECTION_TAGS = { 'section' => 'refsection', 'synopsis' => 'refsynopsisdiv' }
DLIST_TAGS = { 'qanda' => { :list => 'qandaset', :entry => 'qandaentry', :label => 'question', :term => 'simpara', :item => 'answer'
TABLE_PI_NAMES = ['dbhtml', 'dbfo', 'dblatex']
QUOTE_TAGS = { :monospaced => ['<literal>', '</literal>', false], :emphasis => ['<emphasis>', '</emphasis>', true], :strong => ['<emphasis role="strong">', '</emphasis>', true], :double => ['&#8220;', '&#8221;', true], :single => ['&#8216;', '&#8217;', true], :mark => ['<emphasis role="marked">', '</emphasis>', false], :superscript => ['<superscript>', '</superscript>', false], :subscript => ['<subscript>', '</subscript>', false]

External Aliases

content -> embedded
skip -> audio
skip -> toc
skip -> video

Public Instance methods

FIXME this should be handled through a template mechanism

[Validate]