metanorma-gb 1.3.14 → 1.3.15
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/converter.rb +3 -11
- data/lib/asciidoctor/gb/gbstandard.rng +2 -2
- data/lib/asciidoctor/gb/isostandard.rng +1 -0
- data/lib/asciidoctor/gb/section_input.rb +22 -0
- data/lib/isodoc/gb/gbbaseconvert.rb +4 -0
- data/lib/isodoc/gb/gbconvert.rb +0 -1
- data/lib/isodoc/gb/gbhtmlconvert.rb +5 -1
- data/lib/isodoc/gb/gbwordconvert.rb +4 -15
- data/lib/isodoc/gb/html/header.html +64 -5
- data/lib/isodoc/gb/html/wordstyle.scss +51 -8
- 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: cb3b9977df2213d9d939aac3060ac0117f7e5846025681d09b533a53f03acf1e
|
4
|
+
data.tar.gz: b83c732d316e625225bb22202c682735601d01a4bef249c5009e70bf6e51aa70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 921ad993b51bf64ab8378c38adc3fc8e7bead72eb15aa98350082e0b952773dfe54e455c0d149a37bba567d55fa294d09ba1ddc2a92fee35cceb1a2f87cecd5a
|
7
|
+
data.tar.gz: 9f31546e62259e8ce754e08523814a7a29998158fce6aa9bab7240cd104d5e44e3351e1b19972ad25978363d4c3afc6456e7c873469563782750120c6adc3b04
|
@@ -11,26 +11,18 @@ require "fileutils"
|
|
11
11
|
|
12
12
|
module Asciidoctor
|
13
13
|
module Gb
|
14
|
-
GB_NAMESPACE = "http://riboseinc.com/gbstandard"
|
15
|
-
|
16
14
|
# A {Converter} implementation that generates GB output, and a document
|
17
15
|
# schema encapsulation of the document for validation
|
18
16
|
class Converter < ISO::Converter
|
17
|
+
XML_ROOT_TAG = "gb-standard".freeze
|
18
|
+
XML_NAMESPACE = "https://www.metanorma.com/ns/gb".freeze
|
19
19
|
|
20
20
|
register_for "gb"
|
21
21
|
|
22
22
|
def makexml(node)
|
23
|
-
result = ["<?xml version='1.0' encoding='UTF-8'?>\n<gb-standard>"]
|
24
23
|
@draft = node.attributes.has_key?("draft")
|
25
24
|
@keepboilerplate = node.attributes.has_key?("keep-boilerplate")
|
26
|
-
|
27
|
-
result << noko { |ixml| middle node, ixml }
|
28
|
-
result << "</gb-standard>"
|
29
|
-
result = textcleanup(result)
|
30
|
-
ret1 = cleanup(Nokogiri::XML(result))
|
31
|
-
validate(ret1) unless @novalid
|
32
|
-
ret1.root.add_namespace(nil, GB_NAMESPACE)
|
33
|
-
ret1
|
25
|
+
super
|
34
26
|
end
|
35
27
|
|
36
28
|
def gb_attributes(node)
|
@@ -1,6 +1,6 @@
|
|
1
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
|
-
<!-- default namespace = "
|
2
|
+
<grammar ns="https://www.metanorma.com/ns/gb" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
3
|
+
<!-- default namespace = "https://www.metanorma.com/ns/gb" -->
|
4
4
|
<!--
|
5
5
|
Currently we inherit from a namespaced grammar, isostandard. Unless we inherit from isodoc,
|
6
6
|
we cannot have a new default namespace: we will end up with a grammar with two different
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
3
|
+
<!-- default namespace isostandard = "https://www.metanorma.com/ns/iso" -->
|
3
4
|
<include href="isodoc.rng">
|
4
5
|
<start>
|
5
6
|
<ref name="iso-standard"/>
|
@@ -7,6 +7,7 @@ module Asciidoctor
|
|
7
7
|
# schema encapsulation of the document for validation
|
8
8
|
class Converter < ISO::Converter
|
9
9
|
|
10
|
+
=begin
|
10
11
|
# subclause contains subclauses
|
11
12
|
def term_def_subclause_parse(attrs, xml, node)
|
12
13
|
return clause_parse(attrs, xml, node) if node.role == "nonterm"
|
@@ -21,7 +22,27 @@ module Asciidoctor
|
|
21
22
|
xml_section << node.content
|
22
23
|
end
|
23
24
|
end
|
25
|
+
=end
|
26
|
+
|
27
|
+
def sectiontype_streamline(ret)
|
28
|
+
case ret
|
29
|
+
when "引言" then "introduction"
|
30
|
+
when "范围" then "scope"
|
31
|
+
when "规范性引用文件" then "normative references"
|
32
|
+
when "术语和定义", "术语、定义、符号、代号和缩略语"
|
33
|
+
"terms and definitions"
|
34
|
+
when "符号、代号和缩略语" then "symbols and abbreviated terms"
|
35
|
+
when "参考文献" then "bibliography"
|
36
|
+
else
|
37
|
+
super
|
38
|
+
end
|
39
|
+
end
|
24
40
|
|
41
|
+
def appendix_parse(attrs, xml, node)
|
42
|
+
clause_parse(attrs, xml, node)
|
43
|
+
end
|
44
|
+
|
45
|
+
=begin
|
25
46
|
def section(node)
|
26
47
|
a = section_attributes(node)
|
27
48
|
noko do |xml|
|
@@ -59,6 +80,7 @@ module Asciidoctor
|
|
59
80
|
end
|
60
81
|
end.join("\n")
|
61
82
|
end
|
83
|
+
=end
|
62
84
|
|
63
85
|
=begin
|
64
86
|
# spec of permissible section sequence
|
data/lib/isodoc/gb/gbconvert.rb
CHANGED
@@ -57,7 +57,6 @@ module IsoDoc
|
|
57
57
|
"<span style='font-weight:bold'>#{local}</span>"
|
58
58
|
end
|
59
59
|
|
60
|
-
|
61
60
|
def format_logo1(logo, prefix, scope, localdir)
|
62
61
|
local = local_logo_suffix(scope)
|
63
62
|
return "<img class='logo' width='113' height='56' src='#{@standardlogoimg}' alt='#{prefix}'></img>"\
|
@@ -40,12 +40,16 @@ module IsoDoc
|
|
40
40
|
meta = @meta.get.merge(@labels)
|
41
41
|
logo = @common.format_logo(meta[:gbprefix], meta[:gbscope], format, @localdir)
|
42
42
|
logofile = @meta.standard_logo(meta[:gbprefix])
|
43
|
-
docxml = termref_resolve(docxml)
|
44
43
|
meta[:standard_agency_formatted] =
|
45
44
|
@common.format_agency(meta[:standard_agency], format, @localdir)
|
46
45
|
meta[:standard_logo] = logo
|
46
|
+
|
47
47
|
template = Liquid::Template.parse(docxml)
|
48
48
|
template.render(meta.map { |k, v| [k.to_s, v] }.to_h)
|
49
|
+
|
50
|
+
#template = liquid(docxml)
|
51
|
+
#template.render(meta.map { |k, v| [k.to_s, empty2nil(v)] }.to_h).
|
52
|
+
#gsub('<', '<').gsub('>', '>').gsub('&', '&')
|
49
53
|
end
|
50
54
|
|
51
55
|
def annex_name(annex, name, div)
|
@@ -53,18 +53,8 @@ module IsoDoc
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def word_cleanup(docxml)
|
56
|
-
word_preface(docxml)
|
57
|
-
word_annex_cleanup(docxml)
|
58
56
|
@cleanup.title_cleanup(docxml.at('//div[@class="WordSection2"]'))
|
59
|
-
|
60
|
-
word_table_separator(docxml)
|
61
|
-
word_admonition_images(docxml)
|
62
|
-
word_list_continuations(docxml)
|
63
|
-
word_example_cleanup(docxml)
|
64
|
-
word_pseudocode_cleanup(docxml)
|
65
|
-
word_image_caption(docxml)
|
66
|
-
authority_cleanup(docxml)
|
67
|
-
docxml
|
57
|
+
super
|
68
58
|
end
|
69
59
|
|
70
60
|
def example_table_parse(node, out)
|
@@ -84,13 +74,12 @@ module IsoDoc
|
|
84
74
|
meta = @meta.get.merge(@labels)
|
85
75
|
logo = @common.format_logo(meta[:gbprefix], meta[:gbscope], format, @localdir)
|
86
76
|
logofile = @meta.standard_logo(meta[:gbprefix])
|
87
|
-
#@files_to_delete << logofile + ".gif" unless logofile.nil?
|
88
|
-
docxml = termref_resolve(docxml)
|
89
77
|
meta[:standard_agency_formatted] =
|
90
78
|
@common.format_agency(meta[:standard_agency], format, @localdir)
|
91
79
|
meta[:standard_logo] = logo
|
92
|
-
template =
|
93
|
-
|
80
|
+
template = liquid(docxml)
|
81
|
+
template.render(meta.map { |k, v| [k.to_s, empty2nil(v)] }.to_h).
|
82
|
+
gsub('<', '<').gsub('>', '>').gsub('&', '&')
|
94
83
|
end
|
95
84
|
|
96
85
|
def annex_name(annex, name, div)
|
@@ -109,25 +109,34 @@ style='mso-tab-count:1'> </span></span></p>
|
|
109
109
|
</div>
|
110
110
|
|
111
111
|
<div style='mso-element:header' id=eh2>
|
112
|
-
|
113
112
|
<p class=aff1 align=left style='text-align:left'><span lang=EN-US
|
114
113
|
style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docidentifier }}</span><span
|
115
114
|
lang=ZH-CN style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>—</span><span
|
116
115
|
lang=EN-US style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}<o:p></o:p></span></p>
|
116
|
+
</div>
|
117
117
|
|
118
|
+
<div style='mso-element:header' id=eh2l>
|
119
|
+
<p class=aff1 align=left style='text-align:left'><span lang=EN-US
|
120
|
+
style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docidentifier }}</span><span
|
121
|
+
lang=ZH-CN style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>—</span><span
|
122
|
+
lang=EN-US style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}<o:p></o:p></span></p>
|
118
123
|
</div>
|
119
124
|
|
120
125
|
<div style='mso-element:header' id=h2>
|
121
|
-
|
122
126
|
<p class=aff1><span lang=EN-US style='font-family:SimHei;mso-hansi-font-family:
|
123
127
|
"Times New Roman"'>{{ docidentifier }}</span><span lang=ZH-CN style='font-family:SimHei;
|
124
128
|
mso-hansi-font-family:"Times New Roman"'>—</span><span lang=EN-US
|
125
129
|
style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}<o:p></o:p></span></p>
|
130
|
+
</div>
|
126
131
|
|
132
|
+
<div style='mso-element:header' id=h2l>
|
133
|
+
<p class=aff1><span lang=EN-US style='font-family:SimHei;mso-hansi-font-family:
|
134
|
+
"Times New Roman"'>{{ docidentifier }}</span><span lang=ZH-CN style='font-family:SimHei;
|
135
|
+
mso-hansi-font-family:"Times New Roman"'>—</span><span lang=EN-US
|
136
|
+
style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}<o:p></o:p></span></p>
|
127
137
|
</div>
|
128
138
|
|
129
139
|
<div style='mso-element:footer' id=ef2>
|
130
|
-
|
131
140
|
<p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
|
132
141
|
mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
|
133
142
|
mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
|
@@ -139,11 +148,23 @@ style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}
|
|
139
148
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
140
149
|
style='mso-element:field-end'></span></span></span><![endif]--><span
|
141
150
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
151
|
+
</div>
|
142
152
|
|
153
|
+
<div style='mso-element:footer' id=ef2l>
|
154
|
+
<p class=MsoFooterLandscape style='mso-element:frame;mso-element-wrap:none;
|
155
|
+
mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
|
156
|
+
mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
|
157
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
158
|
+
style='mso-element:field-begin'></span><span
|
159
|
+
style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
|
160
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
161
|
+
style='mso-no-proof:yes'>IV</span></span></span><!--[if supportFields]><span
|
162
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
163
|
+
style='mso-element:field-end'></span></span></span><![endif]--><span
|
164
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
143
165
|
</div>
|
144
166
|
|
145
167
|
<div style='mso-element:footer' id=f2>
|
146
|
-
|
147
168
|
<p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
|
148
169
|
mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
|
149
170
|
mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
|
@@ -155,7 +176,20 @@ style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}
|
|
155
176
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
156
177
|
style='mso-element:field-end'></span></span></span><![endif]--><span
|
157
178
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
179
|
+
</div>
|
158
180
|
|
181
|
+
<div style='mso-element:footer' id=f2l>
|
182
|
+
<p class=MsoFooterLandscape style='mso-element:frame;mso-element-wrap:none;
|
183
|
+
mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
|
184
|
+
mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
|
185
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
186
|
+
style='mso-element:field-begin'></span><span
|
187
|
+
style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
|
188
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
189
|
+
style='mso-no-proof:yes'>III</span></span></span><!--[if supportFields]><span
|
190
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
191
|
+
style='mso-element:field-end'></span></span></span><![endif]--><span
|
192
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
159
193
|
</div>
|
160
194
|
|
161
195
|
<div style='mso-element:header' id=fh2>
|
@@ -181,7 +215,6 @@ style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}
|
|
181
215
|
</div>
|
182
216
|
|
183
217
|
<div style='mso-element:footer' id=ef3>
|
184
|
-
|
185
218
|
<p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
|
186
219
|
mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
|
187
220
|
mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
|
@@ -193,7 +226,20 @@ style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}
|
|
193
226
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
194
227
|
style='mso-element:field-end'></span></span></span><![endif]--><span
|
195
228
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
229
|
+
</div>
|
196
230
|
|
231
|
+
<div style='mso-element:footer' id=ef3l>
|
232
|
+
<p class=MsoFooterLandscape style='mso-element:frame;mso-element-wrap:none;
|
233
|
+
mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
|
234
|
+
mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
|
235
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
236
|
+
style='mso-element:field-begin'></span><span
|
237
|
+
style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
|
238
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
239
|
+
style='mso-no-proof:yes'>7</span></span></span><!--[if supportFields]><span
|
240
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
241
|
+
style='mso-element:field-end'></span></span></span><![endif]--><span
|
242
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
197
243
|
</div>
|
198
244
|
|
199
245
|
<div style='mso-element:footer' id=f3>
|
@@ -208,7 +254,20 @@ style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}
|
|
208
254
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
209
255
|
style='mso-element:field-end'></span></span></span><![endif]--><span
|
210
256
|
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
257
|
+
</div>
|
211
258
|
|
259
|
+
<div style='mso-element:footer' id=f3l>
|
260
|
+
<p class=MsoFooterLandscape style='mso-element:frame;mso-element-wrap:none;
|
261
|
+
mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
|
262
|
+
mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
|
263
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
264
|
+
style='mso-element:field-begin'></span><span
|
265
|
+
style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
|
266
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
267
|
+
style='mso-no-proof:yes'>7</span></span></span><!--[if supportFields]><span
|
268
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
|
269
|
+
style='mso-element:field-end'></span></span></span><![endif]--><span
|
270
|
+
class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
|
212
271
|
</div>
|
213
272
|
|
214
273
|
</body>
|
@@ -113,10 +113,10 @@ div.WordSection1
|
|
113
113
|
margin:2.50cm 2.0cm 2.0cm 2.50cm;
|
114
114
|
mso-header-margin:2.50cm;
|
115
115
|
mso-footer-margin:1.50cm;
|
116
|
-
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
117
|
-
mso-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
118
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
119
|
-
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
116
|
+
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2l;
|
117
|
+
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2l;
|
118
|
+
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef2l;
|
119
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f2l;
|
120
120
|
mso-paper-source:0;
|
121
121
|
layout-grid:15.6pt;}
|
122
122
|
@page WordSection2P
|
@@ -149,10 +149,10 @@ div.WordSection2
|
|
149
149
|
margin:2.50cm 2.0cm 2.0cm 2.50cm;
|
150
150
|
mso-header-margin:2.50cm;
|
151
151
|
mso-footer-margin:1.50cm;
|
152
|
-
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
153
|
-
mso-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
154
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
155
|
-
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
152
|
+
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2l;
|
153
|
+
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2l;
|
154
|
+
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef3l;
|
155
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3l;
|
156
156
|
mso-paper-source:0;
|
157
157
|
layout-grid:15.6pt;}
|
158
158
|
@page WordSection3P
|
@@ -1105,6 +1105,26 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader
|
|
1105
1105
|
mso-ansi-language:EN-US;
|
1106
1106
|
mso-fareast-language:ZH-CN;
|
1107
1107
|
mso-no-proof:yes;}
|
1108
|
+
p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape
|
1109
|
+
{
|
1110
|
+
mso-style-unhide:no;
|
1111
|
+
mso-style-parent:"";
|
1112
|
+
mso-style-next:Normal;
|
1113
|
+
margin-top:0cm;
|
1114
|
+
margin-right:0cm;
|
1115
|
+
margin-bottom:11.0pt;
|
1116
|
+
margin-left:0cm;
|
1117
|
+
text-align:right;
|
1118
|
+
mso-pagination:widow-orphan;
|
1119
|
+
tab-stops:center 353.0pt right 705.9pt;
|
1120
|
+
font-size:9.0pt;
|
1121
|
+
mso-font-kerning:1.0pt;
|
1122
|
+
font-family:$bodyfont;
|
1123
|
+
mso-hansi-font-family:$bodyfont;
|
1124
|
+
mso-bidi-font-family:$bodyfont;
|
1125
|
+
mso-ansi-language:EN-US;
|
1126
|
+
mso-fareast-language:ZH-CN;
|
1127
|
+
mso-no-proof:yes;}
|
1108
1128
|
p.MsoFooter, li.MsoFooter, div.MsoFooter
|
1109
1129
|
{mso-style-name:标准书脚_奇数页;
|
1110
1130
|
mso-style-unhide:no;
|
@@ -1128,6 +1148,29 @@ p.MsoFooter, li.MsoFooter, div.MsoFooter
|
|
1128
1148
|
mso-bidi-font-family:$bodyfont;
|
1129
1149
|
mso-ansi-language:EN-US;
|
1130
1150
|
mso-fareast-language:ZH-CN;}
|
1151
|
+
p.MsoFooterLandscape, li.MsoFooterLandscape, div.MsoFooterLandscape
|
1152
|
+
{
|
1153
|
+
mso-style-unhide:no;
|
1154
|
+
mso-style-parent:"";
|
1155
|
+
margin-top:6.0pt;
|
1156
|
+
margin-right:10.5pt;
|
1157
|
+
margin-bottom:0cm;
|
1158
|
+
margin-left:0cm;
|
1159
|
+
margin-bottom:.0001pt;
|
1160
|
+
mso-para-margin-top:0cm;
|
1161
|
+
mso-para-margin-right:1.0gd;
|
1162
|
+
mso-para-margin-bottom:0cm;
|
1163
|
+
mso-para-margin-left:0cm;
|
1164
|
+
mso-para-margin-bottom:.0001pt;
|
1165
|
+
text-align:right;
|
1166
|
+
mso-pagination:widow-orphan;
|
1167
|
+
font-size:9.0pt;
|
1168
|
+
mso-font-kerning:1.0pt;
|
1169
|
+
font-family:$bodyfont;
|
1170
|
+
mso-hansi-font-family:$bodyfont;
|
1171
|
+
mso-bidi-font-family:$bodyfont;
|
1172
|
+
mso-ansi-language:EN-US;
|
1173
|
+
mso-fareast-language:ZH-CN;}
|
1131
1174
|
p.a1, li.a1, div.a1
|
1132
1175
|
{mso-style-name:标准书脚_奇数页; // NAME: Standard Footer, Odd pages
|
1133
1176
|
mso-style-unhide:no;
|
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.3.
|
4
|
+
version: 1.3.15
|
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-
|
11
|
+
date: 2020-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|