[email protected] writes:
Hi Giacomo,
> as preview-mode works, there is a way to have pdflatex load
> preview.sty w/o going south, isn't it?
--8<---------------cut here---------------start------------->8---
\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}
\documentclass{beamer}
\begin{document}
\begin{frame}
\(1+1+1\)
\end{frame}
\end{document}
--8<---------------cut here---------------end--------------->8---
Good idea. I simply copied the command line from the compile log buffer
you get when doing `C-c C-l' after generating previews to the start of
the file. It complained that the auctex option shouldn't be set
manually, so I removed that, and now it compiles just fine.
HTH,
Tassilo
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex