Sha256: 4177005f2ef2333c0e97bbe4a67138aa71bbb2902fd033fd083f0bfcaaa5151d

Contents?: true

Size: 660 Bytes

Versions: 29

Compression:

Stored size: 660 Bytes

Contents

module IsoDoc
  module Iso
    module BaseConvert
      def annex(node, out)
        amd?(node.document) and
          @suppressheadingnumbers = @oldsuppressheadingnumbers
        super
        amd?(node.document) and @suppressheadingnumbers = true
      end

      def foreword(clause, out)
        @foreword = true
        page_break(out)
        out.div **attr_code(id: clause["id"]) do |s|
          clause_name(nil, clause.at(ns("./title")) || @i18n.foreword, s,
                      { class: "ForewordTitle" })
          clause.elements.each { |e| parse(e, s) unless e.name == "title" }
        end
        @foreword = false
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
metanorma-iso-2.8.9 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.8 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.7 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.6 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.5 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.4 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.3 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.2 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.1 lib/isodoc/iso/sections.rb
metanorma-iso-2.8.0 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.10 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.9 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.8 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.7 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.6 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.5 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.4 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.3 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.2 lib/isodoc/iso/sections.rb
metanorma-iso-2.7.1 lib/isodoc/iso/sections.rb