metanorma-standoc 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/.gitattributes +4 -0
  3. data/.gitignore +11 -0
  4. data/.hound.yml +3 -0
  5. data/.oss-guides.rubocop.yml +1077 -0
  6. data/.rubocop.ribose.yml +66 -0
  7. data/.rubocop.tb.yml +650 -0
  8. data/.rubocop.yml +15 -0
  9. data/.travis.yml +21 -0
  10. data/CODE_OF_CONDUCT.md +46 -0
  11. data/Gemfile +7 -0
  12. data/LICENSE +25 -0
  13. data/Makefile +39 -0
  14. data/README.adoc +9 -0
  15. data/Rakefile +6 -0
  16. data/bin/rspec +18 -0
  17. data/docs/customisation.adoc +178 -0
  18. data/docs/guidance.adoc +436 -0
  19. data/docs/htmloutput.adoc +115 -0
  20. data/docs/quickstart.adoc +375 -0
  21. data/lib/asciidoctor/standoc/base.rb +198 -0
  22. data/lib/asciidoctor/standoc/biblio.rng +836 -0
  23. data/lib/asciidoctor/standoc/blocks.rb +190 -0
  24. data/lib/asciidoctor/standoc/cleanup.rb +247 -0
  25. data/lib/asciidoctor/standoc/cleanup_block.rb +193 -0
  26. data/lib/asciidoctor/standoc/cleanup_footnotes.rb +78 -0
  27. data/lib/asciidoctor/standoc/cleanup_ref.rb +125 -0
  28. data/lib/asciidoctor/standoc/converter.rb +55 -0
  29. data/lib/asciidoctor/standoc/front.rb +121 -0
  30. data/lib/asciidoctor/standoc/inline.rb +134 -0
  31. data/lib/asciidoctor/standoc/isodoc.rng +1059 -0
  32. data/lib/asciidoctor/standoc/lists.rb +87 -0
  33. data/lib/asciidoctor/standoc/macros.rb +95 -0
  34. data/lib/asciidoctor/standoc/ref.rb +187 -0
  35. data/lib/asciidoctor/standoc/section.rb +159 -0
  36. data/lib/asciidoctor/standoc/table.rb +61 -0
  37. data/lib/asciidoctor/standoc/utils.rb +121 -0
  38. data/lib/asciidoctor/standoc/validate.rb +65 -0
  39. data/lib/asciidoctor/standoc/validate_section.rb +42 -0
  40. data/lib/asciidoctor/standoc/version.rb +5 -0
  41. data/lib/metanorma-standoc.rb +9 -0
  42. data/lib/metanorma/standoc.rb +7 -0
  43. data/lib/metanorma/standoc/processor.rb +40 -0
  44. data/metanorma-standoc.gemspec +47 -0
  45. data/spec/asciidoctor-standoc/base_spec.rb +271 -0
  46. data/spec/asciidoctor-standoc/blocks_spec.rb +469 -0
  47. data/spec/asciidoctor-standoc/cleanup_spec.rb +760 -0
  48. data/spec/asciidoctor-standoc/inline_spec.rb +162 -0
  49. data/spec/asciidoctor-standoc/isobib_cache_spec.rb +332 -0
  50. data/spec/asciidoctor-standoc/lists_spec.rb +190 -0
  51. data/spec/asciidoctor-standoc/macros_spec.rb +111 -0
  52. data/spec/asciidoctor-standoc/refs_spec.rb +606 -0
  53. data/spec/asciidoctor-standoc/section_spec.rb +310 -0
  54. data/spec/asciidoctor-standoc/table_spec.rb +307 -0
  55. data/spec/asciidoctor-standoc/validate_spec.rb +133 -0
  56. data/spec/assets/header.html +7 -0
  57. data/spec/assets/html.css +2 -0
  58. data/spec/assets/htmlcover.html +4 -0
  59. data/spec/assets/htmlintro.html +5 -0
  60. data/spec/assets/i18n.yaml +2 -0
  61. data/spec/assets/iso.headless.html +33 -0
  62. data/spec/assets/iso.xml +8 -0
  63. data/spec/assets/rice_image1.png +0 -0
  64. data/spec/assets/scripts.html +3 -0
  65. data/spec/assets/std.css +2 -0
  66. data/spec/assets/word.css +2 -0
  67. data/spec/assets/wordcover.html +3 -0
  68. data/spec/assets/wordintro.html +4 -0
  69. data/spec/examples/103_01_02.html +247 -0
  70. data/spec/examples/english.yaml +69 -0
  71. data/spec/examples/iso_123_.xml +45 -0
  72. data/spec/examples/iso_123_all_parts.xml +45 -0
  73. data/spec/examples/iso_123_no_year_note.xml +46 -0
  74. data/spec/examples/iso_124_.xml +41 -0
  75. data/spec/examples/iso_216_.xml +47 -0
  76. data/spec/examples/iso_iec_12382_.xml +48 -0
  77. data/spec/examples/rice.adoc +715 -0
  78. data/spec/examples/rice.preview.html +1877 -0
  79. data/spec/examples/rice.sh +4 -0
  80. data/spec/examples/rice_images/rice_image1.png +0 -0
  81. data/spec/examples/rice_images/rice_image2.png +0 -0
  82. data/spec/examples/rice_images/rice_image3_1.png +0 -0
  83. data/spec/examples/rice_images/rice_image3_2.png +0 -0
  84. data/spec/examples/rice_images/rice_image3_3.png +0 -0
  85. data/spec/metanorma/processor_spec.rb +70 -0
  86. data/spec/spec_helper.rb +198 -0
  87. metadata +370 -0
@@ -0,0 +1,4 @@
1
+ asciidoctor rice.adoc
2
+ mv rice.html rice.preview.html
3
+ asciidoctor --trace -b iso -r 'asciidoctor-iso' rice.adoc
4
+
@@ -0,0 +1,70 @@
1
+ require "spec_helper"
2
+ require "metanorma"
3
+
4
+ #RSpec.describe Asciidoctor::Gb do
5
+ RSpec.describe Metanorma::Standoc::Processor do
6
+
7
+ registry = Metanorma::Registry.instance
8
+ registry.register(Metanorma::Standoc::Processor)
9
+ processor = registry.find_processor(:standoc)
10
+
11
+ it "registers against metanorma" do
12
+ expect(processor).not_to be nil
13
+ end
14
+
15
+ it "registers output formats against metanorma" do
16
+ expect(processor.output_formats.sort.to_s).to be_equivalent_to <<~"OUTPUT"
17
+ [[:doc, "doc"], [:html, "html"], [:xml, "xml"]]
18
+ OUTPUT
19
+ end
20
+
21
+ it "registers version against metanorma" do
22
+ expect(processor.version.to_s).to match(%r{^Asciidoctor::Standoc })
23
+ expect(processor.version.to_s).to match(%r{/IsoDoc })
24
+ end
25
+
26
+ it "generates IsoDoc XML from a blank document" do
27
+ expect(processor.input_to_isodoc(<<~"INPUT")).to be_equivalent_to <<~"OUTPUT"
28
+ #{ASCIIDOC_BLANK_HDR}
29
+ INPUT
30
+ #{BLANK_HDR}
31
+ <sections/>
32
+ </iso-standard>
33
+ OUTPUT
34
+ end
35
+
36
+ it "generates HTML from IsoDoc XML" do
37
+ system "rm -f test.xml"
38
+ processor.output(<<~"INPUT", "test.html", :html)
39
+ <iso-standard xmlns="http://riboseinc.com/isoxml">
40
+ <sections>
41
+ <terms id="H" obligation="normative"><title>Terms, Definitions, Symbols and Abbreviated Terms</title>
42
+ <term id="J">
43
+ <preferred>Term2</preferred>
44
+ </term>
45
+ </terms>
46
+ </sections>
47
+ </iso-standard>
48
+ INPUT
49
+ expect(File.read("test.html", encoding: "utf-8").gsub(%r{^.*<main}m, "<main").gsub(%r{</main>.*}m, "</main>")).to be_equivalent_to <<~"OUTPUT"
50
+ <main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
51
+ <p class="zzSTDTitle1"></p>
52
+ <div id="H"><h1>1.&#xA0; Terms and definitions</h1><p>For the purposes of this document,
53
+ the following terms and definitions apply.</p>
54
+ <p>ISO and IEC maintain terminological databases for use in
55
+ standardization at the following addresses:</p>
56
+
57
+ <ul>
58
+ <li> <p>ISO Online browsing platform: available at
59
+ <a href="http://www.iso.org/obp">http://www.iso.org/obp</a></p> </li>
60
+ <li> <p>IEC Electropedia: available at
61
+ <a href="http://www.electropedia.org">http://www.electropedia.org</a>
62
+ </p> </li> </ul>
63
+ <h2 class="TermNum" id="J">1.1</h2>
64
+ <p class="Terms" style="text-align:left;">Term2</p>
65
+ </div>
66
+ </main>
67
+ OUTPUT
68
+ end
69
+
70
+ end
@@ -0,0 +1,198 @@
1
+ require "simplecov"
2
+ SimpleCov.start do
3
+ add_filter "/spec/"
4
+ end
5
+
6
+ require "bundler/setup"
7
+ require "asciidoctor"
8
+ require "metanorma-standoc"
9
+ require "rspec/matchers"
10
+ require "equivalent-xml"
11
+ require "metanorma"
12
+ require "metanorma/standoc"
13
+
14
+ RSpec.configure do |config|
15
+ # Enable flags like --only-failures and --next-failure
16
+ config.example_status_persistence_file_path = ".rspec_status"
17
+
18
+ # Disable RSpec exposing methods globally on `Module` and `main`
19
+ config.disable_monkey_patching!
20
+
21
+ config.expect_with :rspec do |c|
22
+ c.syntax = :expect
23
+ end
24
+ end
25
+
26
+ def strip_guid(x)
27
+ x.gsub(%r{ id="_[^"]+"}, ' id="_"').gsub(%r{ target="_[^"]+"}, ' target="_"')
28
+ end
29
+
30
+ ASCIIDOC_BLANK_HDR = <<~"HDR"
31
+ = Document title
32
+ Author
33
+ :docfile: test.adoc
34
+ :nodoc:
35
+ :novalid:
36
+ :no-isobib:
37
+
38
+ HDR
39
+
40
+ ISOBIB_BLANK_HDR = <<~"HDR"
41
+ = Document title
42
+ Author
43
+ :docfile: test.adoc
44
+ :nodoc:
45
+ :novalid:
46
+ :no-isobib-cache:
47
+
48
+ HDR
49
+
50
+ FLUSH_CACHE_ISOBIB_BLANK_HDR = <<~"HDR"
51
+ = Document title
52
+ Author
53
+ :docfile: test.adoc
54
+ :nodoc:
55
+ :novalid:
56
+ :flush-caches:
57
+
58
+ HDR
59
+
60
+ CACHED_ISOBIB_BLANK_HDR = <<~"HDR"
61
+ = Document title
62
+ Author
63
+ :docfile: test.adoc
64
+ :nodoc:
65
+ :novalid:
66
+
67
+ HDR
68
+
69
+ LOCAL_CACHED_ISOBIB_BLANK_HDR = <<~"HDR"
70
+ = Document title
71
+ Author
72
+ :docfile: test.adoc
73
+ :nodoc:
74
+ :novalid:
75
+ :local-cache:
76
+
77
+ HDR
78
+
79
+ VALIDATING_BLANK_HDR = <<~"HDR"
80
+ = Document title
81
+ Author
82
+ :docfile: test.adoc
83
+ :nodoc:
84
+ :no-isobib:
85
+
86
+ HDR
87
+
88
+ BLANK_HDR = <<~"HDR"
89
+ <?xml version="1.0" encoding="UTF-8"?>
90
+ <standard-document xmlns="http://riboseinc.com/isoxml">
91
+ <bibdata type="article">
92
+ <docidentifier>
93
+ <project-number> </project-number>
94
+ </docidentifier>
95
+ <language>en</language>
96
+ <script>Latn</script>
97
+ <status format="plain">published</status>
98
+ <copyright>
99
+ <from>#{Time.new.year}</from>
100
+ </copyright>
101
+ <editorialgroup>
102
+ <technical-committee/>
103
+ </editorialgroup>
104
+ </bibdata>
105
+ HDR
106
+
107
+ HTML_HDR = <<~END
108
+ <html xmlns:epub="http://www.idpf.org/2007/ops">
109
+ <head>
110
+ <title>test</title>
111
+ </head>
112
+ <body lang="EN-US" link="blue" vlink="#954F72">
113
+ <div class="title-section">
114
+ <p>&#160;</p>
115
+ </div>
116
+ <br/>
117
+ <div class="prefatory-section">
118
+ <p>&#160;</p>
119
+ </div>
120
+ <br/>
121
+ <div class="main-section">
122
+ END
123
+
124
+ WORD_HDR = <<~END
125
+ <html xmlns:epub="http://www.idpf.org/2007/ops">
126
+ <head>
127
+ <title>test</title>
128
+ </head>
129
+ <body lang="EN-US" link="blue" vlink="#954F72">
130
+ <div class="WordSection1">
131
+ <p>&#160;</p>
132
+ </div>
133
+ <br clear="all" class="section"/>
134
+ <div class="WordSection2">
135
+ <p>&#160;</p>
136
+ </div>
137
+ <br clear="all" class="section"/>
138
+ <div class="WordSection3">
139
+ END
140
+
141
+
142
+ def stub_fetch_ref(**opts)
143
+ xml = ""
144
+
145
+ hit = double("hit")
146
+ expect(hit).to receive(:"[]").with("title") do
147
+ Nokogiri::XML(xml).at("//docidentifier").content
148
+ end.at_least(:once)
149
+
150
+ hit_instance = double("hit_instance")
151
+ expect(hit_instance).to receive(:hit).and_return(hit).at_least(:once)
152
+ expect(hit_instance).to receive(:to_xml) do |builder, opt|
153
+ expect(builder).to be_instance_of Nokogiri::XML::Builder
154
+ expect(opt).to eq opts
155
+ builder << xml
156
+ end.at_least :once
157
+
158
+ hit_page = double("hit_page")
159
+ expect(hit_page).to receive(:first).and_return(hit_instance).at_least :once
160
+
161
+ hit_pages = double("hit_pages")
162
+ expect(hit_pages).to receive(:first).and_return(hit_page).at_least :once
163
+
164
+ expect(Isobib::IsoBibliography).to receive(:search).
165
+ and_wrap_original do |search, *args|
166
+ code = args[0]
167
+ expect(code).to be_instance_of String
168
+ xml = get_xml(search, code, opts)
169
+ hit_pages
170
+ end.at_least :once
171
+ end
172
+
173
+ private
174
+
175
+ def get_xml(search, code, opts)
176
+ c = code.gsub(%r{[\/\s:-]}, "_").sub(%r{_+$}, "").downcase
177
+ o = opts.keys.join "_"
178
+ file = "spec/examples/#{[c, o].join '_'}.xml"
179
+ if File.exist? file
180
+ File.read file
181
+ else
182
+ result = search.call(code)
183
+ hit = result&.first&.first
184
+ xml = hit.to_xml nil, opts
185
+ File.write file, xml
186
+ xml
187
+ end
188
+ end
189
+
190
+ def mock_open_uri(code)
191
+ expect(OpenURI).to receive(:open_uri).and_wrap_original do |m, *args|
192
+ expect(args[0]).to be_instance_of String
193
+ file = "spec/examples/#{code.tr('-', '_')}.html"
194
+ File.write file, m.call(*args).read unless File.exist? file
195
+ File.read file
196
+ end
197
+ end
198
+
metadata ADDED
@@ -0,0 +1,370 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: metanorma-standoc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-08-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: asciidoctor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.5.7
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.5.7
27
+ - !ruby/object:Gem::Dependency
28
+ name: ruby-jing
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: isodoc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0.8'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0.8'
55
+ - !ruby/object:Gem::Dependency
56
+ name: iev
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.2.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.2.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: relaton
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.1.3
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.1.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.15'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.15'
97
+ - !ruby/object:Gem::Dependency
98
+ name: byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: equivalent-xml
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.6'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.6'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.14'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.14'
139
+ - !ruby/object:Gem::Dependency
140
+ name: guard-rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '4.7'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '4.7'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rake
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '12.0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '12.0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '3.6'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '3.6'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rubocop
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.50'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '0.50'
195
+ - !ruby/object:Gem::Dependency
196
+ name: simplecov
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '0.15'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '0.15'
209
+ - !ruby/object:Gem::Dependency
210
+ name: timecop
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '0.9'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '0.9'
223
+ - !ruby/object:Gem::Dependency
224
+ name: metanorma
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 0.2.6
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 0.2.6
237
+ - !ruby/object:Gem::Dependency
238
+ name: isobib
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: 0.2.0
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 0.2.0
251
+ description: |
252
+ metanorma-standoc realises standards following the Metanorma standoc model
253
+
254
+ This gem is in active development.
255
+ email:
256
+ - open.source@ribose.com
257
+ executables: []
258
+ extensions: []
259
+ extra_rdoc_files: []
260
+ files:
261
+ - ".gitattributes"
262
+ - ".gitignore"
263
+ - ".hound.yml"
264
+ - ".oss-guides.rubocop.yml"
265
+ - ".rubocop.ribose.yml"
266
+ - ".rubocop.tb.yml"
267
+ - ".rubocop.yml"
268
+ - ".travis.yml"
269
+ - CODE_OF_CONDUCT.md
270
+ - Gemfile
271
+ - LICENSE
272
+ - Makefile
273
+ - README.adoc
274
+ - Rakefile
275
+ - bin/rspec
276
+ - docs/customisation.adoc
277
+ - docs/guidance.adoc
278
+ - docs/htmloutput.adoc
279
+ - docs/quickstart.adoc
280
+ - lib/asciidoctor/standoc/base.rb
281
+ - lib/asciidoctor/standoc/biblio.rng
282
+ - lib/asciidoctor/standoc/blocks.rb
283
+ - lib/asciidoctor/standoc/cleanup.rb
284
+ - lib/asciidoctor/standoc/cleanup_block.rb
285
+ - lib/asciidoctor/standoc/cleanup_footnotes.rb
286
+ - lib/asciidoctor/standoc/cleanup_ref.rb
287
+ - lib/asciidoctor/standoc/converter.rb
288
+ - lib/asciidoctor/standoc/front.rb
289
+ - lib/asciidoctor/standoc/inline.rb
290
+ - lib/asciidoctor/standoc/isodoc.rng
291
+ - lib/asciidoctor/standoc/lists.rb
292
+ - lib/asciidoctor/standoc/macros.rb
293
+ - lib/asciidoctor/standoc/ref.rb
294
+ - lib/asciidoctor/standoc/section.rb
295
+ - lib/asciidoctor/standoc/table.rb
296
+ - lib/asciidoctor/standoc/utils.rb
297
+ - lib/asciidoctor/standoc/validate.rb
298
+ - lib/asciidoctor/standoc/validate_section.rb
299
+ - lib/asciidoctor/standoc/version.rb
300
+ - lib/metanorma-standoc.rb
301
+ - lib/metanorma/standoc.rb
302
+ - lib/metanorma/standoc/processor.rb
303
+ - metanorma-standoc.gemspec
304
+ - spec/asciidoctor-standoc/base_spec.rb
305
+ - spec/asciidoctor-standoc/blocks_spec.rb
306
+ - spec/asciidoctor-standoc/cleanup_spec.rb
307
+ - spec/asciidoctor-standoc/inline_spec.rb
308
+ - spec/asciidoctor-standoc/isobib_cache_spec.rb
309
+ - spec/asciidoctor-standoc/lists_spec.rb
310
+ - spec/asciidoctor-standoc/macros_spec.rb
311
+ - spec/asciidoctor-standoc/refs_spec.rb
312
+ - spec/asciidoctor-standoc/section_spec.rb
313
+ - spec/asciidoctor-standoc/table_spec.rb
314
+ - spec/asciidoctor-standoc/validate_spec.rb
315
+ - spec/assets/header.html
316
+ - spec/assets/html.css
317
+ - spec/assets/htmlcover.html
318
+ - spec/assets/htmlintro.html
319
+ - spec/assets/i18n.yaml
320
+ - spec/assets/iso.headless.html
321
+ - spec/assets/iso.xml
322
+ - spec/assets/rice_image1.png
323
+ - spec/assets/scripts.html
324
+ - spec/assets/std.css
325
+ - spec/assets/word.css
326
+ - spec/assets/wordcover.html
327
+ - spec/assets/wordintro.html
328
+ - spec/examples/103_01_02.html
329
+ - spec/examples/english.yaml
330
+ - spec/examples/iso_123_.xml
331
+ - spec/examples/iso_123_all_parts.xml
332
+ - spec/examples/iso_123_no_year_note.xml
333
+ - spec/examples/iso_124_.xml
334
+ - spec/examples/iso_216_.xml
335
+ - spec/examples/iso_iec_12382_.xml
336
+ - spec/examples/rice.adoc
337
+ - spec/examples/rice.preview.html
338
+ - spec/examples/rice.sh
339
+ - spec/examples/rice_images/rice_image1.png
340
+ - spec/examples/rice_images/rice_image2.png
341
+ - spec/examples/rice_images/rice_image3_1.png
342
+ - spec/examples/rice_images/rice_image3_2.png
343
+ - spec/examples/rice_images/rice_image3_3.png
344
+ - spec/metanorma/processor_spec.rb
345
+ - spec/spec_helper.rb
346
+ homepage: https://github.com/riboseinc/metanorma-standoc
347
+ licenses:
348
+ - BSD-2-Clause
349
+ metadata: {}
350
+ post_install_message:
351
+ rdoc_options: []
352
+ require_paths:
353
+ - lib
354
+ required_ruby_version: !ruby/object:Gem::Requirement
355
+ requirements:
356
+ - - ">="
357
+ - !ruby/object:Gem::Version
358
+ version: 2.3.0
359
+ required_rubygems_version: !ruby/object:Gem::Requirement
360
+ requirements:
361
+ - - ">="
362
+ - !ruby/object:Gem::Version
363
+ version: '0'
364
+ requirements: []
365
+ rubyforge_project:
366
+ rubygems_version: 2.7.6
367
+ signing_key:
368
+ specification_version: 4
369
+ summary: metanorma-standoc realises standards following the Metanorma standoc model
370
+ test_files: []