[Top][All Lists]

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

[Bug-AUCTeX] rel-0-8-1; preview-latex failes

From: Stefan Förster
Subject: [Bug-AUCTeX] rel-0-8-1; preview-latex failes
Date: Sat, 6 May 2006 09:11:03 +0200
User-agent: KMail/1.8.3


wheneverI run preview-latex I get the following error:

--- Text from Preview-Ghostscript-Error ---

gs -q -dSAFER -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r78.1351x78.8847
GS>/.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 
0.705882 0.933333 0.705882 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 
}{pop}ifelse}bind/PageSize[1 1]>>setpagedevice/preview-do{[count 3 roll save]3 
1 roll{setpagedevice}stopped{handleerror quit}if cvx systemdict/.runandhide 
known{.setsafe(AFPL Ghostscript)product ne{<<>>setpagedevice}if{.runandhide}}if 
stopped{handleerror quit}if count 1 ne{quit}if aload pop 
restore<</OutputFile(/dev/null)>>setpagedevice}bind def 
(_region_.prv/tmp22324RQb/preview.dsc)(r)file dup dup 0 setfileposition 
2305()/SubFileDecode filter cvx exec dup dup 2305 setfileposition 
53()/SubFileDecode filter cvx 
AFPL Ghostscript 8.53: **** Could not open the file  .
Error: /invalidfileaccess in --.outputpage--
Operand stack:
   1   true
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--   --nostringval--   false 
  1   %stopped_push   1148   --nostringval--   %end_runandhide   
--nostringval--   --nostringval--   --nostringval--   0   8   %oparray_pop   
--nostringval--   --nostringval--
Dictionary stack:
   --dict:1129/1686(ro)(G)--   --dict:2/20(G)--   --dict:77/200(L)--   
--dict:105/127(ro)(G)--   --dict:258/347(ro)(G)--   --dict:20/24(L)--   
--dict:4/6(L)--   --dict:23/31(L)--
Current allocation mode is local
Last OS error: 2

Preview-GhostScript finished
--- Text from Preview-Ghostscript-Error ---


Emacs  : GNU Emacs 21.4.1 (i686-pc-linux-gnu, Motif Version 2.2.3)
 of 2006-03-28 on gandalf
Package: rel-0-8-1

current state:

Output from running `gs -h':
AFPL Ghostscript 8.53 (2005-10-20)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: x11
Available devices:
   bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256
   bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono
   cfax cljet5 cljet5c cups deskjet devicen djet500 epswrite faxg3 faxg32d
   faxg4 hl1240 hl1250 ijs jpeg jpeggray laserjet lj5gray lj5mono ljet2p
   ljet3 ljet3d ljet4 ljet4d ljetplus nullpage pbm pbmraw pcx16 pcx24b
   pcx256 pcxcmyk pcxgray pcxmono pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl
   pjxl300 pkm pkmraw pksm pksmraw png16 png16m png256 png48 pngalpha
   pnggray pngmono pnm pnmraw ppm ppmraw psdcmyk psdrgb psgray psmono psrgb
   pswrite pxlcolor pxlmono rinkj spotcmyk tiff12nc tiff24nc tiff32nc
   tiffcrle tiffg3 tiffg32d tiffg4 tiffgray tifflzw tiffpack tiffsep
   uniprint x11 x11alpha x11cmyk x11gray2 x11gray4 x11mono xcf
Search path:
   . : /home/stefan/.fonts : /usr/share/ghostscript/8.53/lib :
   /usr/share/ghostscript/8.53/Resource :
For more information, see /usr/share/ghostscript/8.53/doc/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.

 AUC-TeX-version "11.55"
 LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
 image-types '(png tiff jpeg xpm pbm postscript xbm)
 preview-image-type 'png
 preview-image-creators '((postscript (open preview-eps-open) (place 
                          (dvipng (open preview-dvipng-open) (place 
preview-gs-place) (close preview-dvipng-close))
                          (png (open preview-gs-open png ("-sDEVICE=png16m")) 
(place preview-gs-place) (close preview-gs-close))
                          (jpeg (open preview-gs-open jpeg ("-sDEVICE=jpeg")) 
(place preview-gs-place) (close preview-gs-close))
                          (pnm (open preview-gs-open pbm ("-sDEVICE=pnmraw")) 
(place preview-gs-place) (close preview-gs-close))
                          (tiff (open preview-gs-open tiff 
("-sDEVICE=tiff12nc")) (place preview-gs-place) (close preview-gs-close)))
 preview-gs-command "gs"
 preview-gs-options '("-q" "-dSAFER" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" 
"-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
 preview-fast-conversion t
 preview-prefer-TeX-bb nil
 preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
 preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
 preview-scale-function 'preview-scale-from-face
 preview-LaTeX-command '("%l \"\\nonstopmode\\PassOptionsToPackage{" ("," . 
                         preview-default-preamble "\\fi}\\input{%t}\"")
 preview-required-option-list '("active" "tightpage" "auctex")
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath" 
"sections" "footnotes")
 preview-default-preamble '("\\RequirePackage[" ("," . 
preview-default-option-list) "]{preview}")
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
                             ("\\`\\(e?\\(pdf\\)?e?\\(la\\)?tex\\)\\(\\( -\\([^ 
\"]\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini \"&\\1\" " 
preview-format-name ".ini \\7"))
 preview-undump-replacements '(("\\`\\(e?\\(pdf\\)?e?\\(la\\)?tex\\)\\(\\( 
-\\([^ \"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'" "\\1 \"&" 
                                "\" \\7")
 preview-auto-cache-preamble 'ask

Attachment: pgpUaSYatpz6T.pgp
Description: PGP signature

reply via email to

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