metanorma-iso 2.7.7 → 2.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/base_convert.rb +9 -0
- data/lib/isodoc/iso/html/html_iso_titlepage.html +2 -2
- data/lib/isodoc/iso/html/style-human.css +53 -0
- data/lib/isodoc/iso/html/style-iso.css +53 -0
- data/lib/isodoc/iso/iso.amendment.xsl +453 -66
- data/lib/isodoc/iso/iso.international-standard.xsl +453 -66
- data/lib/isodoc/iso/presentation_xml_convert.rb +7 -0
- data/lib/metanorma/iso/basicdoc.rng +840 -419
- data/lib/metanorma/iso/biblio.rng +26 -27
- data/lib/metanorma/iso/boilerplate-fr.adoc +1 -1
- data/lib/metanorma/iso/boilerplate-ru.adoc +1 -1
- data/lib/metanorma/iso/boilerplate.adoc +1 -1
- data/lib/metanorma/iso/isodoc.rng +351 -510
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +3 -3
@@ -160,6 +160,13 @@ module IsoDoc
|
|
160
160
|
dlist.remove
|
161
161
|
end
|
162
162
|
|
163
|
+
def table1(elem)
|
164
|
+
elem.xpath(ns(".//dl[@key = 'true'][not(./name)]")).each do |dl|
|
165
|
+
dl.children.first.previous = "<name>#{@i18n.key}</name>"
|
166
|
+
end
|
167
|
+
super
|
168
|
+
end
|
169
|
+
|
163
170
|
def toc_title(docxml)
|
164
171
|
%w(amendment technical-corrigendum).include?(@doctype) and return
|
165
172
|
super
|