math-to-itex 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc9008b23eedaa458a2962e43000547a02dfb9d7
4
- data.tar.gz: e9d3cbf8ae1af8e27a30f85ae1a2fa0a61aeecea
3
+ metadata.gz: 85ec1f622ed0650bb8015af5ede8f2775cf8be9d
4
+ data.tar.gz: 5af32430d9ba4a0139531ce57149c8f11737c671
5
5
  SHA512:
6
- metadata.gz: 91cf777900121b4697153ac63b1f80566d33c7895a282b5ec140b165dc47b57942ab00482f613bdf46bf4b41c5e50b28898d27172caf365db9e158c766c5c2f4
7
- data.tar.gz: 0ba37e2ebce7d44ba1ddcfd073771ad85b8aa8d47fb639e6766aaf9ba872df73f9211544d8c0c110709b1c26f9a7dbfc8938205bf9fbf4daa1c157b7ba5833fe
6
+ metadata.gz: ce23506111f9b6503bcfc4ad46ea4a49850dc230b39ca25bacf6f0a814989bb20a2e4487265de7f26d527de6823f282293888bb75dd6077a5b07fcb0d3d3c50d
7
+ data.tar.gz: 7825e268c384f29a5f1eb51d922c79e91ef60eac7dc19a3846d5935d41697173863f01d6c9633263946b91507883da85635e9755d3b76c0b8f87878ef6c04b48
@@ -36,14 +36,14 @@ module MathToItex
36
36
 
37
37
  # this is the format itex2MML expects
38
38
  if type == :inline
39
- just_maths = "$#{just_maths}$"
39
+ all_maths = "$#{just_maths}$"
40
40
  else
41
- just_maths = "$$#{just_maths}$$"
41
+ all_maths = "$$#{just_maths}$$"
42
42
  end
43
43
 
44
- next(just_maths) if block.nil?
44
+ next(all_maths) if block.nil?
45
45
 
46
- yield just_maths, type
46
+ yield all_maths, type, just_maths
47
47
  end
48
48
  end
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module MathToItex
2
- VERSION = '0.4.0'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: math-to-itex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-05 00:00:00.000000000 Z
11
+ date: 2016-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake