mathtype 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mathtype/version.rb +1 -1
- data/lib/records/char.rb +10 -4
- data/lib/records/tmpl.rb +74 -28
- data/spec/fixtures/expected/299.xml +1082 -0
- data/spec/fixtures/expected/arrows.xml +404 -34
- data/spec/fixtures/expected/embellishments.xml +63 -0
- data/spec/fixtures/expected/equation1.xml +16 -0
- data/spec/fixtures/expected/equation10.xml +4 -0
- data/spec/fixtures/expected/equation11.xml +6 -0
- data/spec/fixtures/expected/equation12.xml +12 -0
- data/spec/fixtures/expected/equation13.xml +39 -0
- data/spec/fixtures/expected/equation2.xml +8 -0
- data/spec/fixtures/expected/equation3.xml +64 -1
- data/spec/fixtures/expected/equation4.xml +0 -1
- data/spec/fixtures/expected/equation5.xml +6 -1
- data/spec/fixtures/expected/equation6.xml +5 -3
- data/spec/fixtures/expected/equation7.xml +4 -0
- data/spec/fixtures/expected/equation8.xml +3 -0
- data/spec/fixtures/expected/equation9.xml +2 -0
- data/spec/fixtures/expected/fences.xml +1538 -0
- data/spec/fixtures/expected/integrals.xml +1751 -0
- data/spec/fixtures/expected/sizes.xml +7 -0
- data/spec/fixtures/input/299.bin +0 -0
- data/spec/fixtures/input/fences.bin +0 -0
- data/spec/fixtures/input/integrals.bin +0 -0
- data/spec/spec_helper.rb +0 -5
- metadata +14 -2
@@ -323,12 +323,14 @@
|
|
323
323
|
<typeface>3</typeface>
|
324
324
|
<mt_code_value>0x0061</mt_code_value>
|
325
325
|
<options>0</options>
|
326
|
+
<variation>mathmode</variation>
|
326
327
|
</char>
|
327
328
|
<sub/>
|
328
329
|
<char>
|
329
330
|
<typeface>3</typeface>
|
330
331
|
<mt_code_value>0x0062</mt_code_value>
|
331
332
|
<options>0</options>
|
333
|
+
<variation>mathmode</variation>
|
332
334
|
</char>
|
333
335
|
<size>
|
334
336
|
<lsize>4</lsize>
|
@@ -338,6 +340,7 @@
|
|
338
340
|
<typeface>3</typeface>
|
339
341
|
<mt_code_value>0x0063</mt_code_value>
|
340
342
|
<options>0</options>
|
343
|
+
<variation>mathmode</variation>
|
341
344
|
</char>
|
342
345
|
<size>
|
343
346
|
<lsize>0</lsize>
|
@@ -347,12 +350,14 @@
|
|
347
350
|
<typeface>3</typeface>
|
348
351
|
<mt_code_value>0x0064</mt_code_value>
|
349
352
|
<options>0</options>
|
353
|
+
<variation>mathmode</variation>
|
350
354
|
</char>
|
351
355
|
<sub2/>
|
352
356
|
<char>
|
353
357
|
<typeface>3</typeface>
|
354
358
|
<mt_code_value>0x0065</mt_code_value>
|
355
359
|
<options>0</options>
|
360
|
+
<variation>mathmode</variation>
|
356
361
|
</char>
|
357
362
|
<size>
|
358
363
|
<lsize>0</lsize>
|
@@ -362,6 +367,7 @@
|
|
362
367
|
<typeface>3</typeface>
|
363
368
|
<mt_code_value>0x0066</mt_code_value>
|
364
369
|
<options>0</options>
|
370
|
+
<variation>mathmode</variation>
|
365
371
|
</char>
|
366
372
|
<size>
|
367
373
|
<lsize>0</lsize>
|
@@ -371,6 +377,7 @@
|
|
371
377
|
<typeface>3</typeface>
|
372
378
|
<mt_code_value>0x0067</mt_code_value>
|
373
379
|
<options>0</options>
|
380
|
+
<variation>mathmode</variation>
|
374
381
|
</char>
|
375
382
|
<end/>
|
376
383
|
</slot>
|
Binary file
|
Binary file
|
Binary file
|
data/spec/spec_helper.rb
CHANGED
@@ -19,11 +19,6 @@ RSpec.configure do |config|
|
|
19
19
|
config.filter_run :focus
|
20
20
|
config.run_all_when_everything_filtered = true
|
21
21
|
|
22
|
-
# Allows RSpec to persist some state between runs in order to support
|
23
|
-
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
24
|
-
# you configure your source control system to ignore this file.
|
25
|
-
config.example_status_persistence_file_path = "spec/examples.txt"
|
26
|
-
|
27
22
|
# Limits the available syntax to the non-monkey patched syntax that is
|
28
23
|
# recommended. For more details, see:
|
29
24
|
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mathtype
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jure Triglav
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -146,6 +146,7 @@ files:
|
|
146
146
|
- lib/records/tmpl.rb
|
147
147
|
- lib/records/typesizes.rb
|
148
148
|
- mathtype.gemspec
|
149
|
+
- spec/fixtures/expected/299.xml
|
149
150
|
- spec/fixtures/expected/arrows.xml
|
150
151
|
- spec/fixtures/expected/embellishments.xml
|
151
152
|
- spec/fixtures/expected/equation1.xml
|
@@ -161,7 +162,10 @@ files:
|
|
161
162
|
- spec/fixtures/expected/equation7.xml
|
162
163
|
- spec/fixtures/expected/equation8.xml
|
163
164
|
- spec/fixtures/expected/equation9.xml
|
165
|
+
- spec/fixtures/expected/fences.xml
|
166
|
+
- spec/fixtures/expected/integrals.xml
|
164
167
|
- spec/fixtures/expected/sizes.xml
|
168
|
+
- spec/fixtures/input/299.bin
|
165
169
|
- spec/fixtures/input/arrows.bin
|
166
170
|
- spec/fixtures/input/embellishments.bin
|
167
171
|
- spec/fixtures/input/equation1.bin
|
@@ -177,6 +181,8 @@ files:
|
|
177
181
|
- spec/fixtures/input/equation7.bin
|
178
182
|
- spec/fixtures/input/equation8.bin
|
179
183
|
- spec/fixtures/input/equation9.bin
|
184
|
+
- spec/fixtures/input/fences.bin
|
185
|
+
- spec/fixtures/input/integrals.bin
|
180
186
|
- spec/fixtures/input/sizes.bin
|
181
187
|
- spec/mathtype_spec.rb
|
182
188
|
- spec/spec_helper.rb
|
@@ -205,6 +211,7 @@ signing_key:
|
|
205
211
|
specification_version: 4
|
206
212
|
summary: A Ruby gem for reading MathType binaries and converting them to an XML form.
|
207
213
|
test_files:
|
214
|
+
- spec/fixtures/expected/299.xml
|
208
215
|
- spec/fixtures/expected/arrows.xml
|
209
216
|
- spec/fixtures/expected/embellishments.xml
|
210
217
|
- spec/fixtures/expected/equation1.xml
|
@@ -220,7 +227,10 @@ test_files:
|
|
220
227
|
- spec/fixtures/expected/equation7.xml
|
221
228
|
- spec/fixtures/expected/equation8.xml
|
222
229
|
- spec/fixtures/expected/equation9.xml
|
230
|
+
- spec/fixtures/expected/fences.xml
|
231
|
+
- spec/fixtures/expected/integrals.xml
|
223
232
|
- spec/fixtures/expected/sizes.xml
|
233
|
+
- spec/fixtures/input/299.bin
|
224
234
|
- spec/fixtures/input/arrows.bin
|
225
235
|
- spec/fixtures/input/embellishments.bin
|
226
236
|
- spec/fixtures/input/equation1.bin
|
@@ -236,6 +246,8 @@ test_files:
|
|
236
246
|
- spec/fixtures/input/equation7.bin
|
237
247
|
- spec/fixtures/input/equation8.bin
|
238
248
|
- spec/fixtures/input/equation9.bin
|
249
|
+
- spec/fixtures/input/fences.bin
|
250
|
+
- spec/fixtures/input/integrals.bin
|
239
251
|
- spec/fixtures/input/sizes.bin
|
240
252
|
- spec/mathtype_spec.rb
|
241
253
|
- spec/spec_helper.rb
|