auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Problem with preview-latex and ghostscript in suse 10


From: MrJ Man
Subject: Re: [AUCTeX] Problem with preview-latex and ghostscript in suse 10
Date: Mon, 9 Oct 2006 09:48:02 -0700 (PDT)

Most images are the ones with the red triangle showing
a man working. There are two with the stop sign, the
first one yields:
gs
-dOutputFile\=\(_region_.prv/tmp11138ojZ/pr1-2.png\)
-q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted
-dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
-sDEVICE\=png16m -r105.569x105.464
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.184314
0.309804 0.309804 setrgbcolor clippath fill 0.333333
0.419608 0.184314 setrgbcolor false setstrokeadjust 3
setlinewidth clippath strokepath matrix setmatrix true
{2 index{newpath}if round exch round exch moveto pop
false}{round exch round exch
lineto}{curveto}{closepath}pathforall pop fill
grestore 0.960784 0.870588 0.701961
setrgbcolor}{pop}ifelse}bind/PageSize[1
1]>>setpagedevice/preview-do{[count 3 roll save]3 1
roll dup length 0
eq{pop}{{setpagedevice}stopped{handleerror
quit}if}ifelse systemdict /.runandhide
known{{.runandhide}}if stopped{handleerror quit}if
count 1 gt{pop/exec errordict/stackoverflow get
exec}if aload pop restore}bind def
(_region_.prv/tmp11138ojZ/preview.ps)(r)file dup dup 0
setfileposition 92927()/SubFileDecode filter cvx exec
dup dup 140289 setfileposition 1393()/SubFileDecode
filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
   --nostringval--   false   false   false   141682  
141682   141682   140289
Execution stack:
   %interp_exit   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push 
 --nostringval--   --nostringval--   %loop_continue  
7   3   %oparray_pop   --nostringval--  
--nostringval--   false   1   %stopped_push  
.runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1137/3371(ro)(G)--   --dict:0/20(G)--  
--dict:86/200(L)--
Current allocation mode is local
Current file position is 31
GS<8>


and the second one:


gs
-dOutputFile\=\(_region_.prv/tmp11138ojZ/pr1-1.png\)
-q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted
-dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
-sDEVICE\=png16m -r105.569x105.464
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.184314
0.309804 0.309804 setrgbcolor clippath fill 0.333333
0.419608 0.184314 setrgbcolor false setstrokeadjust 3
setlinewidth clippath strokepath matrix setmatrix true
{2 index{newpath}if round exch round exch moveto pop
false}{round exch round exch
lineto}{curveto}{closepath}pathforall pop fill
grestore 0.960784 0.870588 0.701961
setrgbcolor}{pop}ifelse}bind/PageSize[1
1]>>setpagedevice/preview-do{[count 3 roll save]3 1
roll dup length 0
eq{pop}{{setpagedevice}stopped{handleerror
quit}if}ifelse systemdict /.runandhide
known{{.runandhide}}if stopped{handleerror quit}if
count 1 gt{pop/exec errordict/stackoverflow get
exec}if aload pop restore}bind def
(_region_.prv/tmp11138ojZ/preview.ps)(r)file dup dup 0
setfileposition 92927()/SubFileDecode filter cvx exec
dup dup 141682 setfileposition 886()/SubFileDecode
filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
   --nostringval--   false   false   false   141682
Execution stack:
   %interp_exit   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push 
 --nostringval--   --nostringval--   %loop_continue  
2   3   %oparray_pop   --nostringval--  
--nostringval--   false   1   %stopped_push  
.runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1137/3371(ro)(G)--   --dict:0/20(G)--  
--dict:86/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 1010
GS<5>
.

About the emacs environment, if you are typing a
document in a language other than english, you have to
constantly switch the input language from the one you
are writing the text into english for the latex
macros. This environment does this automatically for
most cases, as there are cases that deciding is
impossible. In order to use it, I would add it to the
LaTeX-mode-hook; "would" means that it only works
without preview-latex for some reason (I think the
order of loading is important, yet I cannot find a way
to change it without changing the auctex package).

Thanks for the quick response.

Regards

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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