This commit is contained in:
Kovid Goyal 2012-08-19 11:43:16 +05:30
parent 7eb1db3b7c
commit b871cb8074
2 changed files with 14 additions and 3 deletions

Binary file not shown.

View File

@ -14,7 +14,7 @@ AsciiMath. The |app| viewer uses the excellent `MathJax
creating ebooks with math in them that work well with the |app| viewer.
A simple HTML file with mathematics
======================================
-------------------------------------
You can write mathematics inline inside a simple HTML file and the |app| viewer
will render it into properly typeset mathematics. In the example below, we use
@ -48,9 +48,20 @@ This snippet looks like the following screen shot in the |app| viewer.
:guilabel:`The Lorentz Equations`
The complete HTML file, with more equations and inline mathematics is
reproduced below. Also, a link the EPUB version, generated by converting the
HTML file to EPUB in |app|: `mathjax.epub <_static/mathjax.epub>`_.
reproduced below. You can convert this HTML file to EPUB in |app| to end up
with an ebook you can distribute easily to other people.
.. only:: online
Here is the generated EPUB file: `mathjax.epub <_static/mathjax.epub>`_.
.. literalinclude:: mathjax.html
:language: html
More information
-----------------
Since the |app| viewer uses the MathJax library to render mathematics, the best
place to find out more about math in ebooks and get help is the `MathJax
website <http://www.mathjax.org>`_.