bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] [SOLVED] recursive require


From: Salome \=\?iso-8859-1\?Q\?S\=F6dergran
Subject: Re: [Bug-AUCTeX] [SOLVED] recursive require
Date: Mon, 26 May 2014 11:18:14 +0200

Hi Mosè

(The other post went off too early, sorry!)

Am 25.5.2014 schrieb Mosè Giordano:
> Hi Salome,
> 
> 2014-05-24 16:06 GMT+02:00 Salome =?iso-8859-1?Q?S=F6dergran
> <address@hidden>:
> > With lots of try-and-error I managed to solve my problem with:
> >>  Error: (error "Recursive `require' for feature `tex-site'")
> > .
> > I think the two decisive things were the following:
> >
> > 1st, adding the auctex-path explicitly to the load path:
> >   (add-to-list 'load-path "~/.emacs.d/elpa/auctex-11.87.5")
> >
> >   2nd, putting (require 'tex-site) in the right place, e.g. /before/
> >   (require 'package)
> >   (package-initialize)
> >
> > Everything's up and running again :-)
> > Salome
> 
> if you install a package using the Emacs package manager you don't
> need to load it using a `require'.
> 
> Bye,
> Mosè

Thank you for the hint.
I've tried it a few more times with different settings.

For debugging  I have a  minimal init-file containing the following lines

    (setq debug-on-error t)
    (require 'package)
    (package-initialize)
    (add-hook 'LaTeX-mode-hook 'turn-on-auctex)

When I open a tex-file the major mode is LaTeX but  AUCTeX is not loaded. 
Where's the fault?

Thanks for your help!
Salome





reply via email to

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