I have problems previewing the following minimal document
\documentclass[a4paper]{article}
\usepackage{graphicx}
\begin{document}
\begin{center}
\includegraphics{ftaorig}
\end{center}
\end{document}
The file ftaorig.eps is a dvips-created eps and can be found at
http://www.fs.isy.liu.se/~frisk/tmp/ftaorig.eps
When pressing C-c C-p C-e inside the center environment it calls=20
preview-latex alright but ends in an exclamation mark and the error-log=20
below. I currently run with ghostscript 7.03 but I've tried 7.05 and=20
8.14 with the same result. Previewing eps-files normally work, but this=20
one fails me.
Anyone got a clue on the reason for this?
Regards,
Erik
gs -q -dSAFER -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted=20
-dTextAlphaBits\=3D4 -dGraphicsAlphaBits\=3D4 -sDEVICE\=3Dpng16m -r99.067=
x98.9985
GS>/.preview-BP currentpagedevice/BeginPage get dup null eq=20
{pop{pop}bind}if def <</BeginPage{currentpagedevice/PageSize get dup 0=20
get 1 ne exch 1 get 1 ne or{.preview-BP gsave 0.996109 0.996109 0.996109=20
setrgbcolor clippath fill 0.705882 0.933333 0.705882 setrgbcolor false=20
setstrokeadjust 3 setlinewidth clippath strokepath matrix setmatrix true=20
{2 index{newpath}if round exch round exch moveto pop false}{round exch=20
round exch lineto}{curveto}{closepath}pathforall pop fill grestore=20
}{pop}ifelse}bind/PageSize[1 1]>>setpagedevice/preview-do{[count 3 roll=20
save]3 1 roll{setpagedevice}stopped{handleerror quit}if cvx=20
systemdict/.runandhide known{.setsafe(AFPL Ghostscript)product=20
ne{<<>>setpagedevice}if{.runandhide}}if stopped{handleerror quit}if=20
count 1 ne{quit}if aload pop=20
restore<</OutputFile(/dev/null)>>setpagedevice}bind def=20
(_region_.prv/tmp13610c2j/preview.ps)(r)file dup dup 0 setfileposition=20
162195()/SubFileDecode filter cvx exec dup dup 162195 setfileposition=20
65356()/SubFileDecode filter cvx=20
<</OutputFile(_region_.prv/tmp13610c2j/prev001.png)>>preview-do
Error: /typecheck in --div--
Operand stack:
--nostringval-- 1 0 0.0 TeXcolorgray 65781.8
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--=20
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--=20
%loop_continue 2 3 %oparray_pop --nostringval--=20
--nostringval-- false 1 %stopped_push .runexec2=20
--nostringval-- --nostringval-- --nostringval-- 2 %stopped_push=20
--nostringval-- --nostringval-- false 1 %stopped_push=20
--nostringval-- --nostringval-- --nostringval-- 5=20
--nostringval-- %repeat_continue --nostringval-- --nostringval--=20
--nostringval--
Dictionary stack:
--dict:1008/1123(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)--=20
--dict:95/300(L)-- --dict:46/200(L)-- --dict:176/300(L)--
Current allocation mode is local
Last OS error: 2
Preview-GhostScript finished
Emacs : GNU Emacs 21.3.50.1 (sparc-sun-solaris2.9, X toolkit, Xaw3d=20
scroll bars)
of 2004-08-23 on alfa.isy.liu.se
Package: CVS-1.214
current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Output from running `gs -h':
AFPL Ghostscript 7.03 (2001-10-20)
Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =3D)
-dNOPAUSE no pause after page | -q `quiet', fewer=20
messages
-g<width>x<height> page size in pixels | -r<res> pixels/inch=20
resolution
-sDEVICE=3D<devname> select device | -dBATCH exit after last =
file
-sOutputFile=3D<file> select output file: - for stdout, |command for pi=
pe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
x11 bbox x11alpha x11cmyk x11gray2 x11gray4 x11mono bmpmono bmpgray
bmpsep1 bmpsep8 bmp16 bmp256 bmp16m bmp32b deskjet djet500 laserjet
ljetplus ljet2p ljet3 ljet3d ljet4 ljet4d lj5mono lj5gray cdeskjet
cdjcolor cdjmono cdj550 pj pjxl pjxl300 uniprint bj10e bj200 bjc600
bjc800 faxg3 faxg32d faxg4 pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmy=
k
pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw p=
ksm
pksmraw tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack tiff12nc
tiff24nc psmono psgray psrgb bit bitrgb bitcmyk pngmono pnggray png16
png256 png16m jpeg jpeggray pdfwrite pswrite epswrite pxlmono pxlcolo=
r
cljet5 cljet5c nullpage
Search path:
. : /home/fs/frisk/.kde/share/fonts :
/home/fs/frisk/usr/gs/share/ghostscript/7.03/lib :
/home/fs/frisk/usr/gs/share/ghostscript/fonts
For more information, see=20
/home/fs/frisk/usr/gs/share/ghostscript/7.03/doc/Use.htm.
Report bugs to bug-gs@..., using the form in Bug-form.htm.
(setq
AUC-TeX-version "CVS-5.448"
LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
image-types '(png gif tiff jpeg xpm xbm pbm postscript)
preview-image-type 'png
preview-image-creators '((postscript (open preview-eps-open)
(place preview-eps-place))
(dvipng
(open preview-gs-open preview-dvipng-process-setup)
(place preview-gs-place)
(close preview-dvipng-close))
(png (open preview-gs-open) (place preview-gs-place)
(close preview-gs-close))
(jpeg (open preview-gs-open)
(place preview-gs-place) (close preview-gs-close))
(pnm (open preview-gs-open) (place preview-gs-place)
(close preview-gs-close))
(tiff (open preview-gs-open)
(place preview-gs-place) (close preview-gs-close))
)
preview-gs-command "gs"
preview-gs-options '("-q" "-dSAFER" "-dDELAYSAFER" "-dNOPAUSE"
"-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=3D4"
"-dGraphicsAlphaBits=3D4")
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.1
preview-LaTeX-command '("%l \"\\nonstopmode\\PassOptionsToPackage{"
("," . preview-required-option-list)
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined"=20
preview-default-preamble "\\fi}\\input{%t}\"")
preview-required-option-list '("active" "tightpage" "auctex")
preview-default-option-list '("displaymath" "floats" "graphics")
preview-default-preamble '("\\RequirePackage["
("," . preview-default-option-list) "]{preview}"
"\\PreviewEnvironment{tabular}"
"\\PreviewEnvironment{picture}")
preview-LaTeX-command-replacements nil
preview-dump-replacements '(preview-LaTeX-command-replacements
("\\`\\(e?\\(pdf\\)?e?\\(la\\)?tex\\)\\(\\( -\\([^=20
\"]\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini \"&\\1\" "=20
preview-format-name ".ini \\7")
)
preview-undump-replacements=20
'(("\\`\\(e?\\(pdf\\)?e?\\(la\\)?tex\\)\\(\\( -\\([^=20
\"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'" "\\1 \"&"=20
preview-format-name "\" \\7")
)
preview-auto-cache-preamble 'ask
)
--=20
---------------------------------------------------------------------
Erik Frisk email: frisk@...
Dept. of Electrical Engineering tel: +46 13 285714
Link=F6ping University fax: +46 13 282035
S-581 83 Link=F6ping
SWEDEN http://www.fs.isy.liu.se/~frisk/
---------------------------------------------------------------------
|