isodoc 1.5.5 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +2 -12
  3. data/.hound.yml +3 -1
  4. data/.rubocop.yml +3 -7
  5. data/Gemfile +2 -2
  6. data/Rakefile +2 -2
  7. data/bin/rspec +1 -2
  8. data/isodoc.gemspec +11 -11
  9. data/lib/isodoc-yaml/i18n-ar.yaml +152 -0
  10. data/lib/isodoc-yaml/i18n-de.yaml +149 -0
  11. data/lib/isodoc-yaml/i18n-es.yaml +151 -0
  12. data/lib/isodoc-yaml/i18n-ru.yaml +154 -0
  13. data/lib/isodoc.rb +0 -2
  14. data/lib/isodoc/base_style/all.css +7 -0
  15. data/lib/isodoc/base_style/metanorma_word.css +7 -0
  16. data/lib/isodoc/base_style/metanorma_word.scss +8 -0
  17. data/lib/isodoc/base_style/reset.css +7 -0
  18. data/lib/isodoc/base_style/reset.scss +9 -0
  19. data/lib/isodoc/base_style/scripts.html +187 -0
  20. data/lib/isodoc/class_utils.rb +6 -5
  21. data/lib/isodoc/common.rb +2 -0
  22. data/lib/isodoc/convert.rb +30 -17
  23. data/lib/isodoc/css.rb +43 -34
  24. data/lib/isodoc/function/blocks.rb +21 -4
  25. data/lib/isodoc/function/blocks_example_note.rb +2 -2
  26. data/lib/isodoc/function/cleanup.rb +53 -45
  27. data/lib/isodoc/function/form.rb +51 -0
  28. data/lib/isodoc/function/inline.rb +37 -15
  29. data/lib/isodoc/function/references.rb +55 -42
  30. data/lib/isodoc/function/section.rb +29 -16
  31. data/lib/isodoc/function/table.rb +1 -0
  32. data/lib/isodoc/function/to_word_html.rb +33 -29
  33. data/lib/isodoc/function/utils.rb +180 -159
  34. data/lib/isodoc/gem_tasks.rb +30 -31
  35. data/lib/isodoc/headlesshtml_convert.rb +8 -7
  36. data/lib/isodoc/html_convert.rb +6 -4
  37. data/lib/isodoc/html_function/comments.rb +2 -0
  38. data/lib/isodoc/html_function/footnotes.rb +14 -7
  39. data/lib/isodoc/html_function/form.rb +62 -0
  40. data/lib/isodoc/html_function/html.rb +30 -26
  41. data/lib/isodoc/html_function/postprocess.rb +41 -82
  42. data/lib/isodoc/html_function/postprocess_footnotes.rb +59 -0
  43. data/lib/isodoc/i18n.rb +33 -31
  44. data/lib/isodoc/pdf_convert.rb +12 -16
  45. data/lib/isodoc/presentation_function/bibdata.rb +54 -30
  46. data/lib/isodoc/presentation_function/block.rb +17 -8
  47. data/lib/isodoc/presentation_function/inline.rb +84 -120
  48. data/lib/isodoc/presentation_function/math.rb +84 -0
  49. data/lib/isodoc/presentation_function/section.rb +20 -22
  50. data/lib/isodoc/presentation_xml_convert.rb +2 -1
  51. data/lib/isodoc/sassc_importer.rb +1 -1
  52. data/lib/isodoc/version.rb +1 -1
  53. data/lib/isodoc/word_function/body.rb +28 -24
  54. data/lib/isodoc/word_function/footnotes.rb +22 -15
  55. data/lib/isodoc/word_function/postprocess.rb +50 -36
  56. data/lib/isodoc/xref.rb +9 -10
  57. data/lib/isodoc/xref/xref_counter.rb +32 -17
  58. data/lib/isodoc/xref/xref_gen.rb +33 -21
  59. data/lib/isodoc/xref/xref_gen_seq.rb +60 -35
  60. data/lib/isodoc/xref/xref_sect_gen.rb +37 -35
  61. data/lib/isodoc/xslfo_convert.rb +36 -27
  62. data/spec/assets/scripts_override.html +3 -0
  63. data/spec/isodoc/blocks_spec.rb +2490 -2591
  64. data/spec/isodoc/cleanup_spec.rb +1107 -1109
  65. data/spec/isodoc/footnotes_spec.rb +1 -16
  66. data/spec/isodoc/form_spec.rb +156 -0
  67. data/spec/isodoc/i18n_spec.rb +984 -972
  68. data/spec/isodoc/inline_spec.rb +1129 -912
  69. data/spec/isodoc/lists_spec.rb +316 -315
  70. data/spec/isodoc/postproc_spec.rb +1751 -1540
  71. data/spec/isodoc/presentation_xml_spec.rb +403 -323
  72. data/spec/isodoc/ref_spec.rb +718 -723
  73. data/spec/isodoc/section_spec.rb +910 -902
  74. data/spec/isodoc/table_spec.rb +566 -556
  75. data/spec/isodoc/terms_spec.rb +251 -255
  76. data/spec/isodoc/xref_spec.rb +3041 -2992
  77. data/spec/isodoc/xslfo_convert_spec.rb +39 -0
  78. data/spec/spec_helper.rb +30 -29
  79. metadata +77 -65
@@ -0,0 +1,39 @@
1
+ require "spec_helper"
2
+
3
+ RSpec.describe IsoDoc do
4
+ it "test empty pdf_options" do
5
+ convert = IsoDoc::XslfoPdfConvert.new(
6
+ {
7
+ datauriimage: false,
8
+ }
9
+ )
10
+
11
+ expect(convert.pdf_options(nil)).to eq("")
12
+ end
13
+
14
+ it "test empty pdf_options for nil font_manifest_file" do
15
+ convert = IsoDoc::XslfoPdfConvert.new(
16
+ {
17
+ datauriimage: false,
18
+ IsoDoc::XslfoPdfConvert::MN2PDF_OPTIONS => {
19
+ IsoDoc::XslfoPdfConvert::MN2PDF_FONT_MANIFEST => nil,
20
+ },
21
+ }
22
+ )
23
+
24
+ expect(convert.pdf_options(nil)).to eq("")
25
+ end
26
+
27
+ it "test --font-manifest pdf_options" do
28
+ convert = IsoDoc::XslfoPdfConvert.new(
29
+ {
30
+ datauriimage: false,
31
+ IsoDoc::XslfoPdfConvert::MN2PDF_OPTIONS => {
32
+ IsoDoc::XslfoPdfConvert::MN2PDF_FONT_MANIFEST => "/tmp/manifest.yml",
33
+ },
34
+ }
35
+ )
36
+
37
+ expect(convert.pdf_options(nil)).to eq("--font-manifest /tmp/manifest.yml")
38
+ end
39
+ end
data/spec/spec_helper.rb CHANGED
@@ -21,45 +21,46 @@ RSpec.configure do |config|
21
21
  end
22
22
  end
23
23
 
24
- def xmlpp(x)
24
+ def xmlpp(xml)
25
25
  s = ""
26
26
  f = REXML::Formatters::Pretty.new(2)
27
27
  f.compact = true
28
- f.write(REXML::Document.new(x),s)
28
+ f.write(REXML::Document.new(xml), s)
29
29
  s
30
30
  end
31
31
 
32
- def metadata(x)
33
- Hash[x.sort].delete_if{ |k, v| v.nil? || v.respond_to?(:empty?) && v.empty? }
32
+ def metadata(hash)
33
+ Hash[hash.sort].delete_if do |_k, v|
34
+ v.nil? || v.respond_to?(:empty?) && v.empty?
35
+ end
34
36
  end
35
37
 
36
- # expect(metadata(c.info(Nokogiri::XML(<<~"INPUT"), nil))).to be_equivalent_to <<~"OUTPUT"
37
-
38
- def strip_guid(x)
39
- x.gsub(%r{ id="_[^"]+"}, ' id="_"').gsub(%r{ target="_[^"]+"}, ' target="_"').
40
- gsub(%r( href="#[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' href="#_"').
41
- gsub(%r( id="[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' id="_"').
42
- gsub(%r( id="ftn[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' id="ftn_"').
43
- gsub(%r( id="fn:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' id="fn:_"').
44
- gsub(%r[ src="([^/]+)/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.], ' src="\\1/_.')
38
+ def strip_guid(xml)
39
+ xml.gsub(%r{ id="_[^"]+"}, ' id="_"')
40
+ .gsub(%r{ target="_[^"]+"}, ' target="_"')
41
+ .gsub(%r( href="#[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' href="#_"')
42
+ .gsub(%r( id="[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' id="_"')
43
+ .gsub(%r( id="ftn[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' id="ftn_"')
44
+ .gsub(%r( id="fn:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{13}"), ' id="fn:_"')
45
+ .gsub(%r[ src="([^/]+)/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.], ' src="\\1/_.')
45
46
  end
46
47
 
47
- HTML_HDR = <<~END
48
- <html xmlns:epub="http://www.idpf.org/2007/ops" lang="en">
49
- <head/>
50
- <body lang="en">
51
- <div class="title-section">
52
- <p>&#160;</p>
53
- </div>
54
- <br/>
55
- <div class="prefatory-section">
56
- <p>&#160;</p>
57
- </div>
58
- <br/>
59
- <div class="main-section">
60
- END
48
+ HTML_HDR = <<~HEADER.freeze
49
+ <html xmlns:epub="http://www.idpf.org/2007/ops" lang="en">
50
+ <head/>
51
+ <body lang="en">
52
+ <div class="title-section">
53
+ <p>&#160;</p>
54
+ </div>
55
+ <br/>
56
+ <div class="prefatory-section">
57
+ <p>&#160;</p>
58
+ </div>
59
+ <br/>
60
+ <div class="main-section">
61
+ HEADER
61
62
 
62
- WORD_HDR = <<~END
63
+ WORD_HDR = <<~HEADER.freeze
63
64
  <html xmlns:epub="http://www.idpf.org/2007/ops" lang="en">
64
65
  <head>
65
66
  <style>
@@ -77,4 +78,4 @@ WORD_HDR = <<~END
77
78
  </div>
78
79
  <p><br clear="all" class="section"/></p>
79
80
  <div class="WordSection3">
80
- END
81
+ HEADER
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.5
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciimath
@@ -25,105 +25,105 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: htmlentities
28
+ name: html2doc
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.3.4
33
+ version: 1.1.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.3.4
40
+ version: 1.1.1
41
41
  - !ruby/object:Gem::Dependency
42
- name: nokogiri
42
+ name: htmlentities
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.10.4
47
+ version: 4.3.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.10.4
54
+ version: 4.3.4
55
55
  - !ruby/object:Gem::Dependency
56
- name: thread_safe
56
+ name: liquid
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '4'
69
69
  - !ruby/object:Gem::Dependency
70
- name: uuidtools
70
+ name: metanorma
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 1.2.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 1.2.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: html2doc
84
+ name: nokogiri
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.0.0
89
+ version: 1.11.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.0.0
96
+ version: 1.11.0
97
97
  - !ruby/object:Gem::Dependency
98
- name: liquid
98
+ name: relaton-cli
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '4'
103
+ version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '4'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: twitter_cldr
112
+ name: roman-numerals
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 6.6.0
117
+ version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 6.6.0
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: roman-numerals
126
+ name: thread_safe
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
@@ -137,21 +137,21 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: metanorma
140
+ name: twitter_cldr
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 1.2.0
145
+ version: 6.6.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 1.2.0
152
+ version: 6.6.0
153
153
  - !ruby/object:Gem::Dependency
154
- name: relaton-cli
154
+ name: uuidtools
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
@@ -165,89 +165,89 @@ dependencies:
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: rake
168
+ name: byebug
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '13.0'
173
+ version: '9.1'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '13.0'
180
+ version: '9.1'
181
181
  - !ruby/object:Gem::Dependency
182
- name: byebug
182
+ name: equivalent-xml
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '9.1'
187
+ version: '0.6'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '9.1'
194
+ version: '0.6'
195
195
  - !ruby/object:Gem::Dependency
196
- name: sassc
196
+ name: guard
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 2.4.0
201
+ version: '2.14'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 2.4.0
208
+ version: '2.14'
209
209
  - !ruby/object:Gem::Dependency
210
- name: equivalent-xml
210
+ name: guard-rspec
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '0.6'
215
+ version: '4.7'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '0.6'
222
+ version: '4.7'
223
223
  - !ruby/object:Gem::Dependency
224
- name: guard
224
+ name: rake
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '2.14'
229
+ version: '13.0'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '2.14'
236
+ version: '13.0'
237
237
  - !ruby/object:Gem::Dependency
238
- name: guard-rspec
238
+ name: rexml
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - "~>"
241
+ - - ">="
242
242
  - !ruby/object:Gem::Version
243
- version: '4.7'
243
+ version: '0'
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - "~>"
248
+ - - ">="
249
249
  - !ruby/object:Gem::Version
250
- version: '4.7'
250
+ version: '0'
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: rspec
253
253
  requirement: !ruby/object:Gem::Requirement
@@ -277,47 +277,47 @@ dependencies:
277
277
  - !ruby/object:Gem::Version
278
278
  version: 1.5.2
279
279
  - !ruby/object:Gem::Dependency
280
- name: simplecov
280
+ name: sassc
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: '0.15'
285
+ version: 2.4.0
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: '0.15'
292
+ version: 2.4.0
293
293
  - !ruby/object:Gem::Dependency
294
- name: timecop
294
+ name: simplecov
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: '0.9'
299
+ version: '0.15'
300
300
  type: :development
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: '0.9'
306
+ version: '0.15'
307
307
  - !ruby/object:Gem::Dependency
308
- name: rexml
308
+ name: timecop
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
- - - ">="
311
+ - - "~>"
312
312
  - !ruby/object:Gem::Version
313
- version: '0'
313
+ version: '0.9'
314
314
  type: :development
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
- - - ">="
318
+ - - "~>"
319
319
  - !ruby/object:Gem::Version
320
- version: '0'
320
+ version: '0.9'
321
321
  description: |
322
322
  isodoc converts documents in the IsoDoc document model into
323
323
  Microsoft Word and HTML.
@@ -340,8 +340,12 @@ files:
340
340
  - Rakefile
341
341
  - bin/rspec
342
342
  - isodoc.gemspec
343
+ - lib/isodoc-yaml/i18n-ar.yaml
344
+ - lib/isodoc-yaml/i18n-de.yaml
343
345
  - lib/isodoc-yaml/i18n-en.yaml
346
+ - lib/isodoc-yaml/i18n-es.yaml
344
347
  - lib/isodoc-yaml/i18n-fr.yaml
348
+ - lib/isodoc-yaml/i18n-ru.yaml
345
349
  - lib/isodoc-yaml/i18n-zh-Hans.yaml
346
350
  - lib/isodoc.rb
347
351
  - lib/isodoc/base_style/all.css
@@ -359,6 +363,7 @@ files:
359
363
  - lib/isodoc/base_style/nav.scss
360
364
  - lib/isodoc/base_style/reset.css
361
365
  - lib/isodoc/base_style/reset.scss
366
+ - lib/isodoc/base_style/scripts.html
362
367
  - lib/isodoc/base_style/typography.css
363
368
  - lib/isodoc/base_style/typography.scss
364
369
  - lib/isodoc/class_utils.rb
@@ -369,6 +374,7 @@ files:
369
374
  - lib/isodoc/function/blocks.rb
370
375
  - lib/isodoc/function/blocks_example_note.rb
371
376
  - lib/isodoc/function/cleanup.rb
377
+ - lib/isodoc/function/form.rb
372
378
  - lib/isodoc/function/inline.rb
373
379
  - lib/isodoc/function/inline_simple.rb
374
380
  - lib/isodoc/function/lists.rb
@@ -385,9 +391,11 @@ files:
385
391
  - lib/isodoc/html_function.rb
386
392
  - lib/isodoc/html_function/comments.rb
387
393
  - lib/isodoc/html_function/footnotes.rb
394
+ - lib/isodoc/html_function/form.rb
388
395
  - lib/isodoc/html_function/html.rb
389
396
  - lib/isodoc/html_function/mathvariant_to_plain.rb
390
397
  - lib/isodoc/html_function/postprocess.rb
398
+ - lib/isodoc/html_function/postprocess_footnotes.rb
391
399
  - lib/isodoc/i18n.rb
392
400
  - lib/isodoc/metadata.rb
393
401
  - lib/isodoc/metadata_contributor.rb
@@ -396,6 +404,7 @@ files:
396
404
  - lib/isodoc/presentation_function/bibdata.rb
397
405
  - lib/isodoc/presentation_function/block.rb
398
406
  - lib/isodoc/presentation_function/inline.rb
407
+ - lib/isodoc/presentation_function/math.rb
399
408
  - lib/isodoc/presentation_function/section.rb
400
409
  - lib/isodoc/presentation_xml_convert.rb
401
410
  - lib/isodoc/sassc_importer.rb
@@ -429,6 +438,7 @@ files:
429
438
  - spec/assets/rice_image1
430
439
  - spec/assets/rice_image1.png
431
440
  - spec/assets/scripts.html
441
+ - spec/assets/scripts_override.html
432
442
  - spec/assets/std.css
433
443
  - spec/assets/word.css
434
444
  - spec/assets/word_override.css
@@ -437,6 +447,7 @@ files:
437
447
  - spec/isodoc/blocks_spec.rb
438
448
  - spec/isodoc/cleanup_spec.rb
439
449
  - spec/isodoc/footnotes_spec.rb
450
+ - spec/isodoc/form_spec.rb
440
451
  - spec/isodoc/i18n_spec.rb
441
452
  - spec/isodoc/inline_spec.rb
442
453
  - spec/isodoc/lists_spec.rb
@@ -448,6 +459,7 @@ files:
448
459
  - spec/isodoc/table_spec.rb
449
460
  - spec/isodoc/terms_spec.rb
450
461
  - spec/isodoc/xref_spec.rb
462
+ - spec/isodoc/xslfo_convert_spec.rb
451
463
  - spec/spec_helper.rb
452
464
  homepage: https://github.com/metanorma/isodoc
453
465
  licenses: