> Uwe Brauer <o...@mat.ucm.es> 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 _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel