to_ascii_latex 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/to_ascii_latex/version.rb +1 -1
- data/lib/to_ascii_latex.rb +3 -1
- data/publish.sh +6 -0
- metadata +4 -3
data/lib/to_ascii_latex.rb
CHANGED
@@ -29,7 +29,9 @@ module ToAsciiLatex
|
|
29
29
|
|
30
30
|
# Define this new method
|
31
31
|
def self.new_escape(s)
|
32
|
-
|
32
|
+
x = old_escape(s).gsub(MAPPING_RE){|c| MAPPING[c]}
|
33
|
+
warn "Unicode in #{txt.inspect}" if x.delete("^\u{0000}-\u{007F}") != x
|
34
|
+
return x
|
33
35
|
end
|
34
36
|
|
35
37
|
# Set up aliases.
|
data/publish.sh
ADDED
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.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -73,6 +73,7 @@ files:
|
|
73
73
|
- Rakefile
|
74
74
|
- lib/to_ascii_latex.rb
|
75
75
|
- lib/to_ascii_latex/version.rb
|
76
|
+
- publish.sh
|
76
77
|
- to_ascii_latex.gemspec
|
77
78
|
homepage: ''
|
78
79
|
licenses:
|
@@ -89,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
90
|
version: '0'
|
90
91
|
segments:
|
91
92
|
- 0
|
92
|
-
hash: -
|
93
|
+
hash: -101865169
|
93
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
95
|
none: false
|
95
96
|
requirements:
|
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
99
|
version: '0'
|
99
100
|
segments:
|
100
101
|
- 0
|
101
|
-
hash: -
|
102
|
+
hash: -101865169
|
102
103
|
requirements: []
|
103
104
|
rubyforge_project:
|
104
105
|
rubygems_version: 1.8.24
|