Use `org-latex-compile' when processing formulas with imagemagick
commit58fc1b4bf44f0b270e8559620722f47c0bb92073
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 26 Feb 2013 08:28:59 +0000 (26 09:28 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 26 Feb 2013 12:43:48 +0000 (26 13:43 +0100)
treef481551b083812092e38aeed036c1ab5d5d6a720
parentc4a69a3b4cb275b66ba2ee08da1976559ff3459c
Use `org-latex-compile' when processing formulas with imagemagick

* lisp/ox-latex.el (org-latex-compile): Add an optional argument for
  latex snippet previewing.
* lisp/org.el (org-create-formula-image-with-imagemagick): Use
  `org-latex-compile' instead of rewriting it.
lisp/org.el
lisp/ox-latex.el