metanorma-mpfd 0.3.20 → 0.3.21

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: 1655ee3b5580cfc2abaabbc4653444e5f11f7e08c050dee4d099465f5a0615b0
4
- data.tar.gz: a20e4a6d2a715611fd7263cf469b60e17ac31d76a846ff97233f71a136ac2a62
3
+ metadata.gz: bfd947976cf7723097bbc39190d29aba93c2877d4092851c492b1dd7b7121bc8
4
+ data.tar.gz: 101bc888077da408a72f130bef43747b30ee193426900be832e1e7fae25b9784
5
5
  SHA512:
6
- metadata.gz: 47869341de5531fc40f67568f85695360c9644985f3e8f873ab660438863ed98936191422b4246f27ede73e74ceaa67a9fa34667b8a7344acddb0210db755948
7
- data.tar.gz: 01f46db89bc5118bc94bd91f7a260590a74bb0aa965cdac468d690b1ae5a41c90674c9f4de05a3089febf31236e4b5d65e2dd35b42494edcdfc08b01219449ef
6
+ metadata.gz: b06e333a82690dd83ebfd954208028ee99342385eea6e32a631119681e9ec19a781c7ba4918d1ab63df22a5e6dcad8493891324ca0ab878a7593935c0fb95c0f
7
+ data.tar.gz: 12820e5a38ee13e815549cf27c2dfddabb5ef5428d73d5fbc88a830bca1ddc3b3087ea97ac6e503f0055489fe09bfc44f65a0ff57d4f3c9e977cb03aad79d08b
@@ -661,9 +661,9 @@
661
661
  <optional>
662
662
  <ref name="status"/>
663
663
  </optional>
664
- <optional>
664
+ <zeroOrMore>
665
665
  <ref name="copyright"/>
666
- </optional>
666
+ </zeroOrMore>
667
667
  <zeroOrMore>
668
668
  <ref name="docrelation"/>
669
669
  </zeroOrMore>
@@ -1021,7 +1021,17 @@
1021
1021
  <optional>
1022
1022
  <ref name="to"/>
1023
1023
  </optional>
1024
- <ref name="owner"/>
1024
+ <oneOrMore>
1025
+ <ref name="owner"/>
1026
+ </oneOrMore>
1027
+ <optional>
1028
+ <ref name="copyright_scope"/>
1029
+ </optional>
1030
+ </element>
1031
+ </define>
1032
+ <define name="copyright_scope">
1033
+ <element name="scope">
1034
+ <text/>
1025
1035
  </element>
1026
1036
  </define>
1027
1037
  <define name="from">
@@ -53,6 +53,14 @@
53
53
  <optional>
54
54
  <attribute name="alt"/>
55
55
  </optional>
56
+ <optional>
57
+ <attribute name="case">
58
+ <choice>
59
+ <value>capital</value>
60
+ <value>lowercase</value>
61
+ </choice>
62
+ </attribute>
63
+ </optional>
56
64
  <text/>
57
65
  </element>
58
66
  </define>
@@ -902,7 +910,15 @@
902
910
  <attribute name="id">
903
911
  <data type="ID"/>
904
912
  </attribute>
905
- <ref name="paragraph"/>
913
+ <oneOrMore>
914
+ <choice>
915
+ <ref name="paragraph"/>
916
+ <ref name="ul"/>
917
+ <ref name="ol"/>
918
+ <ref name="dl"/>
919
+ <ref name="formula"/>
920
+ </choice>
921
+ </oneOrMore>
906
922
  </element>
907
923
  </define>
908
924
  <define name="termexample">
@@ -90,6 +90,7 @@ module IsoDoc
90
90
 
91
91
  def middle(isoxml, out)
92
92
  middle_title(out)
93
+ middle_admonitions(isoxml, out)
93
94
  clause isoxml, out
94
95
  annex isoxml, out
95
96
  bibliography isoxml, out
@@ -163,13 +164,13 @@ module IsoDoc
163
164
  @anchors[clause["id"]] = { label: annex_name_lbl(clause, num),
164
165
  xref: "#{@annex_lbl} #{num}", level: 1 }
165
166
  if a = single_annex_special_section(clause)
166
- annex_names1(a, "#{num}", 1)
167
+ annex_names1(a, "#{num}", 1)
167
168
  else
168
- i = 0
169
- clause.xpath(ns("./clause | ./references")).each do |c|
170
- container_names(c, 0)
171
- i = annex_naming(c, num, 1, i)
172
- end
169
+ i = 0
170
+ clause.xpath(ns("./clause | ./references")).each do |c|
171
+ container_names(c, 0)
172
+ i = annex_naming(c, num, 1, i)
173
+ end
173
174
  end
174
175
  hierarchical_asset_names(clause, num)
175
176
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Mpfd
3
- VERSION = "0.3.20"
3
+ VERSION = "0.3.21"
4
4
  end
5
5
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.add_dependency "htmlentities", "~> 4.3.4"
30
30
  #spec.add_dependency "nokogiri"
31
- spec.add_dependency "metanorma-standoc", "~> 1.3.0"
31
+ spec.add_dependency "metanorma-standoc", "~> 1.4.0"
32
32
  spec.add_dependency "isodoc", "~> 1.0.0"
33
33
  spec.add_dependency "twitter_cldr"
34
34
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-mpfd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.20
4
+ version: 0.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-26 00:00:00.000000000 Z
11
+ date: 2020-06-08 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: 1.3.0
33
+ version: 1.4.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: 1.3.0
40
+ version: 1.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: isodoc
43
43
  requirement: !ruby/object:Gem::Requirement