- publishing free software manuals
The Org Mode 7 Reference Manual
by Carsten Dominik and others
Paperback (6"x9"), 282 pages
ISBN 9781906966089
RRP £9.95 ($14.95)

Sales of this book support the Org project! Get a printed copy>>>

12.5.6 Math formatting in HTML export

LaTeX math snippets (see section 11.7.3 LaTeX fragments) can be displayed in two different ways on HTML pages. The default is to use the MathJax system which should work out of the box with Org mode installation because http://orgmode.org serves ‘MathJax’ for Org-mode users for small applications and for testing purposes. If you plan to use this regularly or on pages with significant page views, you should install MathJax on your own server in order to limit the load of our server. To configure ‘MathJax’, use the variable org-export-html-mathjax-options or insert something like the following into the buffer:

#+MATHJAX: align:"left" mathml:t path:"/MathJax/MathJax.js"

See the docstring of the variable org-export-html-mathjax-options for the meaning of the parameters in this line.

If you prefer, you can also request that LaTeX fragments are processed into small images that will be inserted into the browser page. Before the availability of MathJax, this was the default method for Org files. This method requires that the ‘dvipng’ program is available on your system. You can still get this processing with

#+OPTIONS: LaTeX:dvipng
ISBN 9781906966089The Org Mode 7 Reference ManualSee the print edition