--- Begin Message ---
Subject: |
Re: [Bug-AUCTeX] rel-0-9-1; Descriptions after the first figure can't be previewed |
Date: |
Tue, 05 Apr 2005 17:14:07 +0200 |
David Kastrup wrote:
>
>Well, I am currently in a rather bad mood since in a fit of stupidity
>I debugged this for at least an hour.
>
>Let me give you some advice (and I hope that I will remember it
>myself): if you are experiencing a problem with preview-latex, it is a
>good idea to check that the document would compile without using
>preview-latex in the first place.
>
>Try \usepackage{graphicx} in your preamble. If you excuse me, I have
>to go bang my head against the wall for some more time.
>
>
>
Dear David,
Thank you very much for the great effort!
I am sorry for my mistake. I added the sentence "\usepackage{graphicx}"
in the preamble just now, but the problem is the same. Actually I had
such a sentence in my original source file, I deleted it to get the
simplest source file. With this sentence added, the source file can now
be compiled correctly by latex, but the preview problem still exists.
The error message it gives is : error in process sentinel: End of
Preview snippet 5 unexpected
The source file and the bug report are in the below. It seems to me that
the bug report is the same as the previous one. I know little about
lisp, and can do nothing on it.....
Best Regards,
Tao
-------------------------------------------------------------------------
Below is the source file that I am using now
-------------------------------------------------------------------------
\documentclass[a4paper,11pt]{article}
\usepackage{graphicx}
\title{ The Viability Report }
\date{March, 2005}
\begin{document}
\listoffigures
\section{Introduction}
\label{sec:introduction}
\section{The Novice Calibration Method}
\label{sec:description}
\begin{figure}[htbp]
\includegraphics[width=0.9\textwidth]{unsorted}
\caption{The unsorted figure} \label{fig:unsorted}
\end{figure}
\section{conclusion}
\end{document}
-------------------------------------------------------------------------
Below is the bug report.
-------------------------------------------------------------------------
Emacs : GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-02-09 on carthago
Package: rel-0-9-1
current state:
==============
Output from running `gs -h':
AFPL Ghostscript 8.50 (2004-12-10)
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: x11
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 epswrite faxg3 faxg32d faxg4 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
tiff12nc tiff24nc tiff32nc tiffcrle tiffg3 tiffg32d tiffg4 tiffgray
tifflzw tiffpack tiffsep uniprint x11 x11alpha x11cmyk x11gray2 x11gray4
x11mono xcf
Search path:
. : /freeware/gs/share/ghostscript/8.50/lib :
/freeware/gs/share/ghostscript/8.50/Resource :
/freeware/gs/share/ghostscript/fonts
For more information, see /freeware/gs/share/ghostscript/8.50/doc/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.
(setq
AUC-TeX-version "10.0g"
LaTeX-command-style '(("." "latex"))
image-types '(png gif tiff jpeg xpm pbm postscript xbm)
preview-image-type 'png
preview-image-creators '((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-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
"-sDEVICE=tiff12nc"))
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\\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-default-option-list '("displaymath" "floats" "graphics"
"textmath" "sections" "footnotes")
preview-default-preamble '("\\RequirePackage[" ("," .
preview-default-option-list) "]{preview}[2004/11/05]")
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
)
--- End Message ---