metanorma-csand 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +12 -10
- data/lib/asciidoctor/csand/isostandard.rng +8 -0
- data/lib/isodoc/csand/html/html_csand_titlepage.html +2 -2
- data/lib/isodoc/csand/metadata.rb +4 -0
- data/lib/metanorma/csand/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e8a1ab596373e8581fcbbf252f6f18e64934ee2b0cafd6b2929b624796aec21
|
4
|
+
data.tar.gz: 0ab13958aa62765e983f3c839e75e0fdb3e461f4bc205f73b1ecb5518ee56bdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '083563d7bdab6ae0fe1a6d756d1a92225db33180d8658616dd956d358c2690c9a0a4f861e64d69b2e93b5f137ab7974a883e1c16c39e96d3fc48979595da5804'
|
7
|
+
data.tar.gz: ff9fc752a8f7461d8c69617549c5e7459b1997bb4408f06635936a019c4897f58d2e39c341801edd8ce1880fb1ad303387e433d6358b5d4c9096677a3c773f61
|
data/README.adoc
CHANGED
@@ -99,19 +99,17 @@ DocBook document authoring tool). Asciidoctor has built-in capability to output
|
|
99
99
|
Text, DocBook and HTML; so it can be used to preview the file as it is being
|
100
100
|
authored.
|
101
101
|
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
section numbering where appropriate, the titling of Appendixes as Annexes), as
|
106
|
-
well as CSAND boilerplate text, and predefined section headers (sections are
|
107
|
-
recognised by fixed titles such as `Normative References`). Authoring CSAND
|
108
|
-
standards in this fashion assumes that users will be populating an Asciidoc
|
109
|
-
template, and not removing needed formatting instructions.
|
102
|
+
Generating documents via a document model substantially automated formatting
|
103
|
+
associated with the document, including automating numbering of headings, figures,
|
104
|
+
tables etc, and automatically generating references and citations.
|
110
105
|
|
111
106
|
== Document Attributes
|
112
107
|
|
108
|
+
=== Common attributes
|
109
|
+
|
113
110
|
The gem relies on Asciidoctor document attributes to provide necessary
|
114
|
-
metadata about the document.
|
111
|
+
metadata about the document. The https://github.com/riboseinc/metanorma-standoc[metanorma-standoc]
|
112
|
+
gem documents the Asciidoctor document attributes common to all metanorma gems. These include:
|
115
113
|
|
116
114
|
`:edition:`:: The document edition
|
117
115
|
|
@@ -144,7 +142,11 @@ guidance, proposal, standard, report, whitepaper, charter, policy, glossary, cas
|
|
144
142
|
The attribute `:draft:`, if present, includes review notes in the XML output;
|
145
143
|
these are otherwise suppressed.
|
146
144
|
|
147
|
-
==
|
145
|
+
== Asciidoctor features specific to CSAND
|
146
|
+
|
147
|
+
The https://github.com/riboseinc/metanorma-standoc[metanorma-standoc]
|
148
|
+
gem documents the customisations of Asciidoctor markup common to all metanorma gems.
|
149
|
+
The following markup is specific to this gem:
|
148
150
|
|
149
151
|
* `+[keyword]#...#+`: encodes keywords, such as "MUST", "MUST NOT". (Encoded as
|
150
152
|
`<span class="keyword">...</span>`.
|
@@ -744,6 +744,9 @@
|
|
744
744
|
</define>
|
745
745
|
<define name="preface">
|
746
746
|
<element name="preface">
|
747
|
+
<optional>
|
748
|
+
<ref name="preface_abstract"/>
|
749
|
+
</optional>
|
747
750
|
<ref name="foreword"/>
|
748
751
|
<optional>
|
749
752
|
<ref name="introduction"/>
|
@@ -811,6 +814,11 @@
|
|
811
814
|
</optional>
|
812
815
|
</element>
|
813
816
|
</define>
|
817
|
+
<define name="preface_abstract">
|
818
|
+
<element name="abstract">
|
819
|
+
<ref name="Basic-Section"/>
|
820
|
+
</element>
|
821
|
+
</define>
|
814
822
|
<define name="foreword">
|
815
823
|
<element name="foreword">
|
816
824
|
<ref name="Basic-Section"/>
|
@@ -40,10 +40,10 @@
|
|
40
40
|
</div>
|
41
41
|
|
42
42
|
<div class="coverpage-stage-block" >
|
43
|
-
<span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{{ status }}</span>
|
43
|
+
<span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{% if unpublished %}{{ status }}{% endif %}</span>
|
44
44
|
</div>
|
45
45
|
|
46
|
-
{% if
|
46
|
+
{% if unpublished %}
|
47
47
|
<div class="coverpage-warning">
|
48
48
|
<span class="title">Warning for Drafts</span>
|
49
49
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|