|
@@ -1479,9 +1479,9 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
|
|
"%s" (substring ll i (1+ i))))
|
|
|
(throw 'exit nil))))))
|
|
|
(let ((start 0)
|
|
|
- (trans '(("\\" . "\\backslash")
|
|
|
- ("~" . "\\ensuremath{\\sim}")
|
|
|
- ("^" . "\\ensuremath{\\wedge}")))
|
|
|
+ (trans '(("\\" . "\\textbackslash{}")
|
|
|
+ ("~" . "\\textasciitilde{}")
|
|
|
+ ("^" . "\\textasciicircum{}")))
|
|
|
(rtn "") char)
|
|
|
(while (string-match "[\\{}$%&_#~^]" string)
|
|
|
(setq char (match-string 0 string))
|