metanorma-gb 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/gb/isostandard.rng +8 -0
- data/lib/isodoc/gb/html/html_compliant_gb_titlepage.html +1 -1
- data/lib/isodoc/gb/html/html_gb_titlepage.html +1 -1
- data/lib/isodoc/gb/html/word_gb_titlepage.html +1 -1
- data/lib/isodoc/gb/metadata.rb +2 -0
- data/lib/metanorma/gb/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: '06975a89d5c98653e7c939fb743fe3712ea76e88b256cf7bb8c2872f81bd85c3'
|
4
|
+
data.tar.gz: 3578d7faec7a5ef334f26d5fbb10ddb8c7852df192864bb33d2cafa1b275ec7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6331b81ff943bc1faa71b1c748e234e3a7a7d58d61c8af423528ab77900d5f17aa612ec667fa64cf4108b719e9d2278bbe03fa363edd284aae04b6b3f23dd9fb
|
7
|
+
data.tar.gz: 3e0da6b91f3758c8c850a777f143ce6eedf61692432af136f46f5a8b67d19a9c3261ff5024086b3edf0db108e70d2a17ddd669db9e89f6308b12a97df93a104a
|
@@ -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"/>
|
@@ -69,7 +69,7 @@
|
|
69
69
|
</div>
|
70
70
|
|
71
71
|
<div class="coverpage-stage-block" lang="{{ language }}">
|
72
|
-
{% if
|
72
|
+
{% if unpublished %}
|
73
73
|
<span class="stage-if-draft">({{ stageabbr }})</span>
|
74
74
|
{% if revdate %}
|
75
75
|
<span class="revision-if-draft">({{completion_date}}:{{ revdate }})</span>
|
@@ -214,7 +214,7 @@ width:263494459px;height:28675px'>
|
|
214
214
|
<span class="join">{%if language == "zh" %},{% else %}, {% endif %}</span><span class="iso-equivalence-code">{{ gbequivalence }})</span>
|
215
215
|
</p>
|
216
216
|
{% endif %}
|
217
|
-
{% if
|
217
|
+
{% if unpublished %}
|
218
218
|
<p class=draft_type><span lang=EN-US><span style='mso-spacerun:yes'> </span></span><span
|
219
219
|
lang=ZH-CN>({{ stageabbr }})</span></p>
|
220
220
|
<p class=draft_type>
|
data/lib/isodoc/gb/metadata.rb
CHANGED
@@ -116,8 +116,10 @@ module IsoDoc
|
|
116
116
|
|
117
117
|
def docstatus(isoxml, _out)
|
118
118
|
docstatus = isoxml.at(ns("//bibdata/status/stage"))
|
119
|
+
set(:unpublished, false)
|
119
120
|
if docstatus
|
120
121
|
set(:stage, docstatus.text.to_i)
|
122
|
+
set(:unpublished, docstatus.text.to_i < 60)
|
121
123
|
abbr = stage_abbrev_cn(docstatus.text, isoxml.at(ns("//bibdata/status/iteration")),
|
122
124
|
isoxml.at(ns("//version/draft")))
|
123
125
|
set(:stageabbr, abbr)
|
data/lib/metanorma/gb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-gb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
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: metanorma-iso
|