Add displaymath to MathJax setup
commit93135fa8144cc684721bdeadc317e48e919df20a
authorŁukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
Tue, 7 Dec 2010 22:42:47 +0000 (7 22:42 +0000)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sun, 12 Dec 2010 12:13:45 +0000 (12 13:13 +0100)
treedc75537527c3ae4ce8e48af294829123e8f6ba7e
parent1495bc6b080b8188421a68504001b9c4fac9b93f
Add displaymath to MathJax setup

* lisp/org-html.el (org-export-html-mathjax-template): displaymath
environment and MathJax

Greetings All.

The following patch makes MathJax consider \begin{displaymath} and
\end{displaymath} as math environmetn boundaries. For someone who, like
me, keeps "The not so short introduction to LaTeX2e" alway around, the
displaymath environment is the default way to introduce a block of math.

In fact '\[' and '\]' are also mentioned there but the environment is
used in every single example so the patch minimizes the surprise.
lisp/org-html.el