module IsoDoc::Iec::Init

Public Instance Methods

convert1(docxml, filename, dir) click to toggle source
Calls superclass method
# File lib/isodoc/iec/init.rb, line 21
def convert1(docxml, filename, dir)
  id = docxml&.at(ns("//bibdata/docnumber"))&.text
  @is_iev = id == "60050"
  super
end
i18n_init(lang, script, i18nyaml = nil) click to toggle source
# File lib/isodoc/iec/init.rb, line 17
 def i18n_init(lang, script, i18nyaml = nil)
  @i18n = I18n.new(lang, script, i18nyaml || @i18nyaml)
end
metadata_init(lang, script, labels) click to toggle source
# File lib/isodoc/iec/init.rb, line 9
def metadata_init(lang, script, labels)
  @meta = Metadata.new(lang, script, labels)
end
xref_init(lang, script, klass, labels, options) click to toggle source
# File lib/isodoc/iec/init.rb, line 13
def xref_init(lang, script, klass, labels, options)
  @xrefs = Xref.new(lang, script, HtmlConvert.new(language: lang, script: script), labels, options)
end