mathtype_to_mathml_plus 0.0.11 → 0.0.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4119d105bdd005436b357e3abbf95539763f68666ce328ab7fe363cf7389992
4
- data.tar.gz: d6ee8d1609ee77fb5e8da847ec9c1aefa4b8f6280b9acf37ae5122bd525024e7
3
+ metadata.gz: 85cd0eb5c630726efb03ca85bd1335c1774c5dafbd375d91d443301c68dacee0
4
+ data.tar.gz: 5521407466e6e3499f9be4e2c3120bfcb4b37ffc10b0aabc2bddd5059e2e442f
5
5
  SHA512:
6
- metadata.gz: d499e4ea87db766560c55bff1594b18e94e671a714b67b56225c5d90ca458d73590d87fa744c360129766219f21577f4c9bb93d76374222c8904dcd416f5f2b0
7
- data.tar.gz: 39eb09a9aeba2402c046d5b0a1dff5270a43c742b10f27d273b1c2288b2c56da89a1d5389b44ba03531d0d02766ffbafa11f75e8cdf8a0c975003e7715ae2d79
6
+ metadata.gz: 683bfd2ecb5f2e4581360d65ccb90d6b409b2b2c8923d1ebde7bd136ccaf8af2579fb8335bae069255ca9e671da0885304c3e93ef2d21400d0f49ec53d41ed89
7
+ data.tar.gz: 87e7fef3002301d52e2b442c11e2087738350961f1f4503d2c6fa85604d1a92fc99ea360a943e77dd790db0ccda56d24272251058f113bba65f0e026be1614cf
data/convert.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require_relative 'lib/mathtype_to_mathml_plus'
2
2
 
3
- converter = MathTypeToMathMLPlus::Converter.new("oleObject1.bin")
3
+ converter = MathTypeToMathMLPlus::Converter.new("oleObject2.bin")
4
4
  xml = converter.convert
5
5
 
6
6
  puts xml
@@ -1,3 +1,3 @@
1
1
  module MathTypeToMathMLPlus
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
data/lib/xsl/char.xsl CHANGED
@@ -25,14 +25,15 @@
25
25
  </xsl:template>
26
26
 
27
27
  <xsl:template match="char[variation = 'textmode']">
28
- <mtext>
28
+ <mi>
29
29
  <xsl:call-template name="charhex">
30
30
  <xsl:with-param name="mt_code_value" select="mt_code_value/text()" />
31
31
  </xsl:call-template>
32
- </mtext>
32
+ </mi>
33
33
  </xsl:template>
34
34
 
35
35
 
36
+
36
37
  <xsl:template match="char[typeface = '2']">
37
38
  <mn>
38
39
  <xsl:call-template name="charhex">
data/oleObject2.bin ADDED
Binary file
data/oleObject3.bin ADDED
Binary file
data/oleObject4.bin ADDED
Binary file
data/oleObject5.bin ADDED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mathtype_to_mathml_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Vu
@@ -191,6 +191,10 @@ files:
191
191
  - mathtype.log
192
192
  - mathtype_to_mathml.gemspec
193
193
  - oleObject1.bin
194
+ - oleObject2.bin
195
+ - oleObject3.bin
196
+ - oleObject4.bin
197
+ - oleObject5.bin
194
198
  - spec/fixtures/expected/280.xml
195
199
  - spec/fixtures/expected/281.xml
196
200
  - spec/fixtures/expected/299.xml