[OS X Emacs] Latex Preview at Point error (Preview-Ghostscrpt-Error, invalidfileaccess)
David Rangel
dprangelito at gmail.com
Wed Dec 15 20:05:41 EST 2010
MacOSX-Emacs users:
I have recently installed Aquamacs on an OS X 10.6 system with TeXLive 2009
and Ghostscript. I am able to compile using LaTeX from the menu on Aquamacs
and View the output. However, When I want to Preview at Point, errors
appear at each equation: namely,
Error: /invalidfileaccess in --file-- (full output below)
I find that the _region_.pdf file has typeset all the necessary items to be
inserted into the Aquamacs buffer for previewing at point, but for some
reason, there is a problem having these appear in the buffer.
I have searched for a solution on the mailing lists, but have not found the
solution (perhaps because I am new to aquamacs, and auctex, I do not know
how to correctly word a search for the error).
Any help that can be provided will be most appreciated. The inline preview
would be very helpful to me.
Thank you.
_________
Full error output *Preview-Ghostscript-Error*
gs -dOutputFile\=\(_region_.prv/tmp9544PRe/pr1-1.png\) -q -dSAFER -dNOPAUSE
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
-sDEVICE\=png16m -r92.102x92.131
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 gsave 0.996109 0.996109 0.996109 setrgbcolor clippath fill
grestore }{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/tmp9544PRe/preview.dsc)(r)file]aload exch dup 0
setfileposition 1191()/SubFileDecode filter cvx .runandhide aload pop dup
dup 2193 setfileposition 55()/SubFileDecode filter cvx<<>>preview-do
Error: /invalidfileaccess in --file--
Operand stack:
--nostringval-- (_region_.prv/tmp9544PRe/preview.dsc) (r)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
%loop_continue --nostringval-- --nostringval-- false 1
%stopped_push .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1156/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 510
GS<3>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20101215/213e8688/attachment.html>
More information about the MacOSX-Emacs
mailing list