to_ascii_latex 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ToAsciiLatex
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -35,7 +35,7 @@ module ToAsciiLatex
35
35
 
36
36
  # Define this new method
37
37
  def self.new_escape(s)
38
- x = old_escape(s).gsub(MAPPING_RE){|c| MAPPING[c]}
38
+ x = old_escape(s).gsub(MAPPING_RE){|c| MAPPING[c]}.gsub('\backslash{}', '\ensuremath{\backslash}')
39
39
  warn "Unicode in #{x.inspect}" if x.delete("^\u{0000}-\u{007F}") != x
40
40
  return x
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: to_ascii_latex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: -499851199
93
+ hash: 19788211
94
94
  required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  segments:
101
101
  - 0
102
- hash: -499851199
102
+ hash: 19788211
103
103
  requirements: []
104
104
  rubyforge_project:
105
105
  rubygems_version: 1.8.24