Re: rel-0-9; No previews with version 0.9
David Kastrup <[email protected]> Sat, 05 Mar 2005 00:05:46 +0100
| Newsgroups | gmane.emacs.latex.preview.devel |
|---|---|
| Message-ID | <x58y53ovud.fsf__7370.35069983012$1110017382$gmane$org@lola.goethe.zz> |
Frank K.=BCster <[email protected]> writes: > emacs -q --no-site-file > M-x toggle-debug-on-error RET > M-x load-library RET tex-site RET > M-x load-library RET preview-latex RET > C-x C-f latex/text/auctex/preview-gs-mini.tex > > ,---- > | \documentclass{book} > |=20 > | \usepackage[textmath]{preview} > |=20 > |=20 > | \begin{document} > |=20 > |=20 > | $a$ > |=20 > | \end{document} > |=20 > | %%% Local Variables:=20 > | %%% mode: latex > | %%% TeX-master: t > | %%% End:=20 > `---- > > C-c C-p C-b y=20 > > I get "Type `C-c C-l' to display results of compilation", but no > change in the file buffer. The image is generated, because in the > buffer of _region_.tex it is displayed. There are two output buffers: > > *~/latex/test/auctex/preview-gs-mini output* and > *~/latex/test/auctex/_region_ output*=20 > > The first contains: I have tracked this down now, but don't know an easy way to fix it. The problem is when caching the preamble only: in that case look at _region_.tex: the \message commands that are essential to tell preview-latex which file the _region_.tex file is actually from appear before \begin{document}, so mylatex.ltx skips them like the rest of the preamble instead of executing them again. The main problem is that AUCTeX should really, when running a region command, pick apart preamble and the rest in case that parts of the preamble appear in the region, and treat them separately, or using mylatex.ltx will not work. If anybody fixed this, I'd be grateful. It would also be an excellent example of why merging preview-latex and AUCTeX is a good idea: the bug reports are for preview-latex, the culprit really is AUCTeX. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ preview-latex-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click