metanorma-csd 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/README.adoc +10 -116
- data/appveyor.yml +30 -0
- data/docs/quickstart.adoc +1 -1
- data/lib/asciidoctor/csd/biblio.rng +38 -34
- data/lib/asciidoctor/csd/converter.rb +1 -1
- data/lib/asciidoctor/csd/isodoc.rng +1 -0
- data/lib/asciidoctor/csd/reqt.rng +157 -0
- data/lib/isodoc/csd/html/html_csd_titlepage.html +94 -94
- data/lib/metanorma/csd/version.rb +1 -1
- data/metanorma-csd.gemspec +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4253a0eb6d30f505ebfb4d97c7be59d9de5bb0b8b138673ec2dc207d627b86b
|
|
4
|
+
data.tar.gz: 8b98e3531f75154204978c30d6de6dcc510e9adfc3b16740f8cb7512f5ceb0cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5191ed18e79f5871d78554ac7c3ed508ceca3727e2a23b6859a07512235c488f194c8e85457c7bc839fa219d9a9182e9b8f70acc85469cd592aa2dc0f7fba5b6
|
|
7
|
+
data.tar.gz: 23a42ca75cdf7e439382e328f3ec2a9de23b96fd80d77659fc2a39693ac186ec25bb54f47fa81e9ba2299962ee54dd7227c447ea5a0ae7cca36da29788aaea6e
|
data/.travis.yml
CHANGED
|
@@ -8,9 +8,8 @@ rvm:
|
|
|
8
8
|
- ruby-head
|
|
9
9
|
before_install:
|
|
10
10
|
- gem install bundler -v 2.0.1
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
- unset _JAVA_OPTIONS
|
|
11
|
+
- travis_retry sudo apt-get update
|
|
12
|
+
- sudo bash -c "curl -L https://raw.githubusercontent.com/metanorma/metanorma-linux-setup/master/ubuntu-install-puppeteer.sh | bash"
|
|
14
13
|
matrix:
|
|
15
14
|
allow_failures:
|
|
16
15
|
- rvm: ruby-head
|
data/README.adoc
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
= AsciiCSD: Metanorma processor for CSD standards
|
|
2
2
|
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-csd.svg["Gem Version", link="https://rubygems.org/gems/metanorma-csd"]
|
|
4
|
-
image:https://img.shields.io/travis/
|
|
5
|
-
image:https://
|
|
4
|
+
image:https://img.shields.io/travis/metanorma/metanorma-csd/master.svg["Build Status", link="https://travis-ci.org/metanorma/metanorma-csd"]
|
|
5
|
+
image:https://ci.appveyor.com/api/projects/status/t3h1p2ycut673n8j?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/metanorma-csd"]
|
|
6
|
+
image:https://codeclimate.com/github/metanorma/metanorma-csd/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-csd"]
|
|
6
7
|
|
|
7
8
|
_Formerly known as_ `asciidoctor-csd`.
|
|
8
9
|
|
|
@@ -13,9 +14,9 @@ WARNING: This gem is still under development.
|
|
|
13
14
|
This gem processes http://asciidoctor.org/[Asciidoctor] documents following
|
|
14
15
|
a template for generating CSD International Standards.
|
|
15
16
|
|
|
16
|
-
The gem currently inherits from the https://github.com/
|
|
17
|
+
The gem currently inherits from the https://github.com/metanorma/metanorma-standoc
|
|
17
18
|
gem, and aligns closely to it. Refer to the ISO gem documentation
|
|
18
|
-
for guidance, including https://github.com/
|
|
19
|
+
for guidance, including https://github.com/metanorma/metanorma-iso/wiki/Guidance-for-authoring
|
|
19
20
|
|
|
20
21
|
The following outputs are generated.
|
|
21
22
|
|
|
@@ -66,13 +67,13 @@ $ asciidoctor -b csd -r 'metanorma-csd' a.adoc
|
|
|
66
67
|
|
|
67
68
|
=== Installation
|
|
68
69
|
|
|
69
|
-
If you are using a Mac, the https://github.com/
|
|
70
|
+
If you are using a Mac, the https://github.com/metanorma/metanorma-macos-setup
|
|
70
71
|
repository has instructions on setting up your machine to run Metanorma
|
|
71
72
|
scripts such as this one. You need only run the following in a Terminal console:
|
|
72
73
|
|
|
73
74
|
[source,console]
|
|
74
75
|
----
|
|
75
|
-
$ bash <(curl -s https://raw.githubusercontent.com/
|
|
76
|
+
$ bash <(curl -s https://raw.githubusercontent.com/metanorma/metanorma-macos-setup/master/metanorma-setup)
|
|
76
77
|
$ gem install metanorma-csd
|
|
77
78
|
----
|
|
78
79
|
|
|
@@ -90,118 +91,11 @@ https://nodejs.org/en/download/package-manager/ . (For Mac, `brew install node`)
|
|
|
90
91
|
* Install npm: https://docs.npmjs.com/getting-started/installing-node
|
|
91
92
|
* Install puppeteer: `npm install -g --save --save-exact puppeteer`
|
|
92
93
|
|
|
93
|
-
The https://github.com/
|
|
94
|
+
The https://github.com/metanorma/metanorma-macos-setup script includes Puppeteer
|
|
94
95
|
installation.
|
|
95
96
|
|
|
96
|
-
==
|
|
97
|
+
== Documentation
|
|
97
98
|
|
|
98
|
-
|
|
99
|
+
See https://www.metanorma.com/author/csd/[Author CalConnect documents with Metanorma-CSD].
|
|
99
100
|
|
|
100
|
-
The CSD Standard Document model is an instance of the
|
|
101
|
-
https://github.com/riboseinc/isodoc-models[StandardDocument model].
|
|
102
101
|
|
|
103
|
-
The CSD format ("CSD XML") intends to introduce rigour into the CSD
|
|
104
|
-
standards authoring process, and is prescribed in a separate document.
|
|
105
|
-
|
|
106
|
-
=== Asciidoctor
|
|
107
|
-
|
|
108
|
-
Asciidoctor has been selected as the authoring tool to generate the document
|
|
109
|
-
model representation of CSD standards. It is a document formatting tool like
|
|
110
|
-
Markdown and DocBook, which combines the relative ease of use of the former
|
|
111
|
-
(using relatively lightweight markup), and the rigour and expressively of the
|
|
112
|
-
latter (it has a well-defined syntax, and was in fact initially developed as a
|
|
113
|
-
DocBook document authoring tool). Asciidoctor has built-in capability to output
|
|
114
|
-
Text, DocBook and HTML; so it can be used to preview the file as it is being
|
|
115
|
-
authored.
|
|
116
|
-
|
|
117
|
-
Generating documents via a document model substantially automated formatting
|
|
118
|
-
associated with the document, including automating numbering of headings, figures,
|
|
119
|
-
tables etc, and automatically generating references and citations.
|
|
120
|
-
|
|
121
|
-
== Document Attributes
|
|
122
|
-
|
|
123
|
-
=== Common attributes
|
|
124
|
-
|
|
125
|
-
The gem relies on Asciidoctor document attributes to provide necessary
|
|
126
|
-
metadata about the document. The https://github.com/riboseinc/metanorma-standoc[metanorma-standoc]
|
|
127
|
-
gem documents the Asciidoctor document attributes common to all metanorma gems. These include:
|
|
128
|
-
|
|
129
|
-
`:edition:`:: The document edition
|
|
130
|
-
|
|
131
|
-
`:revdate:`:: The date the document was last updated
|
|
132
|
-
|
|
133
|
-
`:copyright-year:`:: The year which will be claimed as when the copyright for
|
|
134
|
-
the document was issued
|
|
135
|
-
|
|
136
|
-
`:title:`:: The main component of the English title of the document
|
|
137
|
-
(mandatory). (The first line of the AsciiDoc document, which contains the title
|
|
138
|
-
introduced with `=`, is ignored)
|
|
139
|
-
|
|
140
|
-
`:doctype:`:: The document type (see _CSD deliverables: The different types of
|
|
141
|
-
CSD publications_) (mandatory). Note that the document types are reflected in the
|
|
142
|
-
document identifier. The permitted types are:
|
|
143
|
-
+
|
|
144
|
-
--
|
|
145
|
-
standard:: Standard (no suffix on identifier; e.g. `CC 1`)
|
|
146
|
-
directive:: Directive (suffix `DIR`, e.g. `CC/DIR 1`)
|
|
147
|
-
guide:: Guide (suffix `Guide`)
|
|
148
|
-
specification:: Specification (suffix `S`)
|
|
149
|
-
report:: Report (suffix `R`)
|
|
150
|
-
administrative:: Administrative (suffix `A`)
|
|
151
|
-
amendment:: Amendment (suffix `Amd`)
|
|
152
|
-
technical corrigendum:: Technical Corrigendum (suffix `Cor`)
|
|
153
|
-
advisory:: Advisory (suffix `Adv`)
|
|
154
|
-
--
|
|
155
|
-
|
|
156
|
-
`:status:`:: The document status. The permitted types are: `proposal`,
|
|
157
|
-
`working-draft`, `committee-draft`, `draft-standard`, `final-draft`,
|
|
158
|
-
`published`, `withdrawn`.
|
|
159
|
-
|
|
160
|
-
`:technical-committee:`:: The name of the relevant CSD technical committee
|
|
161
|
-
`:technical-committee-type:`:: The type of the relevant CSD technical committee
|
|
162
|
-
(mandatory): `technical`, `provisional`
|
|
163
|
-
`:technical-committee_2:`:: The name of a second relevant CSD technical committee;
|
|
164
|
-
other committees are added as `_3`, `_4`...
|
|
165
|
-
`:technical-committee-type_2:`:: The type of a second relevant CSD technical committee;
|
|
166
|
-
other committees are added as `_3`, `_4`...
|
|
167
|
-
|
|
168
|
-
`:language:` :: The language of the document (only `en` for now) (mandatory)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
The attribute `:draft:`, if present, includes review notes in the XML output;
|
|
172
|
-
these are otherwise suppressed.
|
|
173
|
-
|
|
174
|
-
////
|
|
175
|
-
=== Attributs specific to CSD
|
|
176
|
-
|
|
177
|
-
`:fullname{_i}:`:: The full name of a person who is a contributor to the document.
|
|
178
|
-
A second person is indicated by using a numeric suffix: `:fullname:`, `:fullname_2:`, `fullname_3:`, &c.
|
|
179
|
-
|
|
180
|
-
`:surname{_i}:`:: The surname of a person who is a contributor to the document.
|
|
181
|
-
`:givenname{_i}:`:: The given name(s) of a person who is a contributor to the document.
|
|
182
|
-
`:role{_i}:`:: The role of a a person who is a contributor to the document. By default,
|
|
183
|
-
they are coded as an `editor`; they can also be represented as an `author`.
|
|
184
|
-
////
|
|
185
|
-
|
|
186
|
-
////
|
|
187
|
-
== Asciidoctor features specific to CSD
|
|
188
|
-
|
|
189
|
-
The https://github.com/riboseinc/metanorma-standoc[metanorma-standoc]
|
|
190
|
-
gem documents the customisations of Asciidoctor markup common to all metanorma gems.
|
|
191
|
-
The following markup is specific to this gem:
|
|
192
|
-
|
|
193
|
-
////
|
|
194
|
-
|
|
195
|
-
== Data Models
|
|
196
|
-
|
|
197
|
-
The CSD Standard Document format is an instance of the
|
|
198
|
-
https://github.com/riboseinc/isodoc-models[StandardDocument model]. Details of
|
|
199
|
-
this general model can be found on its page. Details of the CSD modifications
|
|
200
|
-
to this general model can be found on the https://github.com/riboseinc/csd[CSD model]
|
|
201
|
-
repository.
|
|
202
|
-
|
|
203
|
-
== Examples
|
|
204
|
-
|
|
205
|
-
* link:spec/examples/rfc6350.adoc[] is an AsciiCSD version of https://tools.ietf.org/html/rfc6350[RFC 6350].
|
|
206
|
-
* link:spec/examples/rfc6350.html[] is an HTML file generated from the AsciiCSD.
|
|
207
|
-
* link:spec/examples/rfc6350.doc[] is a Word document generated from the AsciiCSD.
|
data/appveyor.yml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
version: '{build}'
|
|
2
|
+
|
|
3
|
+
environment:
|
|
4
|
+
matrix:
|
|
5
|
+
- RUBY_VERSION: 25
|
|
6
|
+
- RUBY_VERSION: 24
|
|
7
|
+
- RUBY_VERSION: 23
|
|
8
|
+
- RUBY_VERSION: _trunk
|
|
9
|
+
|
|
10
|
+
matrix:
|
|
11
|
+
allow_failures:
|
|
12
|
+
- RUBY_VERSION: _trunk
|
|
13
|
+
|
|
14
|
+
install:
|
|
15
|
+
- ps: . { iwr -useb https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/appveyor.ps1 } | iex
|
|
16
|
+
- refreshenv
|
|
17
|
+
|
|
18
|
+
build_script:
|
|
19
|
+
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
|
20
|
+
- bundle update
|
|
21
|
+
- bundle install
|
|
22
|
+
|
|
23
|
+
before_test:
|
|
24
|
+
- ruby -v
|
|
25
|
+
- gem -v
|
|
26
|
+
- bundle -v
|
|
27
|
+
|
|
28
|
+
test_script:
|
|
29
|
+
- bundle exec rake
|
|
30
|
+
|
data/docs/quickstart.adoc
CHANGED
|
@@ -30,7 +30,7 @@ Clone the Metanorma-CSD repository and change into the directory with the exampl
|
|
|
30
30
|
|
|
31
31
|
[source,console]
|
|
32
32
|
--
|
|
33
|
-
git clone https://github.com/
|
|
33
|
+
git clone https://github.com/metanorma/metanorma-csd.git
|
|
34
34
|
cd /spec/examples/
|
|
35
35
|
--
|
|
36
36
|
|
|
@@ -156,9 +156,9 @@
|
|
|
156
156
|
<zeroOrMore>
|
|
157
157
|
<ref name="contact"/>
|
|
158
158
|
</zeroOrMore>
|
|
159
|
-
<
|
|
159
|
+
<zeroOrMore>
|
|
160
160
|
<ref name="uri"/>
|
|
161
|
-
</
|
|
161
|
+
</zeroOrMore>
|
|
162
162
|
</element>
|
|
163
163
|
</define>
|
|
164
164
|
<define name="fullname">
|
|
@@ -246,9 +246,9 @@
|
|
|
246
246
|
<optional>
|
|
247
247
|
<ref name="abbreviation"/>
|
|
248
248
|
</optional>
|
|
249
|
-
<
|
|
249
|
+
<zeroOrMore>
|
|
250
250
|
<ref name="uri"/>
|
|
251
|
-
</
|
|
251
|
+
</zeroOrMore>
|
|
252
252
|
<zeroOrMore>
|
|
253
253
|
<ref name="org-identifier"/>
|
|
254
254
|
</zeroOrMore>
|
|
@@ -469,12 +469,13 @@
|
|
|
469
469
|
<value>film</value>
|
|
470
470
|
<value>video</value>
|
|
471
471
|
<value>broadcast</value>
|
|
472
|
-
<value>
|
|
472
|
+
<value>graphic_work</value>
|
|
473
473
|
<value>music</value>
|
|
474
474
|
<value>patent</value>
|
|
475
475
|
<value>inbook</value>
|
|
476
476
|
<value>incollection</value>
|
|
477
477
|
<value>inproceedings</value>
|
|
478
|
+
<value>journal</value>
|
|
478
479
|
</choice>
|
|
479
480
|
</define>
|
|
480
481
|
<define name="BibliographicItem">
|
|
@@ -739,39 +740,44 @@
|
|
|
739
740
|
<element name="series">
|
|
740
741
|
<optional>
|
|
741
742
|
<attribute name="type">
|
|
742
|
-
<
|
|
743
|
-
<value>main</value>
|
|
744
|
-
<value>alt</value>
|
|
745
|
-
</choice>
|
|
743
|
+
<ref name="SeriesType"/>
|
|
746
744
|
</attribute>
|
|
747
745
|
</optional>
|
|
748
746
|
<choice>
|
|
749
|
-
<ref name="btitle"/>
|
|
750
747
|
<ref name="formattedref"/>
|
|
748
|
+
<group>
|
|
749
|
+
<ref name="btitle"/>
|
|
750
|
+
<optional>
|
|
751
|
+
<ref name="bplace"/>
|
|
752
|
+
</optional>
|
|
753
|
+
<optional>
|
|
754
|
+
<ref name="seriesorganization"/>
|
|
755
|
+
</optional>
|
|
756
|
+
<optional>
|
|
757
|
+
<ref name="abbreviation"/>
|
|
758
|
+
</optional>
|
|
759
|
+
<optional>
|
|
760
|
+
<ref name="seriesfrom"/>
|
|
761
|
+
</optional>
|
|
762
|
+
<optional>
|
|
763
|
+
<ref name="seriesto"/>
|
|
764
|
+
</optional>
|
|
765
|
+
<optional>
|
|
766
|
+
<ref name="seriesnumber"/>
|
|
767
|
+
</optional>
|
|
768
|
+
<optional>
|
|
769
|
+
<ref name="seriespartnumber"/>
|
|
770
|
+
</optional>
|
|
771
|
+
</group>
|
|
751
772
|
</choice>
|
|
752
|
-
<optional>
|
|
753
|
-
<ref name="bplace"/>
|
|
754
|
-
</optional>
|
|
755
|
-
<optional>
|
|
756
|
-
<ref name="seriesorganization"/>
|
|
757
|
-
</optional>
|
|
758
|
-
<optional>
|
|
759
|
-
<ref name="abbreviation"/>
|
|
760
|
-
</optional>
|
|
761
|
-
<optional>
|
|
762
|
-
<ref name="seriesfrom"/>
|
|
763
|
-
</optional>
|
|
764
|
-
<optional>
|
|
765
|
-
<ref name="seriesto"/>
|
|
766
|
-
</optional>
|
|
767
|
-
<optional>
|
|
768
|
-
<ref name="seriesnumber"/>
|
|
769
|
-
</optional>
|
|
770
|
-
<optional>
|
|
771
|
-
<ref name="seriespartnumber"/>
|
|
772
|
-
</optional>
|
|
773
773
|
</element>
|
|
774
774
|
</define>
|
|
775
|
+
<define name="SeriesType">
|
|
776
|
+
<choice>
|
|
777
|
+
<value>main</value>
|
|
778
|
+
<value>alt</value>
|
|
779
|
+
</choice>
|
|
780
|
+
</define>
|
|
775
781
|
<define name="seriesorganization">
|
|
776
782
|
<element name="organization">
|
|
777
783
|
<text/>
|
|
@@ -849,6 +855,7 @@
|
|
|
849
855
|
<value>includes</value>
|
|
850
856
|
<value>instance</value>
|
|
851
857
|
<value>partOf</value>
|
|
858
|
+
<value>hasDraft</value>
|
|
852
859
|
</choice>
|
|
853
860
|
</attribute>
|
|
854
861
|
<element name="bibitem">
|
|
@@ -861,9 +868,6 @@
|
|
|
861
868
|
</define>
|
|
862
869
|
<define name="version">
|
|
863
870
|
<element name="version">
|
|
864
|
-
<optional>
|
|
865
|
-
<ref name="vedition"/>
|
|
866
|
-
</optional>
|
|
867
871
|
<optional>
|
|
868
872
|
<ref name="revision-date"/>
|
|
869
873
|
</optional>
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
|
+
<!--
|
|
4
|
+
Presupposes isodoc.rnc, is included in it
|
|
5
|
+
include "isodoc.rnc" { }
|
|
6
|
+
-->
|
|
7
|
+
<define name="requirement">
|
|
8
|
+
<element name="requirement">
|
|
9
|
+
<ref name="RequirementType"/>
|
|
10
|
+
</element>
|
|
11
|
+
</define>
|
|
12
|
+
<define name="recommendation">
|
|
13
|
+
<element name="recommendation">
|
|
14
|
+
<ref name="RequirementType"/>
|
|
15
|
+
</element>
|
|
16
|
+
</define>
|
|
17
|
+
<define name="permission">
|
|
18
|
+
<element name="permission">
|
|
19
|
+
<ref name="RequirementType"/>
|
|
20
|
+
</element>
|
|
21
|
+
</define>
|
|
22
|
+
<define name="RequirementType">
|
|
23
|
+
<optional>
|
|
24
|
+
<attribute name="obligation">
|
|
25
|
+
<ref name="ObligationType"/>
|
|
26
|
+
</attribute>
|
|
27
|
+
</optional>
|
|
28
|
+
<attribute name="id">
|
|
29
|
+
<data type="ID"/>
|
|
30
|
+
</attribute>
|
|
31
|
+
<optional>
|
|
32
|
+
<attribute name="filename"/>
|
|
33
|
+
</optional>
|
|
34
|
+
<optional>
|
|
35
|
+
<ref name="reqtitle"/>
|
|
36
|
+
</optional>
|
|
37
|
+
<optional>
|
|
38
|
+
<ref name="label"/>
|
|
39
|
+
</optional>
|
|
40
|
+
<optional>
|
|
41
|
+
<ref name="subject"/>
|
|
42
|
+
</optional>
|
|
43
|
+
<optional>
|
|
44
|
+
<ref name="reqinherit"/>
|
|
45
|
+
</optional>
|
|
46
|
+
<zeroOrMore>
|
|
47
|
+
<ref name="classification"/>
|
|
48
|
+
</zeroOrMore>
|
|
49
|
+
<zeroOrMore>
|
|
50
|
+
<choice>
|
|
51
|
+
<ref name="measurementtarget"/>
|
|
52
|
+
<ref name="specification"/>
|
|
53
|
+
<ref name="verification"/>
|
|
54
|
+
<ref name="import"/>
|
|
55
|
+
<ref name="description"/>
|
|
56
|
+
</choice>
|
|
57
|
+
</zeroOrMore>
|
|
58
|
+
<optional>
|
|
59
|
+
<ref name="reqt_references"/>
|
|
60
|
+
</optional>
|
|
61
|
+
<zeroOrMore>
|
|
62
|
+
<choice>
|
|
63
|
+
<ref name="requirement"/>
|
|
64
|
+
<ref name="recommendation"/>
|
|
65
|
+
<ref name="permission"/>
|
|
66
|
+
</choice>
|
|
67
|
+
</zeroOrMore>
|
|
68
|
+
</define>
|
|
69
|
+
<define name="reqtitle">
|
|
70
|
+
<element name="title">
|
|
71
|
+
<ref name="FormattedString"/>
|
|
72
|
+
</element>
|
|
73
|
+
</define>
|
|
74
|
+
<define name="label">
|
|
75
|
+
<element name="label">
|
|
76
|
+
<text/>
|
|
77
|
+
</element>
|
|
78
|
+
</define>
|
|
79
|
+
<define name="subject">
|
|
80
|
+
<element name="subject">
|
|
81
|
+
<text/>
|
|
82
|
+
</element>
|
|
83
|
+
</define>
|
|
84
|
+
<define name="reqinherit">
|
|
85
|
+
<element name="subject">
|
|
86
|
+
<text/>
|
|
87
|
+
</element>
|
|
88
|
+
</define>
|
|
89
|
+
<define name="measurementtarget">
|
|
90
|
+
<element name="measurement-target">
|
|
91
|
+
<ref name="RequirementSubpart"/>
|
|
92
|
+
</element>
|
|
93
|
+
</define>
|
|
94
|
+
<define name="specification">
|
|
95
|
+
<element name="specification">
|
|
96
|
+
<ref name="RequirementSubpart"/>
|
|
97
|
+
</element>
|
|
98
|
+
</define>
|
|
99
|
+
<define name="verification">
|
|
100
|
+
<element name="verification">
|
|
101
|
+
<ref name="RequirementSubpart"/>
|
|
102
|
+
</element>
|
|
103
|
+
</define>
|
|
104
|
+
<define name="import">
|
|
105
|
+
<element name="import">
|
|
106
|
+
<ref name="RequirementSubpart"/>
|
|
107
|
+
</element>
|
|
108
|
+
</define>
|
|
109
|
+
<define name="description">
|
|
110
|
+
<element name="description">
|
|
111
|
+
<ref name="RequirementSubpart"/>
|
|
112
|
+
</element>
|
|
113
|
+
</define>
|
|
114
|
+
<define name="reqt_references">
|
|
115
|
+
<element name="references">
|
|
116
|
+
<oneOrMore>
|
|
117
|
+
<ref name="bibitem"/>
|
|
118
|
+
</oneOrMore>
|
|
119
|
+
</element>
|
|
120
|
+
</define>
|
|
121
|
+
<define name="RequirementSubpart">
|
|
122
|
+
<optional>
|
|
123
|
+
<attribute name="type"/>
|
|
124
|
+
</optional>
|
|
125
|
+
<optional>
|
|
126
|
+
<attribute name="exclude">
|
|
127
|
+
<data type="boolean"/>
|
|
128
|
+
</attribute>
|
|
129
|
+
</optional>
|
|
130
|
+
<oneOrMore>
|
|
131
|
+
<ref name="BasicBlock"/>
|
|
132
|
+
</oneOrMore>
|
|
133
|
+
</define>
|
|
134
|
+
<define name="ObligationType">
|
|
135
|
+
<choice>
|
|
136
|
+
<value>requirement</value>
|
|
137
|
+
<value>recommendation</value>
|
|
138
|
+
<value>permission</value>
|
|
139
|
+
</choice>
|
|
140
|
+
</define>
|
|
141
|
+
<define name="classification">
|
|
142
|
+
<element name="classification">
|
|
143
|
+
<ref name="classification_tag"/>
|
|
144
|
+
<ref name="classification_value"/>
|
|
145
|
+
</element>
|
|
146
|
+
</define>
|
|
147
|
+
<define name="classification_tag">
|
|
148
|
+
<element name="tag">
|
|
149
|
+
<text/>
|
|
150
|
+
</element>
|
|
151
|
+
</define>
|
|
152
|
+
<define name="classification_value">
|
|
153
|
+
<element name="value">
|
|
154
|
+
<text/>
|
|
155
|
+
</element>
|
|
156
|
+
</define>
|
|
157
|
+
</grammar>
|
|
@@ -10,105 +10,105 @@
|
|
|
10
10
|
|
|
11
11
|
<header>
|
|
12
12
|
|
|
13
|
-
<!--<div class="WordSection1">-->
|
|
13
|
+
<!--<div class="WordSection1">-->
|
|
14
14
|
<div class="coverpage">
|
|
15
15
|
<div class="wrapper-top">
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
<div class="coverpage-doc-identity">
|
|
18
|
+
<div class="doc-number">
|
|
19
|
+
<span class="docnumber">{{ docnumber }}</span>
|
|
20
|
+
<!-- <span class="docnumber-separator">:</span>
|
|
21
|
+
<span class="docyear">{{ docyear }}</span> -->
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="coverpage-title">
|
|
25
|
+
<span class="title-first">{{ doctitle }}</span>
|
|
26
|
+
<!--<span class="title-second">{{ docsubtitle }}</span>-->
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="coverpage-logo">
|
|
31
|
+
<span>The Calendaring and Scheduling Consortium</span>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="coverpage-tc-name">
|
|
35
|
+
<span>TC {{ tc }}</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
{% capture tags %}
|
|
39
|
+
{% for tag in roles_authors_affiliations %}
|
|
40
|
+
{{ tag[0] }}
|
|
41
|
+
{% endfor %}
|
|
42
|
+
{% endcapture %}
|
|
43
|
+
|
|
44
|
+
{% assign sortedtags = tags | split:' ' | sort %}
|
|
45
|
+
|
|
46
|
+
<div class="coverpage-contributors">
|
|
47
|
+
{% for tag in sortedtags %}
|
|
48
|
+
<div class="group {{ tag }}">
|
|
49
|
+
{% for affiliation in roles_authors_affiliations[tag] %}
|
|
50
|
+
{% for author in affiliation[1] %}
|
|
51
|
+
<span class="person {{ tag }}">{{ author }}<span class="role">{{ tag | capitalize }}</span></span>
|
|
52
|
+
{% endfor %}
|
|
53
|
+
<div class="affiliation">{{affiliation[0]}}</div>
|
|
54
|
+
{% endfor %}
|
|
55
|
+
</div>
|
|
56
|
+
{% endfor %}
|
|
57
|
+
|
|
58
|
+
</div>
|
|
22
59
|
</div>
|
|
23
60
|
|
|
24
|
-
<div class="
|
|
25
|
-
<
|
|
26
|
-
|
|
61
|
+
<div class="title-section1">
|
|
62
|
+
<div class="coverpage-stage-block" >
|
|
63
|
+
<span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">CalConnect {{ doctype }}</span>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div class="coverpage-stage-block" >
|
|
67
|
+
<span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{% if unpublished %}{{ status }}{% endif %}</span>
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
{% if unpublished %}
|
|
71
|
+
<div class="coverpage-warning">
|
|
72
|
+
<span class="title">Warning for Drafts</span>
|
|
73
|
+
|
|
74
|
+
<p class="content">
|
|
75
|
+
This document is not a CalConnect Standard. It is distributed for review and
|
|
76
|
+
comment, and is subject to change without notice and may not be referred to as
|
|
77
|
+
a Standard. Recipients of this draft are invited to submit, with their
|
|
78
|
+
comments, notification of any relevant patent rights of which they are aware
|
|
79
|
+
and to provide supporting documentation.
|
|
80
|
+
</p>
|
|
81
|
+
</div>
|
|
82
|
+
{% endif %}
|
|
83
|
+
|
|
84
|
+
<div class="copyright">
|
|
85
|
+
<p class="year">
|
|
86
|
+
© {{ docyear }} The Calendaring and Scheduling Consortium, Inc.
|
|
87
|
+
</p>
|
|
88
|
+
|
|
89
|
+
<p class="message">
|
|
90
|
+
All rights reserved. Unless otherwise specified, no part of this
|
|
91
|
+
publication may be reproduced or utilized otherwise in any form or by any
|
|
92
|
+
means, electronic or mechanical, including photocopying, or posting on the
|
|
93
|
+
internet or an intranet, without prior written permission. Permission can
|
|
94
|
+
be requested from the address below.
|
|
95
|
+
</p>
|
|
96
|
+
|
|
97
|
+
<div class="contact-info">
|
|
98
|
+
<p class="name">The Calendaring and Scheduling Consortium, Inc.</p>
|
|
99
|
+
<p class="address">
|
|
100
|
+
4390 Chaffin Lane<br />
|
|
101
|
+
McKinleyville<br />
|
|
102
|
+
California 95519<br />
|
|
103
|
+
United States of America<br />
|
|
104
|
+
<br />
|
|
105
|
+
<a href="mailto:copyright@calconnect.org">copyright@calconnect.org</a><br />
|
|
106
|
+
<a href="www.calconnect.org">www.calconnect.org</a>
|
|
107
|
+
</p>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
<div class="rule"></div>
|
|
27
112
|
</div>
|
|
28
113
|
</div>
|
|
29
|
-
|
|
30
|
-
<div class="coverpage-logo">
|
|
31
|
-
<span>The Calendaring and Scheduling Consortium</span>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
<div class="coverpage-tc-name">
|
|
35
|
-
<span>TC {{ tc }}</span>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
{% capture tags %}
|
|
39
|
-
{% for tag in roles_authors_affiliations %}
|
|
40
|
-
{{ tag[0] }}
|
|
41
|
-
{% endfor %}
|
|
42
|
-
{% endcapture %}
|
|
43
|
-
|
|
44
|
-
{% assign sortedtags = tags | split:' ' | sort %}
|
|
45
|
-
|
|
46
|
-
{% for tag in sortedtags %}
|
|
47
|
-
<div class="coverpage-contributors">
|
|
48
|
-
<div class="group {{ tag }}">
|
|
49
|
-
{% for affiliation in roles_authors_affiliations[tag] %}
|
|
50
|
-
{% for author in affiliation[1] %}
|
|
51
|
-
<span class="person {{ tag }}">{{ author }}<span class="role">{{ tag | capitalize }}</span></span>
|
|
52
|
-
{% endfor %}
|
|
53
|
-
<div class="affiliation">{{affiliation[0]}}</div>
|
|
54
|
-
{% endfor %}
|
|
55
|
-
</div>
|
|
56
|
-
{% endfor %}
|
|
57
|
-
|
|
58
|
-
</div>
|
|
59
|
-
|
|
60
|
-
<div class="title-section1">
|
|
61
|
-
<div class="coverpage-stage-block" >
|
|
62
|
-
<span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">CalConnect {{ doctype }}</span>
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<div class="coverpage-stage-block" >
|
|
66
|
-
<span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{% if unpublished %}{{ status }}{% endif %}</span>
|
|
67
|
-
</div>
|
|
68
|
-
|
|
69
|
-
{% if unpublished %}
|
|
70
|
-
<div class="coverpage-warning">
|
|
71
|
-
<span class="title">Warning for Drafts</span>
|
|
72
|
-
|
|
73
|
-
<p class="content">
|
|
74
|
-
This document is not a CalConnect Standard. It is distributed for review and
|
|
75
|
-
comment, and is subject to change without notice and may not be referred to as
|
|
76
|
-
a Standard. Recipients of this draft are invited to submit, with their
|
|
77
|
-
comments, notification of any relevant patent rights of which they are aware
|
|
78
|
-
and to provide supporting documentation.
|
|
79
|
-
</p>
|
|
80
|
-
</div>
|
|
81
|
-
{% endif %}
|
|
82
|
-
|
|
83
|
-
<div class="copyright">
|
|
84
|
-
<p class="year">
|
|
85
|
-
© {{ docyear }} The Calendaring and Scheduling Consortium, Inc.
|
|
86
|
-
</p>
|
|
87
|
-
|
|
88
|
-
<p class="message">
|
|
89
|
-
All rights reserved. Unless otherwise specified, no part of this
|
|
90
|
-
publication may be reproduced or utilized otherwise in any form or by any
|
|
91
|
-
means, electronic or mechanical, including photocopying, or posting on the
|
|
92
|
-
internet or an intranet, without prior written permission. Permission can
|
|
93
|
-
be requested from the address below.
|
|
94
|
-
</p>
|
|
95
|
-
|
|
96
|
-
<div class="contact-info">
|
|
97
|
-
<p class="name">The Calendaring and Scheduling Consortium, Inc.</p>
|
|
98
|
-
<p class="address">
|
|
99
|
-
4390 Chaffin Lane<br />
|
|
100
|
-
McKinleyville<br />
|
|
101
|
-
California 95519<br />
|
|
102
|
-
United States of America<br />
|
|
103
|
-
<br />
|
|
104
|
-
<a href="mailto:copyright@calconnect.org">copyright@calconnect.org</a><br />
|
|
105
|
-
<a href="www.calconnect.org">www.calconnect.org</a>
|
|
106
|
-
</p>
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
|
-
|
|
110
|
-
<div class="rule"></div>
|
|
111
|
-
</div>
|
|
112
|
-
|
|
113
|
-
|
|
114
114
|
</header>
|
data/metanorma-csd.gemspec
CHANGED
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
|
17
17
|
Formerly known as asciidoctor-csd.
|
|
18
18
|
DESCRIPTION
|
|
19
19
|
|
|
20
|
-
spec.homepage = "https://github.com/
|
|
20
|
+
spec.homepage = "https://github.com/metanorma/metanorma-csd"
|
|
21
21
|
spec.license = "BSD-2-Clause"
|
|
22
22
|
|
|
23
23
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-csd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-standoc
|
|
@@ -213,6 +213,7 @@ files:
|
|
|
213
213
|
- LICENSE
|
|
214
214
|
- README.adoc
|
|
215
215
|
- Rakefile
|
|
216
|
+
- appveyor.yml
|
|
216
217
|
- bin/console
|
|
217
218
|
- bin/rspec
|
|
218
219
|
- bin/setup
|
|
@@ -226,6 +227,7 @@ files:
|
|
|
226
227
|
- lib/asciidoctor/csd/isodoc.rng
|
|
227
228
|
- lib/asciidoctor/csd/isostandard.rng
|
|
228
229
|
- lib/asciidoctor/csd/pdf.js
|
|
230
|
+
- lib/asciidoctor/csd/reqt.rng
|
|
229
231
|
- lib/asciidoctor/csd/validate_section.rb
|
|
230
232
|
- lib/isodoc/csd/html/csd.scss
|
|
231
233
|
- lib/isodoc/csd/html/dots-w@2x.png
|
|
@@ -248,7 +250,7 @@ files:
|
|
|
248
250
|
- lib/metanorma/csd/processor.rb
|
|
249
251
|
- lib/metanorma/csd/version.rb
|
|
250
252
|
- metanorma-csd.gemspec
|
|
251
|
-
homepage: https://github.com/
|
|
253
|
+
homepage: https://github.com/metanorma/metanorma-csd
|
|
252
254
|
licenses:
|
|
253
255
|
- BSD-2-Clause
|
|
254
256
|
metadata: {}
|