* Patrick Drechsler (2006-01-10) writes:

> after deleting the last 2 lines everything is fine:
[...]
> % \begin{document}
> % \end{document}
> --8<------------------------schnapp------------------------->8---
>
> Otherwise the following error occurs:
[...]
> | LaTeX: LaTeX found no preview images
> `----

You can work around this by using `preview-document' instead of
`preview-buffer' or by setting `LaTeX-header-end' and
`LaTeX-trailer-start' like this

(setq LaTeX-header-end "^[ \t]*\\\\begin *{document}"
      LaTeX-trailer-start "^[ \t]*\\\\end *{document}")

before latex.el is loaded.

I'll have to check if using these values as default has any negative
side effects.

-- 
Ralf


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to