help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to translate LaTeX into UTF-8 in Elisp?


From: Emanuel Berg
Subject: Re: How to translate LaTeX into UTF-8 in Elisp?
Date: Mon, 03 Jul 2017 07:43:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> I'm revisiting this old thread now. Since I got no
> satisfying answers back then, here is my plan for
> solution. I'm going first to map \', \` etc.
> onto /names/ (this is a rather short list!),
> construct a Unicode name of the character I want and
> then use =ucs-names=.
>
> For instance, \' maps to "ACUTE", then \'a will map
> to "LATIN SMALL LETTER A ACUTE" and this can be fed
> into =char-from-name=.
>
> It is a horrible hack

On the contrary. Add another layer of abstraction.

If you setup the names consistently it is even
a good-looking solution.

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]