Sha256: ce1abe138cd31522e44972be9aa19bdc456ff340f285ec8f32095ad1d77726bd
Contents?: true
Size: 1.27 KB
Versions: 7
Compression:
Stored size: 1.27 KB
Contents
require_relative "init" require "isodoc" require "metanorma-generic" require_relative "../../relaton/render/general" module IsoDoc module IHO class PresentationXMLConvert < IsoDoc::Generic::PresentationXMLConvert def bibrenderer ::Relaton::Render::IHO::General.new(language: @lang) end def norm_ref_entry_code(ordinal, _idents, _ids, _standard, _datefn, _bib) "[#{ordinal}]<tab/>" end def biblio_ref_entry_code(ordinal, _idents, _ids, _standard, _datefn, _bib) "[#{ordinal}]<tab/>" end def middle_title(docxml); end def preface_rearrange(doc) preface_move(doc.at(ns("//preface/abstract")), %w(foreword executivesummary introduction clause acknowledgements), doc) preface_move(doc.at(ns("//preface/foreword")), %w(executivesummary introduction clause acknowledgements), doc) preface_move(doc.at(ns("//preface/executivesummary")), %w(introduction clause acknowledgements), doc) preface_move(doc.at(ns("//preface/introduction")), %w(clause acknowledgements), doc) preface_move(doc.at(ns("//preface/acknowledgements")), %w(), doc) end include Init end end end
Version data entries
7 entries across 7 versions & 1 rubygems