MacOSX-Emacs users:<div><br></div><div>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,</div>
<div>Error: /invalidfileaccess in --file--  (full output below)</div><div>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.  </div>
<div>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).  </div><div>Any help that can be provided will be most appreciated.  The inline preview would be very helpful to me.</div>
<div><br></div><div>Thank you.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>_________</div><div><br></div><div>Full error output *Preview-Ghostscript-Error* </div><div><br></div><div><div>gs -dOutputFile\=\(_region_.prv/tmp9544PRe/pr1-1.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r92.102x92.131</div>
<div>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</div>
<div>Error: /invalidfileaccess in --file--</div><div>Operand stack:</div><div>   --nostringval--   (_region_.prv/tmp9544PRe/preview.dsc)   (r)</div><div>Execution stack:</div><div>   %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--</div>
<div>Dictionary stack:</div><div>   --dict:1156/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--</div><div>Current allocation mode is local</div><div>Last OS error: 2</div><div>Current file position is 510</div><div>
GS<3></div></div>