[Top][All Lists]

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

Re: [AUCTeX] autocomplete only for Latex commands/keywords?

From: Tassilo Horn
Subject: Re: [AUCTeX] autocomplete only for Latex commands/keywords?
Date: Wed, 29 May 2013 15:35:26 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Jannis <address@hidden> writes:

>> Yes.  So it seems the problem is that your auctex installation is
>> lacking the style files like graphicx.el.  They should reside in a
>> directory listed in `TeX-style-path'.  Do `C-h v TeX-style-path' to
>> check the value.
>> Is there a graphicx.el in some of those directories?  If not, your
>> auctex installation seems to be incomplete.
> TeX-style-path is a variable defined in `tex.el'.
> Its value is
> ("style/" "auto/" "/usr/share/emacs21/site-lisp/auctex/style/"
> "/var/lib/auctex/emacs21/" "/usr/local/share/emacs/site-lisp/auctex/style/")

You aren't using Emacs 21, are you?

> None of the latter three directories exists.

Ok.  So are AUCTeX's package style files installed somewhere else?  Try

  $ locate graphicx.el

If it is somewhere, add it's containing directory to `TeX-style-path'
like so:

  (add-to-list 'TeX-style-path "/the/dir/with/graphicx/")

If it's not found, then your AUCTeX installation is lacking the style
files making the auto-completion of macros and environments provided by
used packages unavailable to you.

In any way, your AUCTeX installation is not how it's supposed to be.  It
should just work.  How did you install it?

> The auto dierectory is a subdirectory of the directory with the tex
> file and it contains a filename.el file with the following content:

That's ok.


reply via email to

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