Norman Fuchs <[EMAIL PROTECTED]> writes:

> I've been using an older version of emacs for some time now (under
> Windows XP), and I have used auctex (MikTeX) without much trouble.
> However, I noticed that there is a preview-latex system now
> available.  So, I downloaded the pre-compiled version of Emacs +
> AucTeX
>
> emacs+auctex-w32-2006-06-24.zip
>
> from the website
> http://www.gnu.org/software/auctex/download-for-windows.html.
>
> I have had trouble with getting preview-latex to work.  It complains
> that it can't find GSWIN32C.EXE.

The easiest way is to put its directory in your PATH environment
variable.

> I have it in C:\Program Files\gs\gs8.51\bin, and I've never had
> trouble viewing ps files inside emacs before.  For printing, I have
> the path to this file specified in my .emacs file, via
>
> (setq ps-lpr-command "C:\\gs\\gs8.51\\bin\\gswin32c")

Which is not the same as the above path, but that is probably just a
typo.  Anyhow, preview-latex looks for its Ghostscript in the variable
preview-gs-command instead.  Try setting that (its default on Windows
is likely "GSWIN32C.EXE" without explicit path).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to