I am getting the following error when I am trying to run preview-latex on Mac OS X.
gs -dOutputFile\=\(_region_.prv/tmp55962dit/pr1-9.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r100.934x101.22
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/tmp55962dit/preview.dsc)(r)file]aload exch dup 0 setfileposition 2534()/SubFileDecode filter cvx .runandhide aload pop dup dup 2534 setfileposition 50()/SubFileDecode filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
--nostringval-- (_region_.prv/tmp55962dit/preview.dsc) (r) (r) (r) 2892 2892 2892 2840 2840 2840 2790 2790 2790 2737 2737 2737 2687 2687 2687 2636 2636 2636 2584 2584 2584 2534
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:1157/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)--
Current allocation mode is local
Current file position is 29
GS<27>