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