[Top][All Lists]

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

[Bug-AUCTeX] 11.82, can't find directory (gs)

From: L. Larrabee Strow
Subject: [Bug-AUCTeX] 11.82, can't find directory (gs)
Date: Thu, 23 Feb 2006 17:02:50 -0500
User-agent: Thunderbird 1.5 (Windows/20051201)

From what I can tell, everything worked fine until xemacs (cygwin, windows xp) attempted to
show the preview, and it couldn't find the files.  The .tex log file
is very happy, until the end with the following report:


  Preview-LaTeX exited as expected with code 1 at Thu Feb 23 16:41:59
Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf tuning.prv/tmpMyAVMo/preview.dsc''

  Preview-PDF2DSC finished at Thu Feb 23 16:42:06
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(tuning.prv/tmpMyAVMo/pr1-\%d.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r112.472x112.611'' Ghostscript filter: Opening input file: No such file or directory, /home/strow/Work/Airs/Co2/Mfiles/tuning.prv/tmpMyAVMo/pr1-1.png

  The only file in tuning.prv/tmpMyAVMo is preview.dsc
  but there is another directory, created at the same time

  drwxr-xr-x+ 2 strow None 0 Feb 23 16:42 tmpMyAl-L

  and this directory is full of what appear to be the proper .png
  files for previewing this .tex file output (tuning.tex).

So, it seems as if temporary directory names are getting screwed up

Emacs : XEmacs 21.4 (patch 15) "Security Through Obscurity" [Lucid] (i686-pc-cygwin, Mule) of Tue Feb 24 2004 on summer
Package: 11.82

current state:

Output from running `gs -h':
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 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: bmpmono
Available devices:
   bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256
   bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono
   cljet5 cljet5c deskjet devicen djet500 eps9high eps9mid epson epsonc
   epswrite faxg3 faxg32d faxg4 ibmpro 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
   pngalpha pnggray pngmono pnm pnmraw ppm ppmraw psdcmyk psdrgb psgray
   psmono psrgb pswrite pxlcolor pxlmono spotcmyk stcolor tiff12nc tiff24nc
   tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack uniprint xcf
Search path:
   . : /usr/share/ghostscript/8.15/lib :
   /usr/share/ghostscript/8.15/Resource : /usr/share/ghostscript/fonts
Initialization files are compiled into the executable.
For more information, see /usr/share/doc/ghostscript-8.15/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.

 AUC-TeX-version "11.82"
 LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
 preview-image-type 'png
 preview-image-creators '((dvipng
                                          (open preview-gs-open 
                                          (place preview-gs-place)
                                          (close preview-dvipng-close))
                                         (png (open preview-gs-open) (place 
                                          (close preview-gs-close))
                                         (jpeg (open preview-gs-open)
                                          (place preview-gs-place) (close 
                                         (pnm (open preview-gs-open) (place 
                                          (close preview-gs-close))
                                         (tiff (open preview-gs-open)
                                          (place preview-gs-place) (close 
 preview-dvipng-image-type 'png
preview-dvipng-command "dvipng -picky -noghostscript %d -o \"%m/prev%%03d.png\""
 preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
 preview-gs-command "gs"
preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted"
                                  "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
 preview-gs-image-type-alist '((png png "-sDEVICE=png16m")
                                                 (dvipng png "-sDEVICE=png16m")
                                                 (jpeg jpeg "-sDEVICE=jpeg")
                                                 (pnm pbm "-sDEVICE=pnmraw")
                                                 (tiff tiff 
 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 1.5
preview-LaTeX-command '("%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{"
                                        ("," . preview-required-option-list)
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble "\\fi}\\input{%t}\"")
 preview-required-option-list '("active" "tightpage" "auctex"
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath"
                                                 "sections" "footnotes")
 preview-default-preamble '("\\RequirePackage["
                                           ("," . preview-default-option-list)
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
("\\`\\([^ ]+\\)\\(\\( -\\([^ \"]\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini \"&\\1\" " preview-format-name ".ini \\5")
preview-undump-replacements '(("\\`\\([^ ]+\\)\\(\\( -\\([^ \"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'" "\\1 \"&" preview-format-name "\" \\5")
 preview-auto-cache-preamble 'ask

L. Larrabee Strow                            E-mail: address@hidden
Department of Physics                        FAX   : (410) 455-1072
University of Maryland Baltimore County      Phone : (410) 455-2528
1000 Hilltop Circle                          Cell  : (724) 288-6933
Baltimore, MD 21250                          Office: Physics 429

reply via email to

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