Class: Asciidoctor::ISO::Converter

Inherits:
Object
  • Object
show all
Includes:
Converter, Base, Blocks, Cleanup, Front, Inline, Lists, Section, Table, Utils, Validate, Writer
Defined in:
lib/asciidoctor/iso/converter.rb

Overview

A Converter implementation that generates ISO output, and a document schema encapsulation of the document for validation

Constant Summary

Constants included from Validate

Validate::ASSETS_TO_STYLE, Validate::NONSTD_UNITS, Validate::NON_DL_SYMBOLS_WARNING, Validate::NORM_BIBITEMS, Validate::NORM_ISO_WARN, Validate::ONE_SYMBOLS_WARNING, Validate::PERMISSION_RE, Validate::PERMISSION_RE_STR, Validate::POSSIBILITY_RE, Validate::POSSIBILITY_RE_STR, Validate::RECOMMENDATION_RE, Validate::RECOMMENDATION_RE_STR, Validate::REQUIREMENT_RE, Validate::REQUIREMENT_RE_STR, Validate::SCOPE_WARN, Validate::SECTIONS_XPATH, Validate::SEQ, Validate::SI_UNIT

Constants included from Cleanup

Asciidoctor::ISO::Cleanup::ELEMS_ALLOW_NOTES, Asciidoctor::ISO::Cleanup::ISO_PUBLISHER_XPATH, Asciidoctor::ISO::Cleanup::LOCALITY_RE, Asciidoctor::ISO::Cleanup::LOCALITY_REGEX_STR, Asciidoctor::ISO::Cleanup::NORMREF_FOOTNOTES, Asciidoctor::ISO::Cleanup::POST_NORMREF_FOOTNOTES, Asciidoctor::ISO::Cleanup::PRE_NORMREF_FOOTNOTES, Asciidoctor::ISO::Cleanup::TEXT_ELEMS

Constants included from Utils

Utils::NOKOHEAD, Utils::SUBCLAUSE_XPATH

Constants included from Base

Base::TERM_REFERENCE_RE, Base::TERM_REFERENCE_RE_STR

Instance Method Summary collapse

Methods included from Validate

#asset_style, #asset_title_style, #content_validate, #example_style, #external_constraint, #extract_text, #footnote_style, #foreword_style, #foreword_validate, #formattedstr_strip, #introduction_style, #isosubgroup_validate, #norm_bibitem_style, #normref_validate, #note_style, #onlychild_clause_validate, #permission, #possibility, #recommendation, #requirement, #schema_validate, #scope_style, #section_style, #section_validate, #sections_sequence_validate, #see_erefs_validate, #see_xrefs_validate, #seqcheck, #sourcecode_style, #style, #style_abbrev, #style_no_guidance, #style_non_std_units, #style_number, #style_percent, #style_regex, #style_two_regex_not_prev, #style_units, #style_warning, #symbols_validate, #termdef_style, #termdef_warn, #title_all_siblings, #title_first_level_validate, #title_intro_validate, #title_main_validate, #title_names_type_validate, #title_part_validate, #title_subpart_validate, #title_validate, #validate

Methods included from Cleanup

#align_callouts_to_annotations, #biblio_cleanup, #bookmark_cleanup, #bpart_cleanup, #callout_cleanup, #cleanup, #date_range, #dl_table_cleanup, #element_name_cleanup, #empty_element_cleanup, #empty_text_before_first_element, #extract_localities, #figure_cleanup, #figure_dl_cleanup, #figure_footnote_cleanup, #footnote_renumber, #format_ref, #formula_cleanup, #header_rows_cleanup, #insert_thead, #link_callouts_to_annotations, #make_bibliography, #make_preface, #mathml_cleanup, #merge_annotations_into_sourcecode, #normref_cleanup, #note_cleanup, #notes_table_cleanup, #obligations_cleanup, #obligations_cleanup_info, #obligations_cleanup_inherit, #obligations_cleanup_norm, #origin_cleanup, #other_footnote_renumber, #other_footnote_renumber1, #para_cleanup, #quotesource_cleanup, #ref_cleanup, #reference_names, #sections_cleanup, #strip_initial_space, #subfigure_cleanup, #table_cleanup, #table_footnote_renumber, #table_footnote_renumber1, #termdef_boilerplate_cleanup, #termdef_cleanup, #termdef_stem_cleanup, #termdef_subclause_cleanup, #termdef_unnest_cleanup, #termdefinition_cleanup, #termdocsource_cleanup, #termdomain_cleanup, #textcleanup, #xref_cleanup, #xref_to_eref

Methods included from Utils

anchor_or_uuid, #attr_code, #convert, current_location, #document_ns_attributes, flatten_rawtext, flatten_rawtext_lines, #noko, warning, #wrap_in_para

Methods included from Table

#table, #table_attrs

Methods included from Section

#annex_parse, #appendix_parse, #bibliography_parse, #clause_parse, #in_biblio?, #in_norm_ref?, #in_terms?, #introduction_parse, #norm_ref_parse, #patent_notice_parse, #scope_parse, #section, #sectiontype, #set_obligation, #symbols_parse, #term_def_parse, #term_def_subclause_parse, #term_def_title

Methods included from Blocks

#admonition, #admonition_attrs, #example, #figure_title, #id_attr, #image, #image_attributes, #listing, #literal, #note, #open, #paragraph, #preamble, #quote, #quote_attribution, #quote_attrs, #sidebar, #sidebar_attrs, #stem, #term_example, #termnote

Methods included from Inline

#inline_anchor, #inline_anchor_bibref, #inline_anchor_link, #inline_anchor_ref, #inline_anchor_xref, #inline_break, #inline_callout, #inline_footnote, #inline_quoted, #page_break, #refid?, #stem_parse, #thematic_break

Methods included from Front

#asciidoc_sub, #committee_component, #metadata, #metadata_author, #metadata_committee, #metadata_copyright, #metadata_ics, #metadata_id, #metadata_publisher, #metadata_status, #metadata_version, #organization, #title, #title_intro, #title_main, #title_part

Methods included from Base

#add_term_source, #content, #default_fonts, #doc_converter, #document, #draft?, #extract_termsource_refs, #front, #generate_css, #html_converter, #html_doc_path, #init, #makexml, #makexml1, #middle, #skip, #term_source_attr, #termsource

Constructor Details

#initialize(backend, opts) ⇒ Converter

Returns a new instance of Converter.



38
39
40
41
42
# File 'lib/asciidoctor/iso/converter.rb', line 38

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