Website/node_modules/mathjax-node/x-old-stuff
2015-12-04 02:31:39 -05:00
..
batik Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
bin Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
lib Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
tape leftovers Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
test-files Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
c01u01_rep.html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
c01u01_rep_SVGpreview.html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
LICENSE Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
mathspeak.html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
mj-svg.html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
out-wmf.html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
out.html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
package.json Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
package.json.orig Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
README.md Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
test.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
testset-revision (1).html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
testset-revision.html Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0001.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0002.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0003.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0004.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0005.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0006.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0007.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
true0008.svg Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00

MathJax-node

This repository contains files that provide APIs to call MathJax from node.js programs. There is an API for converting individual math expressions (in any of MathJax's input formats) into SVG images or MathML code, and there is an API for converting HTML snippets containing any of MathJax input formats into HTML snippets containing SVG or MathML.

See the comments in the individual files for more details.

The bin directory contains a collection of command-line programs for converting among MathJax's various formats. These can be used as examples of calling the MathJax API's.

Use

npm install https://github.com/mathjax/MathJax-node/tarball/master

to install MathJax-node and its dependencies.

You will need to use a local copy of MathJax, and it needs to be the develop branch (which has some modifications that will go into the core version of MathJax after the v2.4 release). Put your copy of MathJax in the mathjax directory.

git clone https://github.com/mathjax/MathJax mathjax
cd mathjax
git checkout develop

These API's can produce PNG images, but that requires the Batik library. It should be installed in the batik directory. See the README file in that directory for more details.