Re: Problem with MS Windows-based Installation

Ralf Angeli <[email protected]> Tue, 15 Mar 2005 22:12:36 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* Adam Johnson (2005-03-15) writes:

> I'm using AUCTeX on Windows XP and also in multifile case.  It works fine 
> here.
>
> Are you using both tex-mik and tex-site?  If not, try to put the following 
> sentences in your .emacs.  I can access Yap from main file or sub files.
>
> ;; tex-mik is needed for using yap to preview dvi file
> (require 'tex-mik)
> (load "tex-site")

This is _not_ good!  tex-mik.el already `require's tex-site.el.  That
means it will load the file but only if it was not loaded before.
With your `(load "tex-site")' statement you are not checking if the
file is already loaded by unconditionally load it _again_.  It would
be better to remove this line.

-- 
Ralf