Re-introduce #+latex_header value when previewing a LaTeX snippet
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 25 Feb 2013 23:04:05 +0000 (00:04 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 25 Feb 2013 23:04:05 +0000 (00:04 +0100)
commitef6c1498b4ee9d3a2cd8badc782d97c172edd8d9
treeb63882800846f413198c2e4e85d733499a28d076
parent367e6805826d11cd728a14cf4e96cb3ccf381c79
Re-introduce #+latex_header value when previewing a LaTeX snippet

* lisp/org.el (org-create-formula--latex-header): New function.
(org-create-formula-image-with-dvipng,
org-create-formula-image-with-imagemagick): Use new function.

This functionality was removed in
0484c5c64d9628ca68937f75c6c236f57128cadf, when clearing out old export
framework from "org.el".
lisp/org.el