auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Re: Missing latex macros


From: Ralf Angeli
Subject: Re: [AUCTeX] Re: Missing latex macros
Date: Thu, 25 Nov 2010 20:54:12 +0100

* Brian Elmegaard (2010-11-25) writes:

> Den 23-11-2010 22:48, Ralf Angeli skrev:
>
>> Maybe this is a stupid question, but are there actually LaTeX style
>> files below the directories you specified in `TeX-macro-global'?
>
> I think I have done it correctly. 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")
>
> and
[...]
>    c:/Program Files/MiKTeX 2.9/tex/latex/base:
>    total used in directory 1163 available 9592128
>    drwxrwxrwx  1 brel None      0 10-27 22:24 .
>    drwxrwxrwx  1 brel None      0 10-27 22:36 ..
>    -rw-rw-rw-  1 brel None   3003 2009-09-25  alltt.sty

Hm, that looks good so far.

Another thing you could try is to put the following code into the
*scratch* buffer (after AUCTeX was loaded) and type `C-j' with point
after the last closing paren.

(let ((TeX-kpathsea-path-delimiter nil))
  (TeX-search-files (append TeX-macro-private TeX-macro-global) '("sty") t t))

> I am, however, not sure if my setup is correct.
> TeX-macro-global is not known as a variable before I have opened a 
> laTeX-file. Is that correct?

Yep.

-- 
Ralf



reply via email to

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