[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: How to convert unicode to ascii?
From: |
Reiner Steib |
Subject: |
[AUCTeX] Re: How to convert unicode to ascii? |
Date: |
Wed, 21 Jul 2010 08:41:46 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) |
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/