[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] preview.el only works with 32 bit ghostscript?
From: |
David Kastrup |
Subject: |
Re: [AUCTeX] preview.el only works with 32 bit ghostscript? |
Date: |
Thu, 19 Feb 2015 23:18:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Ista Zahn <address@hidden> writes:
> I've been having trouble generating previews on windows, and finally
> tracked it down to preview.el not finding gswin64c.exe (despite this
> being in my PATH preview-gs-command was nil) installed from
> http://www.ghostscript.com/download/gsdnld.html. I had to install the
> 32 bit version (also from
> http://www.ghostscript.com/download/gsdnld.htm) and add that to by
> PATH, after which preview-gs-command was correctly set and previews
> worked. Is this known/expected that 64 bit ghostscript will not work?
address@hidden:/usr/local/tmp/auctex$ git grep -i gswin..c
ChangeLog-preview: `system-type', using "GSWIN32C.EXE" on `windows-nt'.
ChangeLog-preview: gswin32c.exe as a problem source.
ChangeLog-preview: * doc/wininstall.texi: Add note about `gswin32c.exe'.
configure.ac: AC_CHECK_PROGS(GS, gs GSWIN32C.EXE, NONE)
configure.ac: EMACS_LISP([[lispGS]],[[(if (member dir (list \"NONE\" (if (eq
system-type 'windows-nt) \"GSWIN32C.EXE\" \"gs\"))) \"\" \`(defvar
preview-gs-command ,dir))]],-no-site-file,[[dir]],[["${GS}"]])
doc/wininstall.texi:gswin32c -h
doc/wininstall.texi:GS="@var{drive:/path/to/gswin32c.exe}" ./configure @dots{}
doc/wininstall.texi:should work for this purpose. @file{gswin32c.exe} is the
usual name for
preview.el.in: (executable-find "GSWIN32C.EXE")
address@hidden:/usr/local/tmp/auctex$
So in a way yes. What a stupid naming scheme. Maybe one should look
for gswin32c before gswin64c in case both are installed in a 32 bit
system. But I don't have an actual clue about Windows systems.
--
David Kastrup