asciidoctor-gb 0.1.5 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.tb.yml +20 -10
  3. data/LICENSE +25 -0
  4. data/README.adoc +262 -34
  5. data/asciidoctor-gb.gemspec +2 -1
  6. data/bin/rspec +18 -0
  7. data/lib/asciidoctor/gb/biblio.rng +602 -0
  8. data/lib/asciidoctor/gb/converter.rb +104 -70
  9. data/lib/asciidoctor/gb/front.rb +109 -61
  10. data/lib/asciidoctor/gb/gbstandard.rng +135 -31
  11. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.gif +0 -0
  12. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.png +0 -0
  13. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.svg +980 -0
  14. data/lib/asciidoctor/gb/html/{gb.css → gb.scss} +133 -219
  15. data/lib/asciidoctor/gb/html/html_gb_intro.html +1 -37
  16. data/lib/asciidoctor/gb/html/html_gb_titlepage.html +6 -5
  17. data/lib/asciidoctor/gb/html/{htmlstyle.css → htmlstyle.scss} +85 -3
  18. data/lib/asciidoctor/gb/html/word_gb_intro.html +1 -1
  19. data/lib/asciidoctor/gb/html/word_gb_titlepage.html +320 -166
  20. data/lib/asciidoctor/gb/html/{wordstyle.css → wordstyle.scss} +605 -429
  21. data/lib/asciidoctor/gb/isodoc.rng +36 -564
  22. data/lib/asciidoctor/gb/isostandard.rng +198 -91
  23. data/lib/asciidoctor/gb/section_input.rb +21 -56
  24. data/lib/asciidoctor/gb/validate.rb +115 -0
  25. data/lib/asciidoctor/gb/version.rb +1 -1
  26. data/lib/asciidoctor-gb.rb +2 -1
  27. data/lib/isodoc/gb/agencies.rb +327 -0
  28. data/lib/isodoc/gb/block_output.rb +86 -0
  29. data/lib/isodoc/gb/gbcleanup.rb +87 -0
  30. data/lib/isodoc/gb/gbconvert.rb +153 -0
  31. data/lib/isodoc/gb/gbwordconvert.rb +89 -0
  32. data/lib/isodoc/gb/html/blank.png +0 -0
  33. data/lib/isodoc/gb/html/footer.png +0 -0
  34. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.gif +0 -0
  35. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.png +0 -0
  36. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.svg +980 -0
  37. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.gif +0 -0
  38. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.png +0 -0
  39. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.svg +1 -0
  40. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.gif +0 -0
  41. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.png +0 -0
  42. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.svg +1 -0
  43. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.gif +0 -0
  44. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.png +0 -0
  45. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.svg +1 -0
  46. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.gif +0 -0
  47. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.png +0 -0
  48. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.svg +1 -0
  49. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.gif +0 -0
  50. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.png +0 -0
  51. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.svg +1 -0
  52. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.gif +0 -0
  53. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.png +0 -0
  54. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.svg +13 -0
  55. data/lib/isodoc/gb/html/gb.scss +556 -0
  56. data/lib/isodoc/gb/html/header.html +216 -0
  57. data/lib/isodoc/gb/html/html_gb_intro.html +9 -0
  58. data/lib/isodoc/gb/html/html_gb_titlepage.html +99 -0
  59. data/lib/isodoc/gb/html/htmlstyle.scss +269 -0
  60. data/lib/isodoc/gb/html/logo.png +0 -0
  61. data/lib/isodoc/gb/html/scripts.html +71 -0
  62. data/lib/isodoc/gb/html/word_gb_intro.html +3 -0
  63. data/lib/isodoc/gb/html/word_gb_titlepage.html +388 -0
  64. data/lib/isodoc/gb/html/wordstyle.scss +2543 -0
  65. data/lib/isodoc/gb/i18n-en.yaml +12 -0
  66. data/lib/isodoc/gb/i18n-zh-Hans.yaml +12 -0
  67. data/lib/isodoc/gb/i18n.rb +20 -0
  68. data/lib/isodoc/gb/metadata.rb +216 -0
  69. data/lib/{asciidoctor → isodoc}/gb/section_output.rb +22 -4
  70. data/lib/isodoc/gb/xref_gen.rb +17 -0
  71. metadata +75 -15
  72. data/lib/asciidoctor/gb/agencies.rb +0 -186
  73. data/lib/asciidoctor/gb/gbconvert.rb +0 -86
  74. data/lib/asciidoctor/gb/metadata.rb +0 -186
  75. data/lib/asciidoctor/gb/xref_gen.rb +0 -25
@@ -0,0 +1,12 @@
1
+ publicationdate_lbl: Issuance Date
2
+ implementationdate_lbl: Implementation Date
3
+ supercedes_lbl: Supercedes
4
+ partly_supercedes_lbl: Partly Supercedes
5
+ patent_request: When submitting feedback, please attach any relevant patents that you are aware of, together with supporting documents.
6
+ completion_date: 'Completion date for this manuscript: '
7
+ PRC: "People's Republic of China "
8
+ industry_standard: " Industry Standard"
9
+ local_standard: " Local Standard"
10
+ local_issuer: " Quality and Technical Inspection Bureau"
11
+ enterprise_standard: " Enterprise Standard"
12
+ social_standard: Social Standard
@@ -0,0 +1,12 @@
1
+ publicationdate_lbl: 发布
2
+ implementationdate_lbl: 实施
3
+ supercedes_lbl: 代替
4
+ partly_supercedes_lbl: 部分代替
5
+ patent_request: 在提交反馈意见时,请将您知道的相关专利连同支持文件一并附上。
6
+ completion_date: 本稿完成日期:
7
+ PRC: 中华人民共和国
8
+ industry_standard: 行业标准
9
+ local_standard: 地方标准
10
+ local_issuer: 质量技术检测局
11
+ enterprise_standard: 企业标准
12
+ social_standard: 团体标准
@@ -0,0 +1,20 @@
1
+ require "yaml"
2
+
3
+ module IsoDoc
4
+ module Gb
5
+ class Convert < IsoDoc::Convert
6
+ def i18n_init(lang, script)
7
+ super
8
+ y = if lang == "en"
9
+ YAML.load_file(File.join(File.dirname(__FILE__), "i18n-en.yaml"))
10
+ elsif lang == "zh" && script == "Hans"
11
+ YAML.load_file(File.join(File.dirname(__FILE__),
12
+ "i18n-zh-Hans.yaml"))
13
+ else
14
+ YAML.load_file(File.join(File.dirname(__FILE__), "i18n-zh-Hans.yaml"))
15
+ end
16
+ @labels = @labels.merge(y)
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,216 @@
1
+ require "isodoc"
2
+ require "twitter_cldr"
3
+
4
+ module IsoDoc
5
+ module Gb
6
+ # A {Converter} implementation that generates GB output, and a document
7
+ # schema encapsulation of the document for validation
8
+ class Convert < IsoDoc::Convert
9
+ def init_metadata
10
+ super
11
+ set_metadata(:docmaintitlezh, "")
12
+ set_metadata(:docsubtitlezh, "XXXX")
13
+ set_metadata(:docparttitlezh, "")
14
+ set_metadata(:docmaintitleen, "")
15
+ set_metadata(:docsubtitleen, "XXXX")
16
+ set_metadata(:docparttitleen, "")
17
+ set_metadata(:gbequivalence, "")
18
+ set_metadata(:isostandard, nil)
19
+ set_metadata(:isostandardtitle, "")
20
+ set_metadata(:doctitle, "XXXX")
21
+ set_metadata(:obsoletes, nil)
22
+ set_metadata(:obsoletes_part, nil)
23
+ end
24
+
25
+ def title(isoxml, _out)
26
+ intro = isoxml.at(ns("//title-intro[@language='zh']"))
27
+ main = isoxml.at(ns("//title-main[@language='zh']"))
28
+ part = isoxml.at(ns("//title-part[@language='zh']"))
29
+ partnumber = isoxml.at(ns("//project-number/@part"))
30
+ intro.nil? || set_metadata(:docmaintitlezh, intro.text + "&nbsp;")
31
+ main.nil? || set_metadata(:docsubtitlezh, main.text)
32
+ partnum = partnumber ? "#{part_label(partnumber, 'zh')}:" : ""
33
+ part.nil? || set_metadata(:docparttitlezh,
34
+ "&nbsp;#{partnum}#{part.text}")
35
+ end
36
+
37
+ def set_doctitle
38
+ if @lang == "zh"
39
+ set_metadata(:doctitle, get_metadata[:docmaintitlezh] +
40
+ get_metadata[:docsubtitlezh] +
41
+ get_metadata[:docparttitlezh])
42
+ else
43
+ set_metadata(:doctitle, get_metadata[:docmaintitleen] +
44
+ get_metadata[:docsubtitleen] +
45
+ get_metadata[:docparttitleen])
46
+ end
47
+ end
48
+
49
+ def subtitle(isoxml, _out)
50
+ intro = isoxml.at(ns("//title-intro[@language='en']"))
51
+ main = isoxml.at(ns("//title-main[@language='en']"))
52
+ part = isoxml.at(ns("//title-part[@language='en']"))
53
+ partnumber = isoxml.at(ns("//project-number/@part"))
54
+ intro.nil? || set_metadata(:docmaintitleen, intro.text + "&mdash;")
55
+ main.nil? || set_metadata(:docsubtitleen, main.text)
56
+ partnum = partnumber ? "#{part_label(partnumber, 'en')}: " : ""
57
+ part.nil? || set_metadata(:docparttitleen,
58
+ "&mdash;#{partnum} #{part.text}")
59
+ set_doctitle
60
+ end
61
+
62
+ def author(isoxml, _out)
63
+ gbcommittee = isoxml.at(ns("//bibdata/gbcommittee"))
64
+ set_metadata(:committee, gbcommittee&.text)
65
+ end
66
+
67
+ STAGE_ABBRS_CN = {
68
+ "00": "新工作项目建议",
69
+ "10": "新工作项目",
70
+ "20": "标准草案工作组讨论稿",
71
+ "30": "标准草案征求意见稿",
72
+ "40": "标准草案送审稿",
73
+ "50": "标准草案报批稿",
74
+ "60": "国家标准",
75
+ "90": "(Review)",
76
+ "95": "(Withdrawal)",
77
+ }.freeze
78
+
79
+ def stage_abbrev_cn(stage, iter, draft)
80
+ return stage_abbrev(stage, iter, draft) if @lang != "zh"
81
+ stage = STAGE_ABBRS_CN[stage.to_sym] || "??"
82
+ stage = "#{iter.text.to_i.localize(:zh).spellout}次#{stage}" if iter
83
+ stage = "Pre" + stage if draft&.text =~ /^0\./
84
+ stage
85
+ end
86
+
87
+ def docstatus(isoxml, _out)
88
+ docstatus = isoxml.at(ns("//status/stage"))
89
+ if docstatus
90
+ set_metadata(:stage, docstatus.text.to_i)
91
+ abbr = stage_abbrev_cn(docstatus.text, isoxml.at(ns("//status/iteration")),
92
+ isoxml.at(ns("//version/draft")))
93
+ set_metadata(:stageabbr, abbr)
94
+ end
95
+ end
96
+
97
+ def docid1(isoxml, _out)
98
+ dn = docnumber(isoxml)
99
+ docstatus = get_metadata[:stage]
100
+ if docstatus
101
+ abbr = stage_abbrev(docstatus.to_s, isoxml.at(ns("//status/iteration")),
102
+ isoxml.at(ns("//version/draft")))
103
+ (docstatus.to_i < 60) && dn = abbr + " " + dn
104
+ end
105
+ set_metadata(:docnumber, dn)
106
+ end
107
+
108
+ def docid(isoxml, _out)
109
+ docid1(isoxml, _out)
110
+ gb_identifier(isoxml)
111
+ gb_library_identifier(isoxml)
112
+ gb_equivalence(isoxml)
113
+ end
114
+
115
+ ISO_STD_XPATH = "//bibdata/relation[@type = 'equivalent' or "\
116
+ "@type = 'identical' or @type = 'nonequivalent']/bibitem".freeze
117
+
118
+ def gb_equivalence(isoxml)
119
+ isostdid = isoxml.at(ns("#{ISO_STD_XPATH}/docidentifier")) || return
120
+ set_metadata(:isostandard, isostdid.text)
121
+ isostdtitle = isoxml.at(ns("#{ISO_STD_XPATH}/title"))
122
+ set_metadata(:isostandardtitle, isostdtitle.text) if isostdtitle
123
+ eq = isoxml.at(ns("//bibdata/relation/@type"))
124
+ case eq.text
125
+ when "equivalent" then set_metadata(:gbequivalence, "MOD")
126
+ when "nonequivalent" then set_metadata(:gbequivalence, "NEQ")
127
+ when "identical" then set_metadata(:gbequivalence, "IDT")
128
+ end
129
+ end
130
+
131
+ SCOPEPFX = {
132
+ local: "DB",
133
+ social: "T",
134
+ enterprise: "Q",
135
+ }.freeze
136
+
137
+ def docidentifier(scope, prefix, mandate, docyear)
138
+ docnum = get_metadata[:docnumber]
139
+ dn = case scope
140
+ when "local"
141
+ "#{SCOPEPFX[scope.to_sym]}#{mandate_suffix(prefix, mandate)}/"\
142
+ "#{docnum}".gsub(%r{/([TZ])/}, "/\\1 ")
143
+ when "social", "enterprise"
144
+ "#{mandate_suffix(SCOPEPFX[scope.to_sym], mandate)}/"\
145
+ "#{prefix} #{docnum}"
146
+ else
147
+ "#{mandate_suffix(prefix, mandate)}&#x2002;#{docnum}"
148
+ end
149
+ dn += "&mdash;#{docyear}" if docyear
150
+ set_metadata(:docidentifier, dn)
151
+ end
152
+
153
+ def gb_identifier(isoxml)
154
+ scope = isoxml.at(ns("//gbscope"))&.text || "national"
155
+ mandate = isoxml.at(ns("//gbmandate"))&.text || "mandatory"
156
+ prefix = isoxml.at(ns("//gbprefix"))&.text || "XXX"
157
+ docyear = isoxml&.at(ns("//copyright/from"))&.text
158
+ docidentifier(scope, prefix, mandate, docyear)
159
+ issuer = isoxml&.at(ns("//bibdata/contributor[role/@type = 'issuer']/"\
160
+ "organization/name"))&.text || "GB"
161
+ set_metadata(:issuer, issuer)
162
+ set_metadata(:standard_class, standard_class(scope, prefix, mandate))
163
+ set_metadata(:standard_agency, standard_agency(scope, prefix, mandate))
164
+ set_metadata(:gbprefix, scope == "local" ? "DB" : prefix)
165
+ set_metadata(:gbscope, scope)
166
+ end
167
+
168
+ def standard_logo(gbprefix)
169
+ return nil unless gbprefix
170
+ case gbprefix.downcase
171
+ when "db" then "gb-standard-db"
172
+ when "gb" then "gb-standard-gb"
173
+ when "gjb" then "gb-standard-gjb"
174
+ when "gm" then "gb-standard-gm"
175
+ when "jjf" then "gb-standard-jjf"
176
+ when "zb" then "gb-standard-zb"
177
+ end
178
+ end
179
+
180
+ def gb_library_identifier(isoxml)
181
+ ics = []
182
+ ccs = []
183
+ isoxml.xpath(ns("//bibdata/ics")).each { |i| ics << i.text }
184
+ isoxml.xpath(ns("//bibdata/ccs")).each { |i| ccs << i.text }
185
+ p = isoxml.at(ns("//bibdata/plannumber"))
186
+ set_metadata(:libraryid_ics, ics.empty? ? "XXX" : ics.join(", "))
187
+ set_metadata(:libraryid_ccs, ccs.empty? ? "XXX" : ccs.join(", "))
188
+ set_metadata(:libraryid_plan, p ? p.text : "XXX")
189
+ end
190
+
191
+ def part_label(partnumber, lang)
192
+ case lang
193
+ when "en" then "Part #{partnumber}"
194
+ when "zh" then "第#{partnumber}部分"
195
+ end
196
+ end
197
+
198
+ def bibdate(isoxml, _out)
199
+ super
200
+ m = get_metadata
201
+ if @lang == "zh"
202
+ set_metadata(:labelled_publisheddate, m[:publisheddate] + " " +
203
+ @labels["publicationdate_lbl"])
204
+ set_metadata(:labelled_implementeddate, m[:implementeddate] + " " +
205
+ @labels["implementationdate_lbl"])
206
+ else
207
+ set_metadata(:labelled_publisheddate, @labels["publicationdate_lbl"] +
208
+ ": " + m[:publisheddate])
209
+ set_metadata(:labelled_implementeddate,
210
+ @labels["implementationdate_lbl"] + ": " +
211
+ m[:implementeddate])
212
+ end
213
+ end
214
+ end
215
+ end
216
+ end
@@ -1,6 +1,6 @@
1
- module Asciidoctor
1
+ module IsoDoc
2
2
  module Gb
3
- class GbConvert < IsoDoc::Convert
3
+ class Convert < IsoDoc::Convert
4
4
  # putting in tab so that ToC aligns
5
5
  def foreword(isoxml, out)
6
6
  f = isoxml.at(ns("//foreword")) || return
@@ -14,18 +14,29 @@ module Asciidoctor
14
14
  end
15
15
  end
16
16
 
17
- def clause_name_header(num, title, div, header_class)
17
+ def clause_name(num, title, div, header_class)
18
18
  header_class = {} if header_class.nil?
19
19
  div.h1 **attr_code(header_class) do |h1|
20
20
  if num
21
21
  h1 << num
22
- h1 << "&nbsp;"
22
+ h1 << "&#x3000;"
23
23
  end
24
24
  h1 << title
25
25
  end
26
26
  div.parent.at(".//h1")
27
27
  end
28
28
 
29
+ def clause_parse_title(node, div, c1, out)
30
+ if node["inline-header"] == "true"
31
+ inline_header_title(out, node, c1)
32
+ else
33
+ div.send "h#{get_anchors[node['id']][:level]}" do |h|
34
+ h << "#{get_anchors[node['id']][:label]}.&#x3000;"
35
+ c1.children.each { |c2| parse(c2, h) }
36
+ end
37
+ end
38
+ end
39
+
29
40
  def annex_name(annex, name, div)
30
41
  div.h1 **{ class: "Annex" } do |t|
31
42
  t << "#{get_anchors[annex['id']][:label]}<br/><br/>"
@@ -33,6 +44,13 @@ module Asciidoctor
33
44
  end
34
45
  end
35
46
 
47
+ def term_defs_boilerplate(div, source, term)
48
+ if source.empty? && term.nil?
49
+ div << @no_terms_boilerplate
50
+ else
51
+ div << term_defs_boilerplate_cont(source, term)
52
+ end
53
+ end
36
54
  end
37
55
  end
38
56
  end
@@ -0,0 +1,17 @@
1
+ require "isodoc"
2
+
3
+ module Isodoc
4
+ module Gb
5
+ # A {Converter} implementation that generates GB output, and a document
6
+ # schema encapsulation of the document for validation
7
+ class Convert < IsoDoc::Convert
8
+ def reference_names(ref)
9
+ isopub = ref.at(ns(ISO_PUBLISHER_XPATH))
10
+ docid = ref.at(ns("./docidentifier"))
11
+ date = ref.at(ns("./date[@type = 'published']"))
12
+ reference = format_ref(docid.text, isopub, date)
13
+ @anchors[ref["id"]] = { xref: reference }
14
+ end
15
+ end
16
+ end
17
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-gb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.2
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-03-08 00:00:00.000000000 Z
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: nokogiri
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 1.8.1
89
+ version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 1.8.1
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: ruby-jing
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: twitter_cldr
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: asciidoctor-iso
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -336,20 +350,24 @@ files:
336
350
  - ".rubocop.yml"
337
351
  - CODE_OF_CONDUCT.md
338
352
  - Gemfile
353
+ - LICENSE
339
354
  - README.adoc
340
355
  - Rakefile
341
356
  - asciidoctor-gb.gemspec
342
357
  - bin/console
358
+ - bin/rspec
343
359
  - bin/setup
344
360
  - lib/asciidoctor-gb.rb
345
361
  - lib/asciidoctor/gb.rb
346
- - lib/asciidoctor/gb/agencies.rb
362
+ - lib/asciidoctor/gb/biblio.rng
347
363
  - lib/asciidoctor/gb/converter.rb
348
364
  - lib/asciidoctor/gb/front.rb
349
- - lib/asciidoctor/gb/gbconvert.rb
350
365
  - lib/asciidoctor/gb/gbstandard.rng
351
366
  - lib/asciidoctor/gb/html/blank.png
352
367
  - lib/asciidoctor/gb/html/footer.png
368
+ - lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.gif
369
+ - lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.png
370
+ - lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.svg
353
371
  - lib/asciidoctor/gb/html/gb-logos/gb-standard-db.gif
354
372
  - lib/asciidoctor/gb/html/gb-logos/gb-standard-db.png
355
373
  - lib/asciidoctor/gb/html/gb-logos/gb-standard-db.svg
@@ -368,22 +386,64 @@ files:
368
386
  - lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.gif
369
387
  - lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.png
370
388
  - lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.svg
371
- - lib/asciidoctor/gb/html/gb.css
389
+ - lib/asciidoctor/gb/html/gb.scss
372
390
  - lib/asciidoctor/gb/html/header.html
373
391
  - lib/asciidoctor/gb/html/html_gb_intro.html
374
392
  - lib/asciidoctor/gb/html/html_gb_titlepage.html
375
- - lib/asciidoctor/gb/html/htmlstyle.css
393
+ - lib/asciidoctor/gb/html/htmlstyle.scss
376
394
  - lib/asciidoctor/gb/html/logo.png
377
395
  - lib/asciidoctor/gb/html/word_gb_intro.html
378
396
  - lib/asciidoctor/gb/html/word_gb_titlepage.html
379
- - lib/asciidoctor/gb/html/wordstyle.css
397
+ - lib/asciidoctor/gb/html/wordstyle.scss
380
398
  - lib/asciidoctor/gb/isodoc.rng
381
399
  - lib/asciidoctor/gb/isostandard.rng
382
- - lib/asciidoctor/gb/metadata.rb
383
400
  - lib/asciidoctor/gb/section_input.rb
384
- - lib/asciidoctor/gb/section_output.rb
401
+ - lib/asciidoctor/gb/validate.rb
385
402
  - lib/asciidoctor/gb/version.rb
386
- - lib/asciidoctor/gb/xref_gen.rb
403
+ - lib/isodoc/gb/agencies.rb
404
+ - lib/isodoc/gb/block_output.rb
405
+ - lib/isodoc/gb/gbcleanup.rb
406
+ - lib/isodoc/gb/gbconvert.rb
407
+ - lib/isodoc/gb/gbwordconvert.rb
408
+ - lib/isodoc/gb/html/blank.png
409
+ - lib/isodoc/gb/html/footer.png
410
+ - lib/isodoc/gb/html/gb-logos/gb-issuer-default.gif
411
+ - lib/isodoc/gb/html/gb-logos/gb-issuer-default.png
412
+ - lib/isodoc/gb/html/gb-logos/gb-issuer-default.svg
413
+ - lib/isodoc/gb/html/gb-logos/gb-standard-db.gif
414
+ - lib/isodoc/gb/html/gb-logos/gb-standard-db.png
415
+ - lib/isodoc/gb/html/gb-logos/gb-standard-db.svg
416
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gb.gif
417
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gb.png
418
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gb.svg
419
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gjb.gif
420
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gjb.png
421
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gjb.svg
422
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gm.gif
423
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gm.png
424
+ - lib/isodoc/gb/html/gb-logos/gb-standard-gm.svg
425
+ - lib/isodoc/gb/html/gb-logos/gb-standard-jjf.gif
426
+ - lib/isodoc/gb/html/gb-logos/gb-standard-jjf.png
427
+ - lib/isodoc/gb/html/gb-logos/gb-standard-jjf.svg
428
+ - lib/isodoc/gb/html/gb-logos/gb-standard-zb.gif
429
+ - lib/isodoc/gb/html/gb-logos/gb-standard-zb.png
430
+ - lib/isodoc/gb/html/gb-logos/gb-standard-zb.svg
431
+ - lib/isodoc/gb/html/gb.scss
432
+ - lib/isodoc/gb/html/header.html
433
+ - lib/isodoc/gb/html/html_gb_intro.html
434
+ - lib/isodoc/gb/html/html_gb_titlepage.html
435
+ - lib/isodoc/gb/html/htmlstyle.scss
436
+ - lib/isodoc/gb/html/logo.png
437
+ - lib/isodoc/gb/html/scripts.html
438
+ - lib/isodoc/gb/html/word_gb_intro.html
439
+ - lib/isodoc/gb/html/word_gb_titlepage.html
440
+ - lib/isodoc/gb/html/wordstyle.scss
441
+ - lib/isodoc/gb/i18n-en.yaml
442
+ - lib/isodoc/gb/i18n-zh-Hans.yaml
443
+ - lib/isodoc/gb/i18n.rb
444
+ - lib/isodoc/gb/metadata.rb
445
+ - lib/isodoc/gb/section_output.rb
446
+ - lib/isodoc/gb/xref_gen.rb
387
447
  homepage: https://github.com/riboseinc/asciidoctor-gb
388
448
  licenses:
389
449
  - MIT
@@ -404,7 +464,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
404
464
  version: '0'
405
465
  requirements: []
406
466
  rubyforge_project:
407
- rubygems_version: 2.6.14
467
+ rubygems_version: 2.6.12
408
468
  signing_key:
409
469
  specification_version: 4
410
470
  summary: asciidoctor-gb lets you write GB standards in AsciiDoc.