Introduce new option for exporting LaTeX code to HTML
commit90afd8b7971f1caa4f56f2271d8f1652e1b86f84
authorCarsten Dominik <carsten.dominik@gmail.com>
Thu, 1 Jul 2010 07:41:44 +0000 (1 09:41 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 1 Jul 2010 08:23:33 +0000 (1 10:23 +0200)
tree4958bb0bc98409708efbbc342676c235a5662f02
parentf98bb728aaa126c9942011b3a8c75469d331a266
Introduce new option for exporting LaTeX code to HTML

* lisp/org-html.el (org-export-html-preprocess): Call org-format-latex,
possibly with a protect-only argument.
* lisp/org.el (org-format-latex): New argument PROTECT-ONLY.

with the switch #+OPTIONS: LaTeX:verbatim ,
LaTeX code will be exported verbatim to HTML, so that jsmath can grab
and convert it.

Proposed by Christian Moe.
lisp/org-html.el
lisp/org.el