metanorma-ogc 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a75c31de8888444e5fd9973771e9a9c24ac1541eae103f8a55f02605d4837f91
4
- data.tar.gz: abf157ea956927268720b5582cfa0fb6d8986b45c1041bafc783dcf28d9c6b84
3
+ metadata.gz: a7eaaf9d1a9326779ac34d82205a3ad742b138811c423fea47f1223249f0f72a
4
+ data.tar.gz: 40d1cc897c5ad040c88cf54e86b1baa386694b0d91a166eb9837d529254f7da9
5
5
  SHA512:
6
- metadata.gz: 539fc9469c898441e23cf956da90c9f5c443ed6db504b3250e2ee9b5341addf00b2ba884aaacecd621852b4b66ddfd02598f4b7ce40f7111a85c77d0da054c9a
7
- data.tar.gz: 3bb45e8622ff63c69fd3f1024b8d4c75411750bd7f25eac53d777c21caaea10852d9776861d6387dbe76442b093b503d503ff9c76e90c7c8d36cfb46a3425254
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' : '"Overpass",sans-serif'),
21
- headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' : '"Overpass",sans-serif'),
22
- monospacefont: '"Space Mono",monospace'
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