Re: install on win2000pro

Ralf Angeli <[email protected]> Thu, 10 Mar 2005 18:22:00 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* j. p. grivet (2005-03-10) writes:

> Trouble  starts when I want to compile: for every file, when I click 
> latex, it complains that it cannot find file .tex, even though the file 
> (with complete path) appears in the emacs status bar. Surprisingly, 
> clicking latex interactive works fine.

There is nothing like "latex interactive" in AUCTeX 11.55.  Did you
change `TeX-command-list' somehow?  In case you did, does the error go
away upon removing this customization?

> Clicking view always brings the answer xdvi <filename>. How can I get 
> auctex to take into account by default that I have yap installed ? 
> Typing C-cC-c doesn't help, as auctex answers nomatch to 
> C:\texmf\miktek\bin\yap.exe (or same with /).
>
> One last point: the statement tek-mik.el is better for Win does not seem 
> warranted; it only gives access to tex commands, in my case.

How did you use it?  You should insert

(require 'tex-mik)

instead of `(require 'tex-site)' into your init file.  This should
modify the variables `TeX-view-style' and `TeX-output-view-style' in
such a way that Yap is called for viewing DVI files.  Of course, if
you have your own customizations interfering with this, it won't
work.  So my suggestion would be to try all of the above with a
minimal setup for AUCTeX.

-- 
Ralf