metanorma-ribose 2.2.7 → 2.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,21 +12,6 @@ module IsoDoc
12
12
  Metanorma::Ribose.configuration
13
13
  end
14
14
 
15
- def make_body2(body, docxml)
16
- body.div **{ class: "WordSection2" } do |div2|
17
- boilerplate docxml, div2
18
- preface_block docxml, div2
19
- abstract docxml, div2
20
- foreword docxml, div2
21
- executivesummary docxml, div2
22
- introduction docxml, div2
23
- preface docxml, div2
24
- acknowledgements docxml, div2
25
- div2.p { |p| p << "&#xa0;" } # placeholder
26
- end
27
- section_break(body)
28
- end
29
-
30
15
  include BaseConvert
31
16
  include Init
32
17
  end
@@ -8,7 +8,7 @@ module Metanorma
8
8
  #
9
9
  class Converter < Metanorma::Generic::Converter
10
10
  XML_ROOT_TAG = "rsd-standard".freeze
11
- XML_NAMESPACE = "https://www.metanorma.org/ns/rsd".freeze
11
+ XML_NAMESPACE = "https://www.metanorma.org/ns/ribose".freeze
12
12
 
13
13
  register_for "ribose"
14
14
 
@@ -17,6 +17,7 @@
17
17
  these elements; we just want one namespace for any child grammars
18
18
  of this.
19
19
  -->
20
+ <!-- VERSION v1.2.2 -->
20
21
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
21
22
  <include href="reqt.rng"/>
22
23
  <include href="basicdoc.rng">
@@ -210,6 +211,9 @@
210
211
  <data type="boolean"/>
211
212
  </attribute>
212
213
  </optional>
214
+ <optional>
215
+ <attribute name="style"/>
216
+ </optional>
213
217
  <ref name="CitationType"/>
214
218
  <oneOrMore>
215
219
  <ref name="PureTextElement"/>
@@ -1349,15 +1353,19 @@
1349
1353
  </choice>
1350
1354
  </element>
1351
1355
  </define>
1356
+ <define name="Root-Attributes">
1357
+ <attribute name="version"/>
1358
+ <attribute name="schema-version"/>
1359
+ <attribute name="type">
1360
+ <choice>
1361
+ <value>semantic</value>
1362
+ <value>presentation</value>
1363
+ </choice>
1364
+ </attribute>
1365
+ </define>
1352
1366
  <define name="standard-document">
1353
1367
  <element name="standard-document">
1354
- <attribute name="version"/>
1355
- <attribute name="type">
1356
- <choice>
1357
- <value>semantic</value>
1358
- <value>presentation</value>
1359
- </choice>
1360
- </attribute>
1368
+ <ref name="Root-Attributes"/>
1361
1369
  <ref name="bibdata"/>
1362
1370
  <optional>
1363
1371
  <ref name="misccontainer"/>
@@ -2131,6 +2139,7 @@
2131
2139
  <choice>
2132
2140
  <value>identical</value>
2133
2141
  <value>modified</value>
2142
+ <value>adapted</value>
2134
2143
  <value>restyled</value>
2135
2144
  <value>context-added</value>
2136
2145
  <value>generalisation</value>
@@ -1,6 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <grammar ns="https://www.metanorma.org/ns/rsd" xmlns="http://relaxng.org/ns/structure/1.0">
2
+ <grammar ns='https://www.metanorma.org/ns/ribose' xmlns="http://relaxng.org/ns/structure/1.0">
3
3
  <!--
4
+ VERSION v1.2.1
4
5
  Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
5
6
  we cannot have a new default namespace: we will end up with a grammar with two different
6
7
  namespaces, one for isostandard and one for csand additions. And we do not want that.
@@ -13,13 +14,7 @@
13
14
  </include>
14
15
  <define name="rsd-standard">
15
16
  <element name="rsd-standard">
16
- <attribute name="version"/>
17
- <attribute name="type">
18
- <choice>
19
- <value>semantic</value>
20
- <value>presentation</value>
21
- </choice>
22
- </attribute>
17
+ <ref name="Root-Attributes"/>
23
18
  <ref name="bibdata"/>
24
19
  <zeroOrMore>
25
20
  <ref name="termdocsource"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ribose
3
- VERSION = "2.2.7".freeze
3
+ VERSION = "2.2.9".freeze
4
4
  end
5
5
  end
data/metanorma.yml CHANGED
@@ -1,10 +1,10 @@
1
1
  metanorma_name: ribose
2
2
  organization_name_short: Ribose
3
3
  organization_name_long: Ribose Asia Limited
4
- document_namespace: https://www.metanorma.org/ns/rsd
4
+ document_namespace: https://www.metanorma.org/ns/ribose
5
5
  xml_root_tag: 'rsd-standard'
6
6
  logo_path: lib/isodoc/ribose/html/logo.png
7
- validate_rng_file: lib/metanorma/ribose/rsd.rng
7
+ validate_rng_file: lib/metanorma/ribose/ribose.rng
8
8
  i18nyaml: lib/isodoc/ribose/i18n-en.yaml
9
9
  htmlcoverpage: lib/isodoc/ribose/html/html_rsd_titlepage.html
10
10
  htmlintropage: lib/isodoc/ribose/html/html_rsd_intro.html
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ribose
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-10 00:00:00.000000000 Z
11
+ date: 2023-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic
@@ -218,7 +218,7 @@ files:
218
218
  - lib/metanorma/ribose/processor.rb
219
219
  - lib/metanorma/ribose/relaton-ribose.rng
220
220
  - lib/metanorma/ribose/reqt.rng
221
- - lib/metanorma/ribose/rsd.rng
221
+ - lib/metanorma/ribose/ribose.rng
222
222
  - lib/metanorma/ribose/version.rb
223
223
  - metanorma-ribose.gemspec
224
224
  - metanorma.yml