Method: IsoDoc::Convert#initialize

Defined in:
lib/isodoc/convert.rb

#initialize(options) ⇒ Convert

htmlstylesheet: Generic stylesheet for HTML htmlstylesheet_override: Override stylesheet for HTML wordstylesheet: Generic stylesheet for Word wordstylesheet_override: Override stylesheet for Word standardsheet: Stylesheet specific to Standard header: Header file for Word htmlcoverpage: Cover page for HTML wordcoverpage: Cover page for Word htmlintropage: Introductory page for HTML wordintropage: Introductory page for Word normalfontsize: Font size for body text smallerfontsize: Font size for smaller than body text monospacefontsize: Font size for monospace font footnotefontsize: Font size for footnotes i18nyaml: YAML file for internationalisation of text ulstyle: list style in Word CSS for unordered lists olstyle: list style in Word CSS for ordered lists bodyfont: font to use for body text headerfont: font to use for header text monospace: font to use for monospace text suppressheadingnumbers: suppress heading numbers for clauses scripts: Scripts file for HTML scripts_override: Override scripts file for HTML scripts_pdf: Scripts file for PDF (not used in XSLT PDF) datauriimage: Encode images in HTML output as data URIs breakupurlsintables: whether to insert spaces in URLs in tables

every 40-odd chars

sectionsplit: split up HTML output on sections bare: do not insert any prefatory material (coverpage, boilerplate) tocfigures: add ToC for figures toctables: add ToC for tables tocrecommendations: add ToC for rcommendations fonts: fontist fonts to install fontlicenseagreement: fontist font license agreement modspecidentifierbase: base prefix for any Modspec identifiers sourcehighlighter: whether to apply sourcecode highlighting semantic_xml_insert: whether to insert into presentation XML

a copy of semantic XML

output_formats: hash of supported output formats and suffixes



55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/isodoc/convert.rb', line 55

def initialize(options) # rubocop:disable Lint/MissingSuper
  @options = options_preprocess(options)
  init_stylesheets(@options)
  init_covers(@options)
  init_toc(@options)
  init_fonts(@options)
  init_processing
  init_locations(@options)
  init_i18n(@options)
  init_rendering(@options)
  init_arrangement(@options)
end