auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] preview-buffer not working on OS X? (PDF2DSC sentinel: Wron


From: Ivan Andrus
Subject: Re: [AUCTeX] preview-buffer not working on OS X? (PDF2DSC sentinel: Wrong type argument: arrayp, nil)
Date: Tue, 9 Dec 2014 21:50:42 -0700

On Dec 9, 2014, at 1:22 AM, Hong Xu <address@hidden> wrote:
> 
> Hi all,
> 
> I got the following message when I run `C-c C-p C-b`:
> 
> Output written on _region_.pdf (114 pages, 184035 bytes).
> Transcript written on _region_.log.
> 
> TeX Output exited as expected with code 1 at Tue Dec  9 00:10:58
> Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf
> _region_.prv/tmp30254S6q/preview.dsc''
> 
> Preview-PDF2DSC finished at Tue Dec  9 00:10:58
> PDF2DSC sentinel: Wrong type argument: arrayp, nil
> 
> 
> M-x list-processes would give
> 
> Preview-Ghostscript run     *buffer/name --      
> -dOutputFile=(_region_.prv/tmp30254S6q/pr1-%d.png) -q -dNOPAUSE -DNOPLATFONTS 
> -dPrinted -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=png16m 
> -r110.557x110.613
> 
> Seems Preview-Ghostscript does not find rungs or gs, which I have installed. 
> Don't know if this is a
> bug.

My guess is that your PATH isn’t set correctly inside Emacs.  This is quite 
easy to have happen on OS X.  See, for example, the following Stack Overflow 
question for all the nuances

http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x

-Ivan


reply via email to

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