[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: |
Hong Xu |
Subject: |
Re: [AUCTeX] preview-buffer not working on OS X? (PDF2DSC sentinel: Wrong type argument: arrayp, nil) |
Date: |
Tue, 09 Dec 2014 21:52:15 -0800 |
Ivan Andrus <address@hidden> writes:
> 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
Hi Ivan,
Thanks for your reply.
I checked the PATH environmental variable by running `M-x getenv`, it seems
everything is there.
I should also mention that the inline preview breaks after I upgraded from
AucTeX of a late October
version to the current version.
Hong
signature.asc
Description: PGP signature