mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-27 03:47:52 -04:00
...
This commit is contained in:
parent
7eb1db3b7c
commit
b871cb8074
Binary file not shown.
@ -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>`_.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user