auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] latex-pretty-symbols.el and subscripts (x-symbol): do


From: Uwe Brauer
Subject: Re: [AUCTeX-devel] latex-pretty-symbols.el and subscripts (x-symbol): don't display _ or ^
Date: Mon, 24 Aug 2015 16:39:52 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4 (gnu/linux)

   > Uwe Brauer <address@hidden> writes:

   > Just for the record: I've just added `prettify-symbols-mode' support for
   > (La)TeX to Emacs' built-in tex-mode.el.  If you run a very, very recent
   > emacs, you could activate that in AUCTeX using

21.4.1 is recent enough?

   >   (setq-local prettify-symbols-alist tex--prettify-symbols-alist)
   >   (add-function :override (local 'prettify-symbols-compose-predicate)
   >                 #'tex--prettify-symbols-compose-p)

Does this function also provide the inverse
conversation/recoding/translation/unprettifying?

The package  latex-pretty-symbols.el does not.

   > in a function in LaTeX-mode-hook.  I'll add that do AUCTeX, too (if
   > p-s-m is available).
Aehm what is p-s-m?

   > The above also displayes the _ and 1 as-is. I didn't really test,
   > but I think `prettify-symbols-mode' can't really do this. It can
   > just take symbols (in the syntax-table sense) and compose them to
   > some unicode character. That doesn't suffice for what you are
   > looking for.

Well but it is better than nothing. BTW what is about TeX-folding as you
type as I discussed with Mosè?

Thanks

Uwe 



reply via email to

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