Newbie question

Marco Gabiccini <[email protected]> Thu, 23 Sep 2010 15:29:20 +0200
Newsgroups gmane.emacs.latex.preview.bugs
Message-ID <[email protected]>
  Dear list,

I have just installed the precompiled AUCTeX 11.86 on emacs 23.2 on MS 
Windows Vista.

I have Miktex 2.8, Ghoscript 9.00.

I added the GS, HOME system variables as suggested in the AUCTeX manual.

I am able to process the circ.tex file obtaining the proper .dvi file.

When I invoke the C-c C-p- C-d

there is a long list of messages that ends with:

*******************************************************
[102]
! Preview: Snippet 103 started.
<-><->

l.452 \begin{figure}

! Preview: Snippet 103 ended.(14621882+116484x16496387).
<-><->

l.483 \end{figure}

[103] )
(see the transcript file for additional information)
Output written on circ.dvi (103 pages, 42664 bytes).
Transcript written on circ.log.

Preview-LaTeX exited as expected with code 1 at Thu Sep 23 15:16:25
LaTeX: LaTeX found no preview images

*******************************************************

the gswin32c -h command tells that pgn16 is supported, and
I have also added the line
(setq preview-image-type 'pnm)
that I have found in some other help site.

While I am writing I have just tried again the C-C C-p- C-p and I have 
obtained (on the circ.tex)
a lot of 'off-limits' signs and the following message

"GSWIN32C.EXE" "-dOutputFile=(_region_.prv/tmp59364P1/pr1-31.pbm)" "-q" 
"-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" 
"-dGraphicsAlphaBits=4" "-sDEVICE=pnmraw" "-r143.919x144.162"
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/tmp59364P1/preview.ps)(r)file]aload exch dup 0 
setfileposition 220601()/SubFileDecode filter cvx .runandhide aload pop 
dup dup 224610 setfileposition 112()/SubFileDecode filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
    --nostringval--   (_region_.prv/tmp59364P1/preview.ps)   (r)   (r)   
(r)   236185   236185   236185   236083   236083   236083   235976   
235976   235976   235791   235791   235791   235684   235684   235684   
235582   235582   235582   235475   235475   235475   235217   235217   
235217   235072   235072   235072   234947   234947   234947   229614   
229614   229614   227675   227675   227675   226638   226638   226638   
226536   226536   226536   226434   226434   226434   226332   226332   
226332   226217   226217   226217   226115   226115   226115   226013   
226013   226013   225906   225906   225906   225763   225763   225763   
225605   225605   225605   225484   225484   225484   225382   225382   
225382   225233   225233   225233   225094   225094   225094   224982   
224982   224982   224843   224843   224843   224722   224722   224722   
224610
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:1163/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--
Current allocation mode is local
Current file position is 31
GS<93>

I really have no idea what's wrong. Could someone help me, please?

Thanks,

Marco

-- 
Marco Gabiccini, PhD
Assistant Professor of Applied Mechanics and Robotics
Dept. of Mechanical, Nuclear and Production Engineering
University of Pisa, Italy
Phone:  +39-050-221.80.77
Fax:    +39-050-221.80.65
Homepage: http://www.dimnp.unipi.it/gabiccini-m/


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________