|
From: | Ralf Angeli |
Subject: | Re: [Bug-AUCTeX] 11.82; extra commented \begin{document} suppresses preview-latex |
Date: | Tue, 10 Jan 2006 13:26:23 +0100 |
* 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
[Prev in Thread] | Current Thread | [Next in Thread] |