auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] \Bbb{Q} tex--prettify-symbols-alist


From: David Kastrup
Subject: Re: [AUCTeX-devel] \Bbb{Q} tex--prettify-symbols-alist
Date: Sun, 11 Oct 2015 09:38:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

>    > Uwe Brauer <address@hidden> writes:
>
>    > That's nice but does not tell us in which context that private file of
>    > yours gets loaded.
>
> These are the lines in my init file
>
> ,----
> | (load "auctex.el" nil t t)
> | (load "preview-latex.el" nil t t)
> | 
> | (require 'tex-site)
> | ;(require 'change-prettify-list)
> | (require 'my-change-prettify-list)
> | (require 'my-fill-latex-sentence)
> | (require 'latex-keys)
> `----
>  and this is the file 
> my-change-prettify-list:
> ,----
> | (require 'tex-mode)

Uh, why?  That's Emacs' built-in TeX mode.  Why would you ever require
that in parallel with loading AUCTeX?

> | (dolist (el '(("\\setN" . ?\u2115)
> |           ("\\setP" . ?\u2119)
> |           ("\\setR" . ?\u211d)
> |           ("\\setQ" . ?ℚ)
> |           ("\\setC" . ?\u2102)
> |           ("\\quad" . ?␣)
> |           ("\\qquad" . ?\u29e2)
> |           ("\\varrho" . ?ϱ)
> |           ("\\setZ" . ?\u2124)))
> |   (add-to-list 'tex--prettify-symbols-alist el)) 
> | 
> | 
> | 
> | (provide 'my-change-prettify-list)
> `----
> again: \setR works, \setQ does not.

First try not to use Emacs' built-in TeX mode at the same time as using
AUCTeX, or any further analysis is likely a waste of time.

-- 
David Kastrup



reply via email to

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