metanorma-ogc 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/asciidoctor/ogc/converter.rb +1 -8
- data/lib/asciidoctor/ogc/isodoc.rng +6 -3
- data/lib/isodoc/ogc/html_convert.rb +3 -3
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +3225 -0
- data/lib/isodoc/ogc/ogc.best-practice.xsl +3225 -0
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +3225 -0
- data/lib/isodoc/ogc/ogc.community-practice.xsl +3225 -0
- data/lib/isodoc/ogc/ogc.community-standard.xsl +174 -89
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +3225 -0
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +174 -89
- data/lib/isodoc/ogc/ogc.other.xsl +174 -89
- data/lib/isodoc/ogc/ogc.policy.xsl +174 -89
- data/lib/isodoc/ogc/ogc.reference-model.xsl +174 -89
- data/lib/isodoc/ogc/ogc.release-notes.xsl +174 -89
- data/lib/isodoc/ogc/ogc.standard.xsl +174 -89
- data/lib/isodoc/ogc/ogc.test-suite.xsl +174 -89
- data/lib/isodoc/ogc/ogc.user-guide.xsl +174 -89
- data/lib/isodoc/ogc/ogc.white-paper.xsl +3225 -0
- data/lib/isodoc/ogc/pdf_convert.rb +10 -6
- data/lib/metanorma/ogc/processor.rb +2 -2
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7eaaf9d1a9326779ac34d82205a3ad742b138811c423fea47f1223249f0f72a
|
4
|
+
data.tar.gz: 40d1cc897c5ad040c88cf54e86b1baa386694b0d91a166eb9837d529254f7da9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa95f8fd413e7b9c2bdbb5520c084411ab851c5dce773b9a381596f13aad2db8d8cb1c12e0b9d9185f18d1b33c1967c18923d550d81d2548a758d899810617a6
|
7
|
+
data.tar.gz: efea6443d650bc71dd58cf49b416ae3efb727a985334485b8365aac864a689ae26104e66c7988580ef72118669020581048e81078862aab689bf2752145f9bf7
|
@@ -46,6 +46,7 @@ module Asciidoctor
|
|
46
46
|
when "preface" then "foreword"
|
47
47
|
when "foreword" then "donotrecognise-foreword"
|
48
48
|
when "introduction" then "donotrecognise-foreword"
|
49
|
+
when "references" then "normative references"
|
49
50
|
else
|
50
51
|
super
|
51
52
|
end
|
@@ -99,14 +100,6 @@ module Asciidoctor
|
|
99
100
|
end
|
100
101
|
end
|
101
102
|
|
102
|
-
def bibliography_parse(attrs, xml, node)
|
103
|
-
clausetype = node&.attr("heading")&.downcase || node.title.downcase
|
104
|
-
if clausetype == "references" then norm_ref_parse(attrs, xml, node)
|
105
|
-
else
|
106
|
-
super
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
103
|
def submitters_parse(attrs, xml, node)
|
111
104
|
xml.submitters **attr_code(attrs) do |xml_section|
|
112
105
|
xml_section << node.content
|
@@ -129,6 +129,9 @@
|
|
129
129
|
</choice>
|
130
130
|
</attribute>
|
131
131
|
</optional>
|
132
|
+
<attribute name="normative">
|
133
|
+
<data type="boolean"/>
|
134
|
+
</attribute>
|
132
135
|
<optional>
|
133
136
|
<ref name="section-title"/>
|
134
137
|
</optional>
|
@@ -303,11 +306,11 @@
|
|
303
306
|
<ref name="paragraph"/>
|
304
307
|
</element>
|
305
308
|
</define>
|
306
|
-
<define name="TextElement" combine="choice">
|
307
|
-
<ref name="concept"/>
|
308
|
-
</define>
|
309
309
|
</include>
|
310
310
|
<!-- end overrides -->
|
311
|
+
<define name="TextElement" combine="choice">
|
312
|
+
<ref name="concept"/>
|
313
|
+
</define>
|
311
314
|
<define name="concept">
|
312
315
|
<element name="concept">
|
313
316
|
<optional>
|
@@ -17,9 +17,9 @@ module IsoDoc
|
|
17
17
|
|
18
18
|
def default_fonts(options)
|
19
19
|
{
|
20
|
-
bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' : '"
|
21
|
-
headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' : '"
|
22
|
-
monospacefont: '"
|
20
|
+
bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' : '"Times New Roman",serif'),
|
21
|
+
headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' : '"Times New Roman",serif'),
|
22
|
+
monospacefont: '"Courier New",monospace'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|