Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have Emacs 24 and MikTeX on Windows 7 professional and I have recently installed AUCTeX 11.86 from package-install.

The installation seems to have completed successfully, I even succeeded at compiling a latex sample file, but I can use AUCTeX only in the emacs instance where I issued the installation command, where it gets loaded by package-install. I can't do the same with a new emacs instance.

Nothing seems to have been written in my .emacs file upon installation and I can't find the auctex.el file, which the AUCTeX installations instructions report to be found inside the auctex directory (.emacs.d/elpa/auctex), to load AUCTeX at initialization time.

Any idea on how I can solve the issue?

share|improve this question
    
Please consider editing your profile name so that you don't have to sign with it since it will automatically appear in the lower right corner of your post. –  hpesoj626 Oct 28 '12 at 11:04
    
You should add the lines (load "auctex.e" nil t t) and (load "preview-latex.el" nil t t) in your .emacs (I think in windows the initialization has another name) –  Peter Breitfeld Oct 28 '12 at 13:06
    
@PeterBreitfeld: thanks, but that's the problem: I can't find /auctex.el/ anywhere on my disk. Other instruction on installing auctex on Windows don't refer to platform-specific scripts to be called in place of /auctex.el/. –  user881430 Oct 28 '12 at 13:29
1  
When installing AUCTeX from ELPA, you must not add (load "auctex.el" nil t t) and (load "preview-latex.el" nil t t) to your init file. –  Tassilo Horn Nov 1 '12 at 19:24
2  
I just flagged the question, asking for reopening. Reason is that I have found a solution that works for me, and that I would like to add as an answer. –  feklee Oct 1 '13 at 10:35
show 7 more comments

closed as too localized by lockstep, Kurt, mafp, Werner, Stefan Kottwitz Apr 11 '13 at 20:58

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.