Sha256: 81226ec230e983638fb4db2f96ea1a5d63770b13f3ef32560f722abe6b1ec438
Contents?: true
Size: 1.07 KB
Versions: 17
Compression:
Stored size: 1.07 KB
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" module IsoDoc module Iec module Init def metadata_init(lang, script, locale, labels) @meta = Metadata.new(lang, script, locale, labels) end def xref_init(lang, script, _klass, labels, options) @xrefs = Xref.new(lang, script, HtmlConvert.new(language: lang, script: script), labels, options) end def i18n_init(lang, script, locale, i18nyaml = nil) @i18n = I18n.new(lang, script, locale: locale, i18nyaml: i18nyaml || @i18nyaml) end def bibrenderer ::Relaton::Render::Iec::General.new(options.merge(language: @lang, i18nhash: @i18n.get)) end def convert1(docxml, filename, dir) id = docxml&.at(ns("//bibdata/docnumber"))&.text @is_iev = id == "60050" super end def std_docid_semantic(text) text end end end end
Version data entries
17 entries across 17 versions & 1 rubygems