auctex
[Top][All Lists]

## Re: [AUCTeX] [AUCTeX-devel] GNU AUCTeX 11.89.4 released to ELPA

 From: Marcin Borkowski Subject: Re: [AUCTeX] [AUCTeX-devel] GNU AUCTeX 11.89.4 released to ELPA Date: Sun, 22 May 2016 21:57:40 +0200 User-agent: mu4e 0.9.16; emacs 25.1.50.1

On 2016-05-22, at 18:51, Uwe Brauer <address@hidden> wrote:

> Which brings me to different question, when will 25 official be
> released? Because I think the documentation should say something about
> prettifying (but again maybe I am the only one who like that feature).

No, you're not the only one!  Even if prettifying has some rough edges.

BTW, here is a snippet from my init.el which removes one of these rough
edges:

(add-to-list 'tex--prettify-symbols-alist '("\\mathbb{R}" . 8477) t)
(add-to-list 'tex--prettify-symbols-alist '("\\mathbb{N}" . 8469) t)
(add-to-list 'tex--prettify-symbols-alist '("\\mathbb{P}" . 8473) t)
(add-to-list 'tex--prettify-symbols-alist '("\\mathbb{Q}" . 8474) t)
(add-to-list 'tex--prettify-symbols-alist '("\\mathbb{Z}" . 8484) t)

I guess adding these (and probably a few others, like \mathbb{C} - or
maybe just the alphabet wholesale) might be a good idea.  If there is
a need for a someone™ to prepare a patch, I may volunteer to be the
someone - just let me know.

Another (minor) issue is connected with the fact that spaces don't
disappear when prettifying:

\alpha\beta looks like αβ, but

\alpha x looks like α x.

I don't complain much, though, since I'm a bit afraid that the whole
prettifying infrastructure can't help that.  Also, due to how TeX
parsing works, it might actually be undesirable not to show those spaces
(however strange they look).

> Uwe

Best, and thanks for your work on AUCTeX!

PS. I don't have now much time to develop mu AUCTeX-related code, but
I'll try to devote sime time to it.  Then, I could submit a patch or
two.

--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science