bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.86; pngs not being generated by preview-latex


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] 11.86; pngs not being generated by preview-latex
Date: Mon, 11 Oct 2010 20:41:00 +0200

[Quoting repaired]

* Clark Taylor (2010-10-11) writes:

> On Mon, Oct 11, 2010 at 9:27 AM, Clark Taylor <address@hidden> wrote:
>> My error log follows (from the middle mouse button).  Thank you for your 
>> help!
>>
>> "GSWIN32C.EXE" "-dOutputFile=(_region_.prv/tmp3712kvc/pr1-1.png)" "-q"
>> "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4"
>> "-dGraphicsAlphaBits=4" "-sDEVICE=png16m" "-r70.4906x70.6156"
>> GS>{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP
>> currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if
>> def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1
>> get 1 ne or{.preview-BP }{pop}ifelse}bind/PageSize[1
>> 1]>>setpagedevice/preview-do{[count 3 roll save]3 1 roll dup length 0
>> eq{pop}{setpagedevice}{ifelse .runandhide}stopped{handleerror quit}if
>> aload pop restore}bind def
>> [(_region_.prv/tmp3712kvc/preview.dsc)(r)file]aload exch dup 0
>> setfileposition 520()/SubFileDecode filter cvx .runandhide aload pop
>> dup dup 623 setfileposition 50()/SubFileDecode filter
>> cvx<<>>preview-do
>> Error: /invalidfileaccess in --file--

The /invalidfileaccess error message seems to suggest that something
with respect to file handling has changed in Ghostscript.  (I haven't
checked the Ghostscript documentation with respect to that yet.)

> I just uninstalled ghostscript 9.00 and installed 8.71.  Everything
> now runs nicely.
>
> There must be something screwy with the interface between preview and
> 9.00.  Just so you know, when I ran things manually, 9.00 generated
> the png's just fine.

We've had a bug report in August which was related to file handling of
Ghostscript: http://article.gmane.org/gmane.emacs.auctex.general/3837

It looked like the openSUSE maintainers added a /PermitFileReading
statement to the gs call.  Perhaps we need to add such a statement as
well in AUCTeX proper?  I'll check this once Ghostscript 9.00 hits
Debian/sid.  If you are interested in acting as a guinea pig I can also
check the Ghostscript documentation sooner and try to come up with a
patch without reproducing the error myself.

-- 
Ralf



reply via email to

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