Fix preview latex
commit8daf4a89f1a157c0ee2c91e5b990203679b31cf7
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 28 Oct 2014 22:51:38 +0000 (28 23:51 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 28 Oct 2014 22:55:01 +0000 (28 23:55 +0100)
tree0c9fe7b8f7cfe84f1b2b9e94dbc110b5bae77dc2
parentb8d8078368278949fb44fe4bd949e01446b8b6fc
Fix preview latex

* lisp/org.el (org-toggle-latex-fragment): Fix previewing nested
  environments.
(org-format-latex): Change signature.  Rewrite using Elements.

* lisp/ox-html (org-html-format-latex):
* lisp/ox-odt (org-odt--translate-latex-fragments): Apply signature
  change.

Reported-by: Andreas Leha <andreas.leha@med.uni-goettingen.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/92142>
lisp/org.el
lisp/ox-html.el
lisp/ox-odt.el