metanorma-csand 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +1 -1
- data/lib/asciidoctor/csand/biblio.rng +31 -0
- data/lib/asciidoctor/csand/csand.rng +6 -3
- data/lib/asciidoctor/csand/isodoc.rng +3 -31
- data/lib/asciidoctor/csand/isostandard.rng +6 -3
- data/lib/isodoc/csand/html/htmlstyle.scss +8 -1
- data/lib/metanorma/csand/version.rb +1 -1
- data/metanorma-csand.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aaf5dad445a83317143fbdad1534c9ff74ec9c083952609f4d4bd90542b5205
|
4
|
+
data.tar.gz: 688033b19b5cbe59f82ebe7b69c737b8c33dfddbdaa9a94dcc352beb52ee228e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ca16e7d8022aaf147153a0c991550ccd115b67a3588979bc61465da26265bae8adcf67cd3d2f20a88bf1471c25efa2185f6ad88b4b345e19de6ab875e54764'
|
7
|
+
data.tar.gz: 9330d4482157b48abd8842b6f6d4c975dfe2face533ca48c428fda446b750b7ed2585f810b0c26f89207c68e60d1c673701874dd60da03f03d7713a95425de87
|
data/README.adoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= AsciiCSAND: Asciidoctor processor for
|
1
|
+
= AsciiCSAND: Asciidoctor processor for CSA Normal Documents (CSAND)
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-csand.svg["Gem Version", link="https://rubygems.org/gems/metanorma-csand"]
|
4
4
|
image:https://img.shields.io/travis/riboseinc/metanorma-csand/master.svg["Build Status", link="https://travis-ci.org/riboseinc/metanorma-csand"]
|
@@ -488,6 +488,9 @@
|
|
488
488
|
<optional>
|
489
489
|
<ref name="edition"/>
|
490
490
|
</optional>
|
491
|
+
<optional>
|
492
|
+
<ref name="version"/>
|
493
|
+
</optional>
|
491
494
|
<zeroOrMore>
|
492
495
|
<ref name="biblionote"/>
|
493
496
|
</zeroOrMore>
|
@@ -866,6 +869,34 @@
|
|
866
869
|
</zeroOrMore>
|
867
870
|
</element>
|
868
871
|
</define>
|
872
|
+
<define name="version">
|
873
|
+
<element name="version">
|
874
|
+
<optional>
|
875
|
+
<ref name="vedition"/>
|
876
|
+
</optional>
|
877
|
+
<optional>
|
878
|
+
<ref name="revision-date"/>
|
879
|
+
</optional>
|
880
|
+
<zeroOrMore>
|
881
|
+
<ref name="draft"/>
|
882
|
+
</zeroOrMore>
|
883
|
+
</element>
|
884
|
+
</define>
|
885
|
+
<define name="vedition">
|
886
|
+
<element name="edition">
|
887
|
+
<data type="int"/>
|
888
|
+
</element>
|
889
|
+
</define>
|
890
|
+
<define name="revision-date">
|
891
|
+
<element name="revision-date">
|
892
|
+
<data type="date"/>
|
893
|
+
</element>
|
894
|
+
</define>
|
895
|
+
<define name="draft">
|
896
|
+
<element name="draft">
|
897
|
+
<text/>
|
898
|
+
</element>
|
899
|
+
</define>
|
869
900
|
<!--
|
870
901
|
Anycontents = mixed {
|
871
902
|
https://github.com/relaxng/jing-trang/issues/211
|
@@ -119,6 +119,9 @@
|
|
119
119
|
<optional>
|
120
120
|
<ref name="edition"/>
|
121
121
|
</optional>
|
122
|
+
<optional>
|
123
|
+
<ref name="version"/>
|
124
|
+
</optional>
|
122
125
|
<zeroOrMore>
|
123
126
|
<ref name="biblionote"/>
|
124
127
|
</zeroOrMore>
|
@@ -201,6 +204,9 @@
|
|
201
204
|
<optional>
|
202
205
|
<ref name="edition"/>
|
203
206
|
</optional>
|
207
|
+
<optional>
|
208
|
+
<ref name="version"/>
|
209
|
+
</optional>
|
204
210
|
<zeroOrMore>
|
205
211
|
<ref name="biblionote"/>
|
206
212
|
</zeroOrMore>
|
@@ -268,9 +274,6 @@
|
|
268
274
|
<define name="csand-standard">
|
269
275
|
<element name="csand-standard">
|
270
276
|
<ref name="bibdata"/>
|
271
|
-
<optional>
|
272
|
-
<ref name="version"/>
|
273
|
-
</optional>
|
274
277
|
<zeroOrMore>
|
275
278
|
<ref name="termdocsource"/>
|
276
279
|
</zeroOrMore>
|
@@ -39,9 +39,6 @@
|
|
39
39
|
<define name="standard-document">
|
40
40
|
<element name="standard-document">
|
41
41
|
<ref name="bibdata"/>
|
42
|
-
<optional>
|
43
|
-
<ref name="version"/>
|
44
|
-
</optional>
|
45
42
|
<optional>
|
46
43
|
<ref name="preface"/>
|
47
44
|
</optional>
|
@@ -59,34 +56,6 @@
|
|
59
56
|
<ref name="BibData"/>
|
60
57
|
</element>
|
61
58
|
</define>
|
62
|
-
<define name="version">
|
63
|
-
<element name="version">
|
64
|
-
<optional>
|
65
|
-
<ref name="vedition"/>
|
66
|
-
</optional>
|
67
|
-
<optional>
|
68
|
-
<ref name="revision-date"/>
|
69
|
-
</optional>
|
70
|
-
<zeroOrMore>
|
71
|
-
<ref name="draft"/>
|
72
|
-
</zeroOrMore>
|
73
|
-
</element>
|
74
|
-
</define>
|
75
|
-
<define name="vedition">
|
76
|
-
<element name="edition">
|
77
|
-
<data type="int"/>
|
78
|
-
</element>
|
79
|
-
</define>
|
80
|
-
<define name="revision-date">
|
81
|
-
<element name="revision-date">
|
82
|
-
<data type="date"/>
|
83
|
-
</element>
|
84
|
-
</define>
|
85
|
-
<define name="draft">
|
86
|
-
<element name="draft">
|
87
|
-
<text/>
|
88
|
-
</element>
|
89
|
-
</define>
|
90
59
|
<define name="preface">
|
91
60
|
<element name="preface">
|
92
61
|
<oneOrMore>
|
@@ -1068,6 +1037,9 @@
|
|
1068
1037
|
<optional>
|
1069
1038
|
<ref name="edition"/>
|
1070
1039
|
</optional>
|
1040
|
+
<optional>
|
1041
|
+
<ref name="version"/>
|
1042
|
+
</optional>
|
1071
1043
|
<zeroOrMore>
|
1072
1044
|
<ref name="biblionote"/>
|
1073
1045
|
</zeroOrMore>
|
@@ -96,6 +96,9 @@
|
|
96
96
|
<optional>
|
97
97
|
<ref name="edition"/>
|
98
98
|
</optional>
|
99
|
+
<optional>
|
100
|
+
<ref name="version"/>
|
101
|
+
</optional>
|
99
102
|
<zeroOrMore>
|
100
103
|
<ref name="biblionote"/>
|
101
104
|
</zeroOrMore>
|
@@ -178,6 +181,9 @@
|
|
178
181
|
<optional>
|
179
182
|
<ref name="edition"/>
|
180
183
|
</optional>
|
184
|
+
<optional>
|
185
|
+
<ref name="version"/>
|
186
|
+
</optional>
|
181
187
|
<zeroOrMore>
|
182
188
|
<ref name="biblionote"/>
|
183
189
|
</zeroOrMore>
|
@@ -762,9 +768,6 @@
|
|
762
768
|
<define name="iso-standard">
|
763
769
|
<element name="iso-standard">
|
764
770
|
<ref name="bibdata"/>
|
765
|
-
<optional>
|
766
|
-
<ref name="version"/>
|
767
|
-
</optional>
|
768
771
|
<zeroOrMore>
|
769
772
|
<ref name="termdocsource"/>
|
770
773
|
</zeroOrMore>
|
@@ -225,7 +225,7 @@ main {
|
|
225
225
|
}
|
226
226
|
|
227
227
|
@media screen {
|
228
|
-
img {
|
228
|
+
div.figure > img {
|
229
229
|
width: 100%;
|
230
230
|
height: auto;
|
231
231
|
}
|
@@ -595,6 +595,13 @@ p.Biblio, p.NormRef {
|
|
595
595
|
padding: 0.5em 1em;
|
596
596
|
}
|
597
597
|
|
598
|
+
.Admonition {
|
599
|
+
background-color: #ffcccc;
|
600
|
+
border-left: solid 5px #B1B6B8;
|
601
|
+
color: rgb(91, 94, 95);
|
602
|
+
padding: 0.5em 1em;
|
603
|
+
}
|
604
|
+
|
598
605
|
.note_label {
|
599
606
|
font-weight: 700;
|
600
607
|
}
|
data/metanorma-csand.gemspec
CHANGED
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
|
|
41
41
|
spec.add_dependency "metanorma-standoc", "~> 1.0.0"
|
42
42
|
spec.add_dependency "isodoc", "~> 0.9.0"
|
43
43
|
|
44
|
-
spec.add_development_dependency "bundler", "~> 1
|
44
|
+
spec.add_development_dependency "bundler", "~> 2.0.1"
|
45
45
|
spec.add_development_dependency "byebug", "~> 9.1"
|
46
46
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
47
47
|
spec.add_development_dependency "guard", "~> 2.14"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-csand
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
187
|
+
version: 2.0.1
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: 2.0.1
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: byebug
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|