Re: Problem with MS Windows-based Installation

"Adam Johnson" <[email protected]> Tue, 15 Mar 2005 15:15:59 -0500
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
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")

Good luck.

BTW: I'm using AUCTeX 11.55
                         MikTeX 2.4
                         CVS Emacs 21.3.50.1
                         Windows XP.
--------
Best Regards,
Adam
----- Original Message ----- 
From: "eve" <[email protected]>
To: "Ciaran Taylor" <[email protected]>; <[email protected]>
Sent: Tuesday, March 15, 2005 3:09 PM
Subject: Re: Problem with MS Windows-based Installation


> First, thanks to Ciaran for replying.
>
> The tex-mik.el, however, does not solve everything. My book is
> in multiple tex files. When I use "view" from the master file, it does
> bring up YAP. When I use "view" from one of the component tex file,
> it calls again "xdvi". I am able to "latex" from the component tex files,
> which means my emacs file variables are correct.
>
> Jun
>
> On Sat, 12 Mar 2005 11:01:30 +0000, Ciaran Taylor
> <[email protected]> wrote:
>> eve wrote:
>>
>> >Hi Folks,
>> >
>> >Your instructions in INSTALL.WINDOWS may have missed a serious issue.
>> >Auctex-11.55 uses "xdvi" for displaying DVI. On a MS windows-based 
>> >machine,
>> >xdvi is not available. I think most people uses MiKTeX which gives us 
>> >"yap".
>> >
>> >I tried to do a quick fix in tex.el but found use of other X-window
>> >based programs
>> >such as xpdf. Simply put, Auctex-11.55 is NOT for MS windows-based 
>> >machines.
>> >I wish you have made that clear in your release note.
>> >
>> >regards,
>> >
>> >Jun
>> >
>> >
>> >
>> >
>> If you read
>>
>> INSTALL.WINDOWS  as far as point 9, then what you find is:
>>
>> 9. For GNU Emacs, the recommended way to activate AUCTeX is to add the
>>      following line to your `.emacs' file:
>>
>>           (require 'tex-site)
>>
>>      The configuration for Windows systems is probably not quite
>>      fitting.  Instead of loading `tex-site.el' in that manner, you
>>      might want to load `tex-mik.el' (for MikTeX) or `tex-fptex' (for
>>      fpTeX) instead.
>>
>> I'm using AUCTeX 11.55 on Windows XP Pro using (require 'tex-site) in my
>> .emacs and it calls YAP just fine, as does C-c C-v.  There is nothing
>> wrong with the AUCTeX installation instructions.
>>
>> By the way I'm also running preview-latex 0.9 on GNU Emacs 21.3.50.1
>> (i386-mingw-nt5.1.2600) of 2005-01-30 on NONIQPC which I qot from
>> http://nqmacs.sourceforge.net/.  That's working well (since I realised a
>> few things).  There have been a few crashes:  I'm not sure whether to
>> blame the CVS emacs, AUCTeX 11.55 or preview-latex 0.9.
>>
>>
>> Ciaran Taylor.
>>
>>
>>
>