|
1 | 1 | # mathjax-node [](https://travis-ci.org/mathjax/MathJax-node)
|
2 | 2 |
|
3 |
| -This repository contains files that provide APIs to call [MathJax](https://github.com/mathjax/mathjax) from |
4 |
| -node.js programs. There is an API for converting individual math |
5 |
| -expressions (in any of MathJax's input formats) into SVG images or MathML |
6 |
| -code, and there is an API for converting HTML snippets containing any of |
| 3 | +This repository contains files that provide APIs to call [MathJax](https://github.com/mathjax/mathjax) from |
| 4 | +node.js programs. There is an API for converting individual math |
| 5 | +expressions (in any of MathJax's input formats) into SVG images or MathML |
| 6 | +code, and there is an API for converting HTML snippets containing any of |
7 | 7 | MathJax input formats into HTML snippets containing SVG or MathML.
|
8 | 8 |
|
9 | 9 | See the comments in the individual files for more details.
|
10 | 10 |
|
11 |
| -The `bin` directory contains a collection of command-line programs for |
12 |
| -converting among MathJax's various formats. These can be used as examples |
| 11 | +The `bin` directory contains a collection of command-line programs for |
| 12 | +converting among MathJax's various formats. These can be used as examples |
13 | 13 | of calling the MathJax API.
|
14 | 14 |
|
15 | 15 | Use
|
|
18 | 18 |
|
19 | 19 | to install mathjax-node and its dependencies.
|
20 | 20 |
|
21 |
| -These API's can produce PNG images, but that requires the |
22 |
| -[Batik](http://xmlgraphics.apache.org/batik/download.html) library. It |
23 |
| -should be installed in the `batik` directory. See the README file in that |
24 |
| -directory for more details. |
| 21 | +These API's no longer produce PNG images but can easily be integrated into workflows using svg-to-png converters (e.g., png2svg, librsvg, batik). |
25 | 22 |
|
26 | 23 | # Getting started
|
27 | 24 |
|
@@ -52,7 +49,7 @@ mjAPI.typeset({
|
52 | 49 | ```
|
53 | 50 |
|
54 | 51 |
|
55 |
| -* `./lib/mj-page.js` is optimized for handling full HTML pages. |
| 52 | +* `./lib/mj-page.js` is optimized for handling full HTML pages. |
56 | 53 |
|
57 | 54 |
|
58 | 55 | ```javascript
|
|
0 commit comments