metanorma-un 0.10.7 → 0.10.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/un/base_convert.rb +5 -0
- data/lib/isodoc/un/html/html_unece_intro.html +0 -1
- data/lib/isodoc/un/html/word_unece_intro.html +0 -5
- data/lib/isodoc/un/html_convert.rb +9 -16
- data/lib/isodoc/un/presentation_xml_convert.rb +5 -0
- data/lib/isodoc/un/un.plenary-attachment.xsl +675 -147
- data/lib/isodoc/un/un.plenary.xsl +675 -147
- data/lib/isodoc/un/un.recommendation.xsl +846 -293
- data/lib/isodoc/un/word_convert.rb +18 -26
- data/lib/metanorma/un/isodoc.rng +16 -7
- data/lib/metanorma/un/un.rng +3 -8
- data/lib/metanorma/un/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d5f21ba4f476f4f4eb4c4ea273724746e9d66a690c8f6ded9bbc8115c2268cf
|
4
|
+
data.tar.gz: b4d20e7df2a817f278499fd1d01e685a548364aa82929ef87c23ca32516392f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8130bdd72fc907640e55c637bb76620b6f7ead9332698a99e74e39276d6c0ea9e8d11c6165439cd4015c0b3b308b3108afa3bbb9fbe2d3ea2db3bb76b5e64ba
|
7
|
+
data.tar.gz: 4550c21f8cc91a6bf7780847efe8c69c60168226f968f0d1b832e06ca9961eeb1b57667915005c44be78e0c352985ca945cd12eea6ad83dd5fb16a25b1adbb59
|
@@ -68,12 +68,7 @@ module IsoDoc
|
|
68
68
|
def make_body3(body, docxml)
|
69
69
|
body.div class: "main-section" do |div3|
|
70
70
|
boilerplate docxml, div3
|
71
|
-
|
72
|
-
abstract docxml, div3
|
73
|
-
foreword docxml, div3
|
74
|
-
introduction docxml, div3
|
75
|
-
preface docxml, div3
|
76
|
-
acknowledgements docxml, div3
|
71
|
+
front docxml, div3
|
77
72
|
middle docxml, div3
|
78
73
|
footnotes div3
|
79
74
|
comments div3
|
@@ -87,24 +82,22 @@ module IsoDoc
|
|
87
82
|
bibliography isoxml, out
|
88
83
|
end
|
89
84
|
|
90
|
-
def introduction(
|
91
|
-
f = isoxml.at(ns("//introduction")) || return
|
85
|
+
def introduction(clause, out)
|
92
86
|
page_break(out)
|
93
|
-
out.div class: "Section3", id:
|
94
|
-
clause_name(
|
95
|
-
|
87
|
+
out.div class: "Section3", id: clause["id"] do |div|
|
88
|
+
clause_name(clause, clause.at(ns("./title")), div, { class: "IntroTitle" })
|
89
|
+
clause.elements.each do |e|
|
96
90
|
parse(e, div) unless e.name == "title"
|
97
91
|
end
|
98
92
|
end
|
99
93
|
end
|
100
94
|
|
101
|
-
def foreword(
|
102
|
-
f = isoxml.at(ns("//foreword")) || return
|
95
|
+
def foreword(clause, out)
|
103
96
|
page_break(out)
|
104
|
-
out.div **attr_code(id:
|
105
|
-
clause_name(
|
97
|
+
out.div **attr_code(id: clause["id"]) do |s|
|
98
|
+
clause_name(clause, clause.at(ns("./title")) || @i18n.foreword, s,
|
106
99
|
class: "ForewordTitle")
|
107
|
-
|
100
|
+
clause.elements.each { |e| parse(e, s) unless e.name == "title" }
|
108
101
|
end
|
109
102
|
end
|
110
103
|
|