auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Preview suddenly not working


From: David Kastrup
Subject: Re: [AUCTeX] Preview suddenly not working
Date: Tue, 16 Mar 2010 11:09:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Nathan Hüsken <address@hidden> writes:

> Hi,
>
> I do not know what I changed. Everything worked and suddenly, not
> previews are generated anymore. Only red stop signs are displayed.
>
> The error message I get when clicking on the stop signs is:
>
> gs -dOutputFile\=\(master.prv/tmp7037xks/pr1-1.png\) -q -dSAFER
> -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4
> -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r144x144.076
> 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 0 0 0 setrgbcolor clippath fill 1 1 1
> setrgbcolor}{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 /GS_PDF_ProcSet GS_PDF_ProcSet dup maxlength
> dict copy dup begin/graphicsbeginpage{//graphicsbeginpage exec 1 1 1 3
> copy rg RG}bind store end readonly store
> [(master.prv/tmp7037xks/preview.dsc)(r)file]aload exch dup 0
> setfileposition 14740()/SubFileDecode filter cvx .runandhide aload pop
> dup dup 14740 setfileposition 51()/SubFileDecode filter cvx<<>>preview-do
> Error: /undefined in copy_trailer_attrs
> Operand stack:
>
> 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--   1148   --nostringval--   %end_runandhide   --nostringval--
> Dictionary stack:
>    --dict:1162/1684(ro)(G)--   --dict:1/20(G)--   --dict:77/200(L)--  
> --dict:108/127(ro)(L)--   --dict:288/300(ro)(G)--   --dict:20/25(L)--
> Current allocation mode is local
> GS<1>

copy_trailer_attrs is not called by anything in preview-latex, so it
would appear like your version of dvips is incompatible with your
version of Ghostscript, or that Ghostscript is inconsistent on your
system.

Another possibility is that the apparent hack of copying GS_PDF_ProcSet
(I don't remember right now what this is supposed to do) no longer works
for some reason.

-- 
David Kastrup




reply via email to

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