Method: LatexToUnicode.preprocess
- Defined in:
- lib/latex-to-unicode.rb
.preprocess(str) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/latex-to-unicode.rb', line 6 def self.preprocess(str) str = str.gsub(/\s/, '') str = translate(str, ALIASES) str = translate(str, WHITESPACE) str = translate(str, SYMBOLS) end |