Jisang Yoo <[email protected]> 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

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

Reply via email to