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: Kendall Shaw
Subject: Re: How to translate LaTeX into UTF-8 in Elisp?
Date: Sat, 28 Jan 2017 00:15:47 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

There is a variable tex--prettify-symbols-alist that maps some tex symbols to code points. I think you can use the function set-buffer-file-coding-system to cause any file the buffer is saved to to be in utf-8, then use characters from tex--prettify-symbols-alis.


Kendall


On 12/08/2016 09:04 AM, Marcin Borkowski wrote:
Hi all,

I have a string with embedded sequences like "\'e" or "\H{o}".  The
Emacs TeX input method knows how to convert them into "é" or "ő" (when
typing, of course).  Is there a way to use that to perform similar
conversions in a string?

TIA,





reply via email to

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