asciidoctor-gb 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.hound.yml +3 -0
- data/.oss-guides.rubocop.yml +1077 -0
- data/.rubocop.ribose.yml +65 -0
- data/.rubocop.tb.yml +640 -0
- data/.rubocop.yml +15 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +11 -0
- data/README.adoc +77 -0
- data/Rakefile +6 -0
- data/asciidoctor-gb.gemspec +52 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/asciidoctor/gb/agencies.rb +186 -0
- data/lib/asciidoctor/gb/converter.rb +179 -0
- data/lib/asciidoctor/gb/front.rb +179 -0
- data/lib/asciidoctor/gb/gbconvert.rb +86 -0
- data/lib/asciidoctor/gb/gbstandard.rng +297 -0
- data/lib/asciidoctor/gb/html/blank.png +0 -0
- data/lib/asciidoctor/gb/html/footer.png +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-db.gif +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-db.png +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-db.svg +1 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gb.gif +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gb.png +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gb.svg +1 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gjb.gif +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gjb.png +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gjb.svg +1 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gm.gif +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gm.png +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gm.svg +1 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-jjf.gif +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-jjf.png +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-jjf.svg +1 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.gif +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.png +0 -0
- data/lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.svg +13 -0
- data/lib/asciidoctor/gb/html/gb.css +642 -0
- data/lib/asciidoctor/gb/html/header.html +216 -0
- data/lib/asciidoctor/gb/html/html_gb_intro.html +45 -0
- data/lib/asciidoctor/gb/html/html_gb_titlepage.html +98 -0
- data/lib/asciidoctor/gb/html/htmlstyle.css +187 -0
- data/lib/asciidoctor/gb/html/logo.png +0 -0
- data/lib/asciidoctor/gb/html/word_gb_intro.html +3 -0
- data/lib/asciidoctor/gb/html/word_gb_titlepage.html +234 -0
- data/lib/asciidoctor/gb/html/wordstyle.css +2367 -0
- data/lib/asciidoctor/gb/isodoc.rng +1563 -0
- data/lib/asciidoctor/gb/isostandard.rng +845 -0
- data/lib/asciidoctor/gb/metadata.rb +186 -0
- data/lib/asciidoctor/gb/section_input.rb +168 -0
- data/lib/asciidoctor/gb/section_output.rb +38 -0
- data/lib/asciidoctor/gb/version.rb +5 -0
- data/lib/asciidoctor/gb/xref_gen.rb +25 -0
- data/lib/asciidoctor/gb.rb +7 -0
- data/lib/asciidoctor-gb.rb +4 -0
- metadata +411 -0
@@ -0,0 +1,234 @@
|
|
1
|
+
<p class=MsoNormalUnindented><span lang=EN-US>ICS <a name=ICS></a></span>{{ libraryid_ics }}</p>
|
2
|
+
|
3
|
+
<div style='mso-element:frame;mso-element-wrap:around;mso-element-anchor-vertical:
|
4
|
+
page;mso-element-top:27.55pt;mso-height-rule:exactly'>
|
5
|
+
|
6
|
+
<table cellspacing=0 cellpadding=0 hspace=0 vspace=0 align=left>
|
7
|
+
<tr>
|
8
|
+
<td valign=top align=left style='padding-top:9.0pt;padding-right:9.0pt;
|
9
|
+
padding-bottom:9.0pt;padding-left:9.0pt'>
|
10
|
+
<p class=affffd style='mso-element:frame;mso-element-wrap:around;mso-element-anchor-vertical:
|
11
|
+
page;mso-element-top:27.55pt;mso-height-rule:exactly'><a name=WXFLH></a><span lang=EN-US>L {{ libraryid_l }}</span></p>
|
12
|
+
</td>
|
13
|
+
</tr>
|
14
|
+
</table>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
|
19
|
+
|
20
|
+
<table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=136 height=88
|
21
|
+
align=left>
|
22
|
+
<tr>
|
23
|
+
<td valign=top align=left height=1751 style='padding-top:9.05pt;padding-right:
|
24
|
+
9.05pt;padding-bottom:9.05pt;padding-left:9.05pt'>
|
25
|
+
<p class=af><span lang=EN-US style='mso-no-proof:yes'>{{ standard_logo }}</span></p>
|
26
|
+
</td> </tr>
|
27
|
+
</table>
|
28
|
+
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
|
32
|
+
|
33
|
+
<table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=491 height=49
|
34
|
+
align=left>
|
35
|
+
<tr>
|
36
|
+
<td valign=top align=left height=49 style='padding-top:9.05pt;padding-right:
|
37
|
+
9.05pt;padding-bottom:9.05pt;padding-left:9.05pt'>
|
38
|
+
<p class=afa><span lang=ZH-CN>{{ standard_class }}</span></p>
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
</table>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
|
46
|
+
|
47
|
+
<table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=471 height=62
|
48
|
+
align=left>
|
49
|
+
<tr>
|
50
|
+
<td valign=top align=left height=62 style='padding-top:0cm;padding-right:
|
51
|
+
14.2pt;padding-bottom:0cm;padding-left:14.2pt'>
|
52
|
+
<p class=2><a
|
53
|
+
name=StdNo1></a><span
|
54
|
+
style='mso-bookmark:StdNo1'><span lang=EN-US>{{ docidentifier }}</span></span><span
|
55
|
+
style='mso-bookmark:StdNo1'></span><span style='mso-bookmark:StdNo1'></span><span
|
56
|
+
lang=EN-US style='font-family:SimHei,serif;mso-ascii-font-family:
|
57
|
+
SimHei'>—</span><a name=StdNo2></a><span
|
58
|
+
style='mso-bookmark:StdNo2'></span><span style='mso-bookmark:StdNo2'><span
|
59
|
+
lang=el style='mso-ansi-language:#0400;mso-fareast-language:#0400'>{{ docyear }}</span>
|
60
|
+
{%- if isostandard and gbequivalence == "IDT" -%}
|
61
|
+
/<span style='font-family:SimHei,serif;mso-ascii-font-family:
|
62
|
+
SimHei'>{{ isostandard }}</span>
|
63
|
+
{%- endif -%}
|
64
|
+
<span
|
65
|
+
lang=EN-US></span></span><span
|
66
|
+
style='mso-bookmark:StdNo2'></span></p>
|
67
|
+
{% if obsoletes %}
|
68
|
+
<p class=supersedes style='margin-top:0cm;'>
|
69
|
+
{% if obsoletes_part %}
|
70
|
+
部分代替
|
71
|
+
{% else %}
|
72
|
+
代替
|
73
|
+
{% endif %}
|
74
|
+
{{ obsoletes }}
|
75
|
+
</p>
|
76
|
+
{% endif %}
|
77
|
+
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0
|
78
|
+
style='border-collapse:collapse;mso-table-layout-alt:fixed;border:none;
|
79
|
+
mso-border-alt:solid black .5pt;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
|
80
|
+
mso-border-insideh:.5pt solid black;mso-border-insidev:.5pt solid black'>
|
81
|
+
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
|
82
|
+
<td width=624 valign=top style='width:467.8pt;border:none;padding:0cm 5.4pt 0cm 5.4pt'>
|
83
|
+
<p class=aff><!--[if gte vml 1]><v:rect id="DT" o:spid="_x0000_s1030"
|
84
|
+
alt="" style='position:absolute;left:0;text-align:left;margin-left:372.8pt;
|
85
|
+
margin-top:2.7pt;width:90pt;height:18pt;z-index:-251660800;
|
86
|
+
mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
|
87
|
+
mso-height-percent:0;mso-width-percent:0;mso-height-percent:0;
|
88
|
+
v-text-anchor:top' stroked="f"/><![endif]--><![if !vml]><span
|
89
|
+
style='mso-ignore:vglayout;position:relative;z-index:-1895827968'><span
|
90
|
+
style='left:0px;position:absolute;left:297px;top:-40px;width:90px;
|
91
|
+
height:18px'><img width=90 height=18
|
92
|
+
src="blank.png" v:shapes="DT"></span></span><![endif]><a
|
93
|
+
name=DT></a><span lang=EN-US><span style='mso-spacerun:yes'> </span></span></p>
|
94
|
+
</td>
|
95
|
+
</tr>
|
96
|
+
</table>
|
97
|
+
<p class=affc><a name=StdName></a><span
|
98
|
+
style='mso-bookmark:StdName'><span lang=ZH-CN>{{ docmaintitlezh }} {{ docsubtitlezh }} {{ docparttitlezh }}</span><span
|
99
|
+
lang=EN-US></span></span><span
|
100
|
+
style='mso-bookmark:StdName'></span></p>
|
101
|
+
<p class=affd><a name=StdEnglishName></a><span
|
102
|
+
style='mso-bookmark:StdEnglishName'><span lang=EN-US>{{ docmaintitleen }} {{ docsubtitleen }} {{ docparttitleen }}</span></span><span
|
103
|
+
style='mso-bookmark:StdEnglishName'></span></p>
|
104
|
+
{% if isostandard %}
|
105
|
+
<p class=a0>
|
106
|
+
<span class="iso-document-code">({{ isostandard }}</span>
|
107
|
+
{% if isostandardtitle != "[not supplied]" %}
|
108
|
+
<span class="iso-title-first">{{ isostandardtitle }}</span>
|
109
|
+
{% endif %}
|
110
|
+
<span class="join">,</span>
|
111
|
+
<span class="iso-equivalence-code">{{ gbequivalence }})</span>
|
112
|
+
</p>
|
113
|
+
{% endif %}
|
114
|
+
|
115
|
+
{% if draft %}
|
116
|
+
<p class=a0><a name=YZBS></a><span
|
117
|
+
style='mso-bookmark:YZBS'><span lang=ZH-CN style='mso-no-proof:yes'>在提交反馈意见时,请将您知道的相关专利连同支持文件一并附上。</span><span
|
118
|
+
lang=EN-US></span></span><span
|
119
|
+
style='mso-bookmark:YZBS'></span></p>
|
120
|
+
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0
|
121
|
+
style='border-collapse:collapse;mso-table-layout-alt:fixed;border:none;
|
122
|
+
mso-border-alt:solid black .5pt;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
|
123
|
+
mso-border-insideh:.5pt solid black;mso-border-insidev:.5pt solid black'>
|
124
|
+
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
|
125
|
+
<td width=657 valign=top style='width:492.75pt;border:none;padding:0cm 5.4pt 0cm 5.4pt'>
|
126
|
+
<p class=affe><span lang=ZH-CN>(征求意见稿)</span><!--[if gte vml 1]><v:rect
|
127
|
+
id="RQ" o:spid="_x0000_s1029" alt="" style='position:absolute;left:0;
|
128
|
+
text-align:left;margin-left:173.3pt;margin-top:45.15pt;width:150pt;
|
129
|
+
height:20pt;z-index:-251658752;mso-wrap-style:square;mso-wrap-edited:f;
|
130
|
+
mso-width-percent:0;mso-height-percent:0;
|
131
|
+
mso-position-horizontal-relative:text;mso-position-vertical-relative:text;
|
132
|
+
mso-width-percent:0;mso-height-percent:0;v-text-anchor:top' stroked="f">
|
133
|
+
<w:anchorlock/>
|
134
|
+
</v:rect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
|
135
|
+
position:relative;z-index:-1895825920'><span style='left:0px;position:absolute;
|
136
|
+
left:162px;top:-53px;width:150px;height:20px'><!--<img width=150 height=20
|
137
|
+
src="gbt%2020984-draft.fld/image003.png" v:shapes="RQ">--></span></span><![endif]><!--[if gte vml 1]><v:rect
|
138
|
+
id="LB" o:spid="_x0000_s1028" alt="" style='position:absolute;left:0;
|
139
|
+
text-align:left;margin-left:193.3pt;margin-top:20.15pt;width:100pt;
|
140
|
+
height:24pt;z-index:-251659776;mso-wrap-style:square;mso-wrap-edited:f;
|
141
|
+
mso-width-percent:0;mso-height-percent:0;
|
142
|
+
mso-position-horizontal-relative:text;mso-position-vertical-relative:text;
|
143
|
+
mso-width-percent:0;mso-height-percent:0;v-text-anchor:top' stroked="f"/><![endif]--><![if !vml]><span
|
144
|
+
style='mso-ignore:vglayout;position:relative;z-index:-1895826944'><span
|
145
|
+
style='left:0px;position:absolute;left:182px;top:-78px;width:100px;
|
146
|
+
height:24px'><!--<img width=100 height=24
|
147
|
+
src="gbt%2020984-draft.fld/image004.png" v:shapes="LB">--></span></span><![endif]></p>
|
148
|
+
</td>
|
149
|
+
</tr>
|
150
|
+
{% if revdate %}
|
151
|
+
<tr style='mso-yfti-irow:1;mso-yfti-lastrow:yes'>
|
152
|
+
<td width=657 valign=top style='width:492.75pt;border:none;padding:0cm 5.4pt 0cm 5.4pt'>
|
153
|
+
<p class=afff><a name=WCRQ></a><span
|
154
|
+
style='mso-bookmark:WCRQ'><span lang=ZH-CN>(本稿完成日期:</span><span lang=EN-US>{{ revdate }})</span><span
|
155
|
+
lang=EN-US></span></span><span
|
156
|
+
style='mso-bookmark:WCRQ'></span></p>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
{% endif %}
|
160
|
+
</table>
|
161
|
+
{% endif %}
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
</table>
|
165
|
+
|
166
|
+
</div>
|
167
|
+
|
168
|
+
<div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
|
169
|
+
|
170
|
+
<table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=3995 height=833
|
171
|
+
align=left>
|
172
|
+
<tr>
|
173
|
+
<td valign=top align=left height=833 style='padding-top:9.05pt;padding-right:
|
174
|
+
0cm;padding-bottom:9.05pt;padding-left:0cm'>
|
175
|
+
<p class=afffff4><a name=FY></a><span
|
176
|
+
style='mso-bookmark:FY'><span lang=EN-US style='font-family:SimHei;
|
177
|
+
mso-hansi-font-family:SimHei'>{{ publisheddate }}</span></span>
|
178
|
+
<span
|
179
|
+
lang=ZH-CN style='font-family:SimHei;mso-ascii-font-family:SimHei;
|
180
|
+
mso-hansi-font-family:SimHei'>发布</span><!--[if gte vml 1]><v:line
|
181
|
+
id="直线_x0020_10" o:spid="_x0000_s1027" alt="" style='position:absolute;
|
182
|
+
z-index:251658752;mso-wrap-edited:f;mso-width-percent:0;
|
183
|
+
mso-height-percent:0;mso-position-horizontal-relative:text;
|
184
|
+
mso-position-vertical-relative:page;mso-width-percent:0;
|
185
|
+
mso-height-percent:0' from="-.05pt,728.5pt" to="481.85pt,728.5pt">
|
186
|
+
<w:wrap anchory="page"/>
|
187
|
+
<w:anchorlock/>
|
188
|
+
</v:line><![endif]--></p>
|
189
|
+
</td>
|
190
|
+
</tr>
|
191
|
+
</table>
|
192
|
+
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
|
196
|
+
|
197
|
+
<table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=3995 height=833
|
198
|
+
align=left>
|
199
|
+
<tr>
|
200
|
+
<td valign=top align=left height=833 style='padding-top:9.05pt;padding-right:
|
201
|
+
0cm;padding-bottom:9.05pt;padding-left:0cm'>
|
202
|
+
<p class=afffff5><a name=SY></a><span
|
203
|
+
style='mso-bookmark:SY'><span lang=EN-US style='font-family:SimHei;
|
204
|
+
mso-hansi-font-family:SimHei'>{{ activateddate }}</span></span>
|
205
|
+
<span
|
206
|
+
lang=ZH-CN style='font-family:SimHei;mso-ascii-font-family:SimHei;
|
207
|
+
mso-hansi-font-family:SimHei'>实施</span></p>
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
</table>
|
211
|
+
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
|
215
|
+
|
216
|
+
<table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=8061 height=1496
|
217
|
+
align=left>
|
218
|
+
<tr>
|
219
|
+
<td valign=top align=left height=1496 style='padding-top:9.05pt;padding-right:
|
220
|
+
6.25pt;padding-bottom:9.05pt;padding-left:6.25pt'>
|
221
|
+
<p class=aff7><span lang=ZH-CN style='mso-no-proof:yes'>{{ standard_agency_formatted }}</span></p>
|
222
|
+
</td>
|
223
|
+
</tr>
|
224
|
+
</table>
|
225
|
+
|
226
|
+
</div>
|
227
|
+
|
228
|
+
<p class=ad><!--[if gte vml 1]><o:wrapblock><v:line id="直线_x0020_11" o:spid="_x0000_s1026"
|
229
|
+
alt="" style='position:absolute;left:0;text-align:left;z-index:251659776;
|
230
|
+
mso-wrap-edited:f;mso-width-percent:0;mso-height-percent:0;
|
231
|
+
mso-width-percent:0;mso-height-percent:0' from="-.05pt,184.25pt" to="481.85pt,184.25pt"/>
|
232
|
+
<![endif]--><!--[if gte vml 1]></o:wrapblock><![endif]--></p>
|
233
|
+
|
234
|
+
</div>
|