On Tue, Jul 20 2010, Karl Maihofer wrote:

> is there a way to convert an unicode LaTeX-file with special
> characters to an ascii-file with the LaTeX equivalents of these
> characters?
>
> Example:
> Unicode file: รค
> Save as ascii: \"a
>
> Ideally back and forth.

Despite of the names and doc string (iso_8859-1 vs. utf-8), I think
these command should do what you want:

,----[ <f1> f iso-iso2tex RET ]
| iso-iso2tex is an interactive compiled Lisp function in `iso-cvt.el'.
| (iso-iso2tex FROM TO &optional BUFFER)
| 
| Translate ISO 8859-1 characters to TeX sequences.
| The region between FROM and TO is translated using the table TRANS-TAB.
| Optional arg BUFFER is ignored (for use in `format-alist').
`----

,----[ <f1> f iso-tex2iso RET ]
| iso-tex2iso is an interactive compiled Lisp function in `iso-cvt.el'.
| (iso-tex2iso FROM TO &optional BUFFER)
| 
| Translate TeX sequences to ISO 8859-1 characters.
| The region between FROM and TO is translated using the table TRANS-TAB.
| Optional arg BUFFER is ignored (for use in `format-alist').
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to