[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.82, can't find directory (gs)
From: |
David Kastrup |
Subject: |
Re: [Bug-AUCTeX] 11.82, can't find directory (gs) |
Date: |
Sun, 05 Mar 2006 13:19:14 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"L. Larrabee Strow" <address@hidden> writes:
> 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
> somewher?
Looks like it. Actually I don't get it. Each Ghostscript call gets
recorded in the run buffer, and the output file name is not changed
from within preview-latex (which is not doable due to security
considerations). So it is a complete puzzler how Ghostscript can
actually put its output to a different directory. The only
possibility would be if Ghostscript was actually called with a
different command line than echoed above. But the logging and calling
code in preview-gs-restart very definitely shows the same file in the
log and in the actual call, and the respective passages are from
February 05.
I have no clue whatsoever how this could possibly happen with AUCTeX
11.82.
I can only assume that you are confusing this with output from
previous runs.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum