[Top][All Lists]

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

[AUCTeX] Re: Missing latex macros

From: Brian Elmegaard
Subject: [AUCTeX] Re: Missing latex macros
Date: Wed, 17 Nov 2010 08:53:28 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv: Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

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?


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 and auctex for
windows from

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").

reply via email to

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