auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] preview-latex and breqn


From: Tamas Papp
Subject: [AUCTeX] preview-latex and breqn
Date: Tue, 25 Sep 2012 10:53:05 +0200
User-agent: mu4e 0.9.9-dev6; emacs 24.2.50.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]