[Top][All Lists]

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

Re: [AUCTeX] GNU AUCTeX 11.89.4 released to ELPA

From: François Patte
Subject: Re: [AUCTeX] GNU AUCTeX 11.89.4 released to ELPA
Date: Tue, 24 May 2016 11:11:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv: Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b2 Thunderbird/3.1.16

Hash: SHA1

Le 23/05/2016 19:40, Tassilo Horn a écrit :
> François Patte <address@hidden> writes:
> Hi François,
>>> If I understand correctly, you updated from a manually installed
>>>  release to the current ELPA version, right?  In that case, you 
>>> have to change your ~/.emacs a bit, too.  Namely, with a manually
>>> installed AUCTeX, your ~/.emacs contains
>>> ;; this line may not be there (add-to-list 'load-path 
>>> "/path/to/auctex") ;; but those two are probably there (load 
>>> "auctex.el" nil t t) (load "preview-latex.el" nil t t)
>>> With ELPA releases, you must not have those lines but everything
>>>  will be set up automatically.
>>> So please remove those lines and restart emacs.  Does that solve
>>>  the issue?
>> Thank you for answering but, no, nothing has changed.... I had only
>> this line: (add-to-list 'load-path "/path/to/auctex")
>> which I removed, but I still get the error message.
>> For auctex, I have this lines in my .emacs:
>> ;;; Auxtex (require 'tex-site) ;;(require 'beamer)
> Ah, ok.  The (require 'tex-site) must also not be there.  Basically, 
> anything that has to do with loading the package is automatically 
> configured by the ELPA package so anything you do yourself will 
> probably shoot you in the foot. :-)

Thank you for this answer:  I removed everything of the like and still I
got the message: (invalid-function TeX-auto-add-type)

So, according to this:

I reinstall the stuff from elpa and it works *but* I lost the automatic
addition of local variables at the end of a new file like:

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "journee_monde_indien-beamer"
%%% End:

2- I don't know hout to enable the beamer mode with this new version:
adding (require 'beamer) is not working!

Thank you

- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire MAP5 --- UMR CNRS 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora -


reply via email to

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