Sha256: 23fb92f5fcf0addb331c9b89988b33e0d80a7ceb9f7d73de411551f57b3283ae

Contents?: true

Size: 396 Bytes

Versions: 8

Compression:

Stored size: 396 Bytes

Contents

require_relative "init"
require "isodoc"

module IsoDoc
  module M3AAWG
    class PresentationXMLConvert < IsoDoc::PresentationXMLConvert
      def annex1(f)
      lbl = @xrefs.anchor(f['id'], :label)
      if t = f.at(ns("./title"))
        t.children = "<strong>#{t.children.to_xml}</strong>"
      end
      prefix_name(f, "<br/>", lbl, "title")
    end

      include Init
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
metanorma-m3aawg-1.5.6 lib/isodoc/m3aawg/presentation_xml_convert.rb
metanorma-m3aawg-1.5.5 lib/isodoc/m3aawg/presentation_xml_convert.rb
metanorma-m3aawg-1.5.4 lib/isodoc/m3aawg/presentation_xml_convert.rb
metanorma-m3aawg-1.5.3 lib/isodoc/m3aawg/presentation_xml_convert.rb
metanorma-m3aawg-1.5.2 lib/isodoc/m3aawg/presentation_xml_convert.rb
metanorma-m3aawg-1.5.1 lib/isodoc/m3aawg/presentation_xml_convert.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/presentation_xml_convert.rb
metanorma-m3aawg-1.5.0 lib/isodoc/m3aawg/presentation_xml_convert.rb