metanorma-itu 1.0.12 → 1.0.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dd5351d92f3cb7d79552e4953b44f4468db9145c8edc8e7c044b50c7027ef5f
|
4
|
+
data.tar.gz: d1eac96d771822fbd30f7b34afe1e62ad75d76d5377c7bc4449bbef3426dec73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0781a46a8af37f88eaa80ea091bdde5926da2e9f94a8478b852860cf93a9e2a2c792861e3eb52301ffadbb457b30a6bd9a0281a45048c435eaa588cf141f8d7
|
7
|
+
data.tar.gz: 508002933e801a0d77be589fae9146f7570b26cc156e05fba80effe2a07299e67acbe983c8109c48fea7a57da5a55cd7fa649b5cd0eb845c6c140f5cf4c49fe1
|
@@ -49,11 +49,17 @@
|
|
49
49
|
</define>
|
50
50
|
<define name="stage">
|
51
51
|
<element name="stage">
|
52
|
+
<optional>
|
53
|
+
<attribute name="abbreviation"/>
|
54
|
+
</optional>
|
52
55
|
<text/>
|
53
56
|
</element>
|
54
57
|
</define>
|
55
58
|
<define name="substage">
|
56
59
|
<element name="substage">
|
60
|
+
<optional>
|
61
|
+
<attribute name="abbreviation"/>
|
62
|
+
</optional>
|
57
63
|
<text/>
|
58
64
|
</element>
|
59
65
|
</define>
|
@@ -452,9 +458,14 @@
|
|
452
458
|
<attribute name="bibitemid">
|
453
459
|
<data type="IDREF"/>
|
454
460
|
</attribute>
|
455
|
-
<
|
456
|
-
<
|
457
|
-
|
461
|
+
<choice>
|
462
|
+
<zeroOrMore>
|
463
|
+
<ref name="locality"/>
|
464
|
+
</zeroOrMore>
|
465
|
+
<zeroOrMore>
|
466
|
+
<ref name="localityStack"/>
|
467
|
+
</zeroOrMore>
|
468
|
+
</choice>
|
458
469
|
<optional>
|
459
470
|
<ref name="date"/>
|
460
471
|
</optional>
|
@@ -469,6 +480,25 @@
|
|
469
480
|
<ref name="BibItemLocality"/>
|
470
481
|
</element>
|
471
482
|
</define>
|
483
|
+
<define name="localityStack">
|
484
|
+
<element name="localityStack">
|
485
|
+
<zeroOrMore>
|
486
|
+
<ref name="locality"/>
|
487
|
+
</zeroOrMore>
|
488
|
+
</element>
|
489
|
+
</define>
|
490
|
+
<define name="sourceLocality">
|
491
|
+
<element name="sourceLocality">
|
492
|
+
<ref name="BibItemLocality"/>
|
493
|
+
</element>
|
494
|
+
</define>
|
495
|
+
<define name="sourceLocalityStack">
|
496
|
+
<element name="sourceLocalityStack">
|
497
|
+
<zeroOrMore>
|
498
|
+
<ref name="sourceLocality"/>
|
499
|
+
</zeroOrMore>
|
500
|
+
</element>
|
501
|
+
</define>
|
472
502
|
<define name="BibItemLocality">
|
473
503
|
<attribute name="type">
|
474
504
|
<ref name="LocalityType"/>
|
@@ -1028,12 +1058,30 @@
|
|
1028
1058
|
<attribute name="type">
|
1029
1059
|
<ref name="DocRelationType"/>
|
1030
1060
|
</attribute>
|
1061
|
+
<optional>
|
1062
|
+
<element name="description">
|
1063
|
+
<ref name="FormattedString"/>
|
1064
|
+
</element>
|
1065
|
+
</optional>
|
1031
1066
|
<element name="bibitem">
|
1032
1067
|
<ref name="BibliographicItem"/>
|
1033
1068
|
</element>
|
1034
|
-
<
|
1035
|
-
<
|
1036
|
-
|
1069
|
+
<choice>
|
1070
|
+
<zeroOrMore>
|
1071
|
+
<ref name="locality"/>
|
1072
|
+
</zeroOrMore>
|
1073
|
+
<zeroOrMore>
|
1074
|
+
<ref name="localityStack"/>
|
1075
|
+
</zeroOrMore>
|
1076
|
+
</choice>
|
1077
|
+
<choice>
|
1078
|
+
<zeroOrMore>
|
1079
|
+
<ref name="sourceLocality"/>
|
1080
|
+
</zeroOrMore>
|
1081
|
+
<zeroOrMore>
|
1082
|
+
<ref name="sourceLocalityStack"/>
|
1083
|
+
</zeroOrMore>
|
1084
|
+
</choice>
|
1037
1085
|
</element>
|
1038
1086
|
</define>
|
1039
1087
|
<define name="version">
|
@@ -45,7 +45,7 @@ module Asciidoctor
|
|
45
45
|
def extract_text(node)
|
46
46
|
return "" if node.nil?
|
47
47
|
node1 = Nokogiri::XML.fragment(node.to_s)
|
48
|
-
node1.xpath("//link | //locality").each(&:remove)
|
48
|
+
node1.xpath("//link | //locality | //localityStack").each(&:remove)
|
49
49
|
ret = ""
|
50
50
|
node1.traverse { |x| ret += x.text if x.text? }
|
51
51
|
ret
|
@@ -120,8 +120,8 @@ module IsoDoc
|
|
120
120
|
|
121
121
|
def get_eref_linkend(node)
|
122
122
|
link = "[#{anchor_linkend(node, docid_l10n(node["target"] || node["citeas"]))}]"
|
123
|
-
link += eref_localities(node.xpath(ns("./locality")), link)
|
124
|
-
contents = node.children.select { |c| c.name
|
123
|
+
link += eref_localities(node.xpath(ns("./locality | ./localityStack")), link)
|
124
|
+
contents = node.children.select { |c| !%w{locality localityStack}.include? c.name }
|
125
125
|
return link if contents.nil? || contents.empty?
|
126
126
|
Nokogiri::XML::NodeSet.new(node.document, contents).to_xml
|
127
127
|
end
|
@@ -161,10 +161,14 @@ pre {
|
|
161
161
|
}
|
162
162
|
|
163
163
|
.document-stage-band {
|
164
|
-
@include docBand($order: 1, $textLength: 160px, $color:
|
164
|
+
@include docBand($order: 1, $textLength: 160px, $color: white, $fontWeight: 300);
|
165
165
|
}
|
166
166
|
.document-type-band {
|
167
|
-
@include docBand($order: 2, $
|
167
|
+
@include docBand($order: 2, $offset: 180px);
|
168
|
+
|
169
|
+
.document-type {
|
170
|
+
top: 20px;
|
171
|
+
}
|
168
172
|
}
|
169
173
|
|
170
174
|
.logo-wrapper {
|
@@ -316,7 +320,7 @@ ul {
|
|
316
320
|
|
317
321
|
&:before {
|
318
322
|
content: "\2014";
|
319
|
-
display: inline-block;
|
323
|
+
display: inline-block;
|
320
324
|
width: 1em;
|
321
325
|
margin-left: -1.2em;
|
322
326
|
}
|
@@ -365,7 +369,7 @@ p.Biblio, p.NormRef {
|
|
365
369
|
}
|
366
370
|
|
367
371
|
.example {
|
368
|
-
@include exampleBlock(#e1eef1, null, 1.2em, 2em);
|
372
|
+
@include exampleBlock(#e1eef1, null, 1.2em, 2em);
|
369
373
|
|
370
374
|
.example-title {
|
371
375
|
margin-top: 0;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
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-04-
|
11
|
+
date: 2020-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|