Sha256: f24a25ebb9578e3483562d3a059041391d29fc50580a878a4c97dcc675d735fa
Contents?: true
Size: 650 Bytes
Versions: 4
Compression:
Stored size: 650 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("./fmt-title")), s, { class: "ForewordTitle" }) clause.elements.each { |e| parse(e, s) unless e.name == "fmt-title" } end @foreword = false end end end end
Version data entries
4 entries across 4 versions & 1 rubygems