metanorma-generic 2.4.4 → 2.5.0

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: 887490f8778fe098a195bdc2864f62a157779a0fff114b971e00729314ff0256
4
- data.tar.gz: 43a57233fe44dca78b437cfc5b7b38208b25bb9f41ab0a70571c85baa8b6aa90
3
+ metadata.gz: c569a61e97030b3dc2beb2f09dc87c298eb9cdb9fbcc3937cb6ef5572b659ed4
4
+ data.tar.gz: add0ad9bc1dfdfeed20dee40e3aae93940be55d6838b87741dbcecce78aff687
5
5
  SHA512:
6
- metadata.gz: f4c1a759d5b44ce75491e9aaa3a1608a815200cabb34c0ecc09e63d5a0f86f3429ff36e7b31b853ddddd7b8acb841abe378591dd03f6bc87eaffd7e2d7648d4d
7
- data.tar.gz: a9e8da8406b04cb36db99d948dd2dd82c3bd69bdde02f1564b45248ed9fe5192cc16a8666c20112f9aded72f8b6edaa9ff3a129d7782b3e2da696864415031a1
6
+ metadata.gz: d53dd97d0e60a87fa34f8cac6cd7024df7b0990549477be0143d6b5e8337f52435ab1355946dd8bff8d1fb5f297180ed131f9f9aca07cecf4a9f9509b18a3e41
7
+ data.tar.gz: 17cb1656cbbc80cd52cc666cd6e9b3a813c83c5d619a49a02b4ec5587048bfd57f71cd113a043d98dffb3585f78ef7e430b30d6e6a4ba5e9e5d9dd4559b08f4c
@@ -276,7 +276,7 @@ ul li {
276
276
  list-style: none;
277
277
  }
278
278
 
279
- ul > li:before {
279
+ ul > li::before {
280
280
  content: "\2014";
281
281
  display: inline-block; width: 1em;
282
282
  margin-left: -1.2em;
@@ -306,7 +306,7 @@ ol ul > li:first-child {
306
306
  list-style-type: none;
307
307
  }
308
308
 
309
- #toc li:before {
309
+ #toc li::before {
310
310
  content: " ";
311
311
  display: none;
312
312
  }
@@ -17,7 +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
+ <!-- VERSION v1.2.3 -->
21
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">
22
22
  <include href="reqt.rng"/>
23
23
  <include href="basicdoc.rng">
@@ -192,9 +192,11 @@
192
192
  </attribute>
193
193
  </optional>
194
194
  <attribute name="citeas"/>
195
- <attribute name="type">
196
- <ref name="ReferenceFormat"/>
197
- </attribute>
195
+ <optional>
196
+ <attribute name="type">
197
+ <ref name="ReferenceFormat"/>
198
+ </attribute>
199
+ </optional>
198
200
  <optional>
199
201
  <attribute name="alt"/>
200
202
  </optional>
@@ -836,6 +838,26 @@
836
838
  <ref name="paragraph"/>
837
839
  </element>
838
840
  </define>
841
+ <define name="stem">
842
+ <element name="stem">
843
+ <attribute name="type">
844
+ <choice>
845
+ <value>MathML</value>
846
+ <value>AsciiMath</value>
847
+ <value>LatexMath</value>
848
+ </choice>
849
+ </attribute>
850
+ <attribute name="block">
851
+ <data type="boolean"/>
852
+ </attribute>
853
+ <oneOrMore>
854
+ <choice>
855
+ <text/>
856
+ <ref name="AnyElement"/>
857
+ </choice>
858
+ </oneOrMore>
859
+ </element>
860
+ </define>
839
861
  <define name="em">
840
862
  <element name="em">
841
863
  <zeroOrMore>
@@ -1012,6 +1034,7 @@
1012
1034
  <ref name="del"/>
1013
1035
  <ref name="span"/>
1014
1036
  <ref name="erefstack"/>
1037
+ <ref name="date_inline"/>
1015
1038
  </choice>
1016
1039
  </define>
1017
1040
  <define name="add">
@@ -1053,6 +1076,23 @@
1053
1076
  </oneOrMore>
1054
1077
  </element>
1055
1078
  </define>
1079
+ <define name="date_inline">
1080
+ <element name="date">
1081
+ <attribute name="value"/>
1082
+ <optional>
1083
+ <attribute name="format"/>
1084
+ </optional>
1085
+ <optional>
1086
+ <attribute name="language"/>
1087
+ </optional>
1088
+ <optional>
1089
+ <attribute name="script"/>
1090
+ </optional>
1091
+ <optional>
1092
+ <attribute name="locale"/>
1093
+ </optional>
1094
+ </element>
1095
+ </define>
1056
1096
  <define name="concept">
1057
1097
  <element name="concept">
1058
1098
  <optional>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Generic
3
- VERSION = "2.4.4".freeze
3
+ VERSION = "2.5.0".freeze
4
4
  end
5
5
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
29
29
 
30
30
  spec.add_dependency "htmlentities", "~> 4.3.4"
31
- spec.add_dependency "metanorma-standoc", "~> 2.4.2"
31
+ spec.add_dependency "metanorma-standoc", "~> 2.5.0"
32
32
  spec.add_dependency "ruby-jing"
33
33
 
34
34
  spec.add_development_dependency "debug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-generic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.4
4
+ version: 2.5.0
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-05-22 00:00:00.000000000 Z
11
+ date: 2023-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.4.2
33
+ version: 2.5.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.4.2
40
+ version: 2.5.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ruby-jing
43
43
  requirement: !ruby/object:Gem::Requirement