Ralf Angeli <[EMAIL PROTECTED]> writes:

> * David O. Lucca (2006-11-26) writes:
>
>> Hello, the preview-Latex displays the image after \end{frame}. 
>
> Using
>
> \documentclass{beamer}
> \usepackage[textmath,tracingall]{preview}
> \begin{document}
> \begin{frame}
>   Hallo $a = b$
> \end{frame}
> \end{document}
>
> I get the following output in the run buffer:
>
> --8<---------------cut here---------------start------------->8---
> ! Preview: Snippet 1 started.
> <-><->
>       
> [EMAIL PROTECTED] ...rrhelp {Not a real error.}\errmessage <
>                                                   }
> [EMAIL PROTECTED] #1->
>                  #1
> $... \futurelet [EMAIL PROTECTED] [EMAIL PROTECTED] }}{}
>                                                   [EMAIL PROTECTED] 
> [EMAIL PROTECTED] ... [EMAIL PROTECTED] $
>                                                   a = b$ \end [EMAIL 
> PROTECTED]
>
> \iterate ... [EMAIL PROTECTED] [EMAIL PROTECTED] 
>                                                   [EMAIL PROTECTED] \...
>
> \loop ...elax \expandafter \iterate \fi }\iterate 
>                                                   \let \iterate \relax 
> [EMAIL PROTECTED] ...ame by 1\relax \repeat 
>                                                   [EMAIL PROTECTED] \be...
> l.6 \end{frame}
>                
> Preview: Tightpage -32891 -32891 32891 32891
> ! Preview: Snippet 1 ended.(498346+0x1701421).
> <-><->
>       
> l.6 \end{frame}
>                
> [1]
> --8<---------------cut here---------------end--------------->8---
>
> So it looks like it's a problem in preview.sty.

Actually,

(info "(preview-latex) Misplaced previews.")

applies here.  While it is conceivable to create a beamer-specific
preview-latex configuration file
prbeamer.cfg
and let AUCTeX add a "beamer" argument to preview-default-option-list,
one would need to decide whether frames should be displayed as a whole
(\PreviewEnvironment{frame}) or just dissected into parts
(\PreviewEnvironment*{frame}).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


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

Reply via email to