Sha256: 2cec70d902b0aa968f9f34a05f23bf91e73130cd377d96bbf386faf2c5ac89d1
Contents?: true
Size: 779 Bytes
Versions: 10
Compression:
Stored size: 779 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" module IsoDoc module Iec module Init def metadata_init(lang, script, labels) @meta = Metadata.new(lang, script, 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, i18nyaml = nil) @i18n = I18n.new(lang, script, i18nyaml: i18nyaml || @i18nyaml) end def convert1(docxml, filename, dir) id = docxml&.at(ns("//bibdata/docnumber"))&.text @is_iev = id == "60050" super end end end end
Version data entries
10 entries across 10 versions & 1 rubygems