auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] PDF2DSC sentinel: Wrong type argument: arrayp, nil


From: David Kastrup
Subject: Re: [AUCTeX] PDF2DSC sentinel: Wrong type argument: arrayp, nil
Date: Wed, 25 Nov 2015 02:53:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

José Carlos Santos <address@hidden> writes:

> On 24/11/2015 15:10, address@hidden wrote:
>
>>> I am unable to preview images with Emacs 24.5.1 + AucTeX
>>> 11.89, working under Windows. Whenever I try to do that I
>>> get the "PDF2DSC sentinel: Wrong type argument: arrayp, nil"
>>> error. Please notice that I have both Ghostscript and GSView
>>> installed and that their binaries appear in my PATH. What
>>> can be the cause?
>>
>> I had a similar problem and it was caused by spaces in ghostscript's
>> path. Try customizing the variable
>>
>> preview-gs-command
>>
>> using short file names to your ghostscript path. For example, I have
>> ghostscript in
>>
>> C:\Program Files\gs\bin\gswin32c.exe
>>
>> so I customized (via customize-apropos) "preview-gs-command" with a value
>>
>> c:\PROGRA~1\GS\BIN\GSWIN32C.EXE
>>
>>
>> Try doing something similar in your case. Does that solve the problem?
>
> No. :-( I use the 64 bit version of Ghostscript and it looks like
> preview.el only works with 32 bit Ghostscript.

All of the respective executable names can be customized (by the way:
what kind of stupid idea is it to put the architecture in the executable
name?).

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]