Thanks for the reply.
I believe I have already specified this as required. I have:
TeX-macro-global is a variable defined in `tex.el'.
Its value is
("C:/Program Files/MiKTeX 2.9/tex/" "C:/Program Files/MiKTeX 2.9/bibtex/bst")

I was not completely precise in my explanation. Actually, I do get completion of latex macros, but only preview.sty which is in the auctex directory.

Any hints?

Brian

Den 16-11-2010 21:57, Ralf Angeli skrev:
* Brian Elmegaard (2010-11-15) writes:

I have GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1
obtained from http://ftp.gnu.org/gnu/emacs/windows/ and auctex for
windows auctex-11.86-e23.2-msw.zip from
http://www.gnu.org/software/auctex/download-for-windows.html.

I have unpacked emacs to c:\Program Files\emacs23.2 and copied the
contents of auctex to this directory.

I can open tex-files and compile, so it seems to work.

However, I cannot get it to do auto-completion when I insert \usepackage.

I cannot figure out what I need.

Is kpsewhich in the path?  That's used to determine a valid default for
the variable `TeX-macro-global'.  (Though I am not sure if this still
works with MiKTeX which I assume you are using.)  So if it does not work
even with kpsewhich in the path you can set the variable yourself as
suggested in the installation instructions under
(info "(auctex)Customizing").




_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to