Hi,

Is it possible to use the breqn package with preview-latex?  If I try to
preview formulas in the following latex document:

\documentclass[a4paper,12pt]{article}
\usepackage{breqn}
\begin{document}
\begin{dmath}
  \label{eq:1}
  1+2
\end{dmath}
\end{document}

preview-latex goes into an infinite loop and the _region_.log file shows
error messages like this:

! Preview: Snippet 1868 ended.(0+0x536870912).
<-><->
      
l.10 \end{dmath}
                
[1868]
! Preview: Snippet 1869 started.
<-><->
      
l.10 \end{dmath}
                
! Missing $ inserted.
<inserted text> 
                $
l.10 \end{dmath}
                
! Display math should end with $$.
<to be read again> 
                   \@@par 
l.10 \end{dmath}
                
I tried the customization suggested in the manual (adding the
environment to preview-default-preamble) but it didn't help.  Emacs
snippets that solve this would be appreciated.

Best,

Tamas

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

Reply via email to