[Top][All Lists]

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

Re: [Bug-AUCTeX] Re: [AUCTeX] preview-latex 0.9.1 released

From: David Kastrup
Subject: Re: [Bug-AUCTeX] Re: [AUCTeX] preview-latex 0.9.1 released
Date: Mon, 04 Apr 2005 22:10:24 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Adam Johnson" <address@hidden> writes:

> To: address@hidden
> Subject: rel-0-9-1; "End of Preview snippet 367 unexpected"
> --text follows this line--
> Remember to cover the basics.  Including a minimal LaTeX example
> file exhibiting the problem might help.
> (I cannot send the following message by Emacs,  I don't have a
> configuration there.  I just copy everything from there and paste it
> below.)

That is perfectly fine.  We can live with that.  And if you copy&paste
the subject line, stuff like this will make it through the filters
without moderation.

> When I use circ.tex for testing, preview-latex works fine.
> When I use my own LaTeX file,  it produced the following message,
> ----------------------------------------------
> Cache preamble? (y or n)
> Wrote d:/My Documents/My
> Research/Publications/Journal1/prv_journal1manuscript.ini

Uh Oh.  File names with spaces in them.  I don't feel safe around
them.  Probably nothing to do with your problem, though.

> Type `C-c C-l' to display results of compilation. [2 times]
> locating previews...
> Type `C-c C-l' to display results of compilation.
> error in process sentinel: preview-reraise-error: End of Preview
> snippet 367 unexpected
> error in process sentinel: End of Preview snippet 367 unexpected
> ----------------------------------------------
> I have a separate preamble file being included in this latex file.

That does not by itself mean anything.  It is impossible to guess your
document structure from this vague statement.  It does not help if you
describe some things using vague expressions that could mean anything.
Instead, you should try to create a toy document with the same problem
that you are describing, something that is not longer than a page, but
has the same sort of file structure, and that shows the same problem.
Then you can post that and the complete outputs, and we don't need to

> I also have many inline math equations.  Will these help?

No.  At the very least, we need the relevant output from LaTeX's run.
The stuff that gets displayed when you do C-c C-l.  Do a generous
cut&paste around snippet 367, including maybe the previous 3 snippets
and everything that follows before the LaTeX run is finished.

> (setq
>  AUC-TeX-version "11.55"
>  LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
>  image-types '(png tiff jpeg xpm xbm pbm)
>  preview-image-type 'pnm

Ouch.  From image-types, it would appear that your Emacs is compiled
with PNG support, so you just have to make sure that you have the
libraries installed.  Your GhostScript also claimed to support PNG, so
pnm is not really a good choice: slow and disk-intensive.

Nothing to do with your current problem, though.

Rest of the options looked standard.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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