bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] preview-1.287; Preview (of equations) doesn't work with


From: Tassilo Horn
Subject: Re: [Bug-AUCTeX] preview-1.287; Preview (of equations) doesn't work with beamer
Date: Tue, 17 Dec 2013 09:51:53 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Jisang Yoo <address@hidden> writes:

> When I press C-c C-p C-p to generate preview images of equations in a
> beamer document, the preview images get placed in wrong places in the
> buffer. The images are all bunched up at the end of "\end{frame}".

Indeed, I can reproduce that.  The problem is that the TeX part of
preview already provide the wrong information in that case, e.g., in

#+BEGIN_SRC tex
  \documentclass{beamer}
  \begin{document}
  \begin{frame}
    The $a^2$ and $b^2$ and the end.
  \end{frame}
  \end{document}
#+END_SRC

it should report that the snippet $a^2$ starts and ends in line 4, but
it somehow reports \end{frame} in line 5 as the snippet...

Sadly, my knowledge of TeX is too weak to fix that problem in
preview.dtx.  Hopefully David will have a look.

Bye,
Tassilo



reply via email to

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