metanorma-generic 2.4.4 → 2.5.1

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: 15cc774120dd5f5035b702018378a7041344a861f639c765ccb0153c606a2806
4
+ data.tar.gz: 319f4f855f88c5f1b886fa620ad26e7c161b0aab3df9dcab6b2271c0d193e9dc
5
5
  SHA512:
6
- metadata.gz: f4c1a759d5b44ce75491e9aaa3a1608a815200cabb34c0ecc09e63d5a0f86f3429ff36e7b31b853ddddd7b8acb841abe378591dd03f6bc87eaffd7e2d7648d4d
7
- data.tar.gz: a9e8da8406b04cb36db99d948dd2dd82c3bd69bdde02f1564b45248ed9fe5192cc16a8666c20112f9aded72f8b6edaa9ff3a129d7782b3e2da696864415031a1
6
+ metadata.gz: e92232a0d9e3722ff51e844f90dae110ba0c1da3a5a3e4e646808f228001d0dda34f1f584a831c85ffe8298d5f1989634e120a2abe8a7313a923cf53c6cb83fb
7
+ data.tar.gz: 224c3eb88201693198c2e3aa46301a19fb40016a858657549cbfc86df162edc9647b920ba4592d4b067d4d35d5133f7708dff480a695525663841c358df1f7b2
@@ -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.4 -->
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>
@@ -2028,6 +2068,9 @@
2028
2068
  </define>
2029
2069
  <define name="termdefinition">
2030
2070
  <element name="definition">
2071
+ <optional>
2072
+ <attribute name="type"/>
2073
+ </optional>
2031
2074
  <choice>
2032
2075
  <ref name="verbaldefinition"/>
2033
2076
  <ref name="nonverbalrep"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Generic
3
- VERSION = "2.4.4".freeze
3
+ VERSION = "2.5.1".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.1"
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.1
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-28 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.1
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.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ruby-jing
43
43
  requirement: !ruby/object:Gem::Requirement