I hope it is ok to ask questions here. I'm not a really all that proficient
in Linux, so sorry if this is a dumb question. I've looked over the manual
and known problems, but didn't find anything relevant.
I am using Emacs 23.3.1 with ghost script 9.04 on Ubuntu 12.04
The problem is I get nothing but red signs when trying to generate
previews. The error messages are incomprehensible to me. Here is one from
an attempt to render a simple $A$ at a point:
gs -dOutputFile\=\(_region_.prv/tmp6465dBV/pr1-1.png\) -q -dSAFER -dNOPAUSE
> -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
> -sDEVICE\=png16m -r94.2656x94.3773
> 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/tmp6465dBV/preview.ps)(r)file]aload
> exch dup 0 setfileposition 24344()/SubFileDecode filter cvx .runandhide
> aload pop dup dup 24344 setfileposition 98()/SubFileDecode filter
> cvx<<>>preview-do
> Error: /invalidfileaccess in --file--
> Operand stack:
> --nostringval-- (_region_.prv/tmp6465dBV/preview.ps) (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:1167/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)--
> Current allocation mode is local
> Last OS error: 2
> Current file position is 441
> GS<3>
>
Using all my powers of logical deductive inference I presume the "gs" at
the beginning of the error message indicates the problem has to something
to do with ghostscript, but I'm not sure of what the rest means. I could
pour through the ghostscipt docs but I was hoping perhaps I could get a
helpful hint here to focus my efforts. Any helpful hints would be greatly
appreciated :)
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex