Discussion:
Problem with MS Windows-based Installation
eve
2005-03-12 06:34:01 UTC
Permalink
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
Christian Schlauer
2005-03-14 11:33:14 UTC
Permalink
Post by eve
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.
Read _all_ of INSTALL.windows. Especially point 9.
--
Christian Schlauer
eve
2005-03-15 20:09:18 UTC
Permalink
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
Post by eve
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
9. For GNU Emacs, the recommended way to activate AUCTeX is to add the
(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.
Adam Johnson
2005-03-15 20:15:59 UTC
Permalink
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" <***@gmail.com>
To: "Ciaran Taylor" <***@eircom.net>; <auc-***@sunsite.dk>
Sent: Tuesday, March 15, 2005 3:09 PM
Subject: Re: Problem with MS Windows-based Installation
Post by eve
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
Post by eve
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
9. For GNU Emacs, the recommended way to activate AUCTeX is to add the
(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.
Ralf Angeli
2005-03-15 21:12:36 UTC
Permalink
Post by Adam Johnson
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
Adam Johnson
2005-03-15 21:32:09 UTC
Permalink
Thanks, Ralf. You're right. It still works fine after I removed (load
"tex-site").

BTW: I'm using AUCTeX 11.55
MikTeX 2.4
CVS Emacs 21.3.50.1
Windows XP.
--------
Best Regards,
Adam

----- Original Message -----
From: "Ralf Angeli" <***@iwi.uni-sb.de>
Sent: Tuesday, March 15, 2005 4:12 PM
Subject: Re: Problem with MS Windows-based Installation
Post by Ralf Angeli
Post by Adam Johnson
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
Loading...