You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 29, 2019. It is now read-only.
This project assumes you have NodeJS 6+ installed.
Install dependencies
npm install
Use
This library exports a single method build which takes several options and returns a string (the JS string of the build); it can write that string to disk.
constbuild=require('main.js').build;build(fontname,// TeX, STIX-Web, Asana-Math, Neo-Euler, Gyre-Pagella, Gyre-Termes, cf. https://docs.mathjax.org/en/latest/font-support.html Latin-Moderninput,// MathML, TeX, AsciiMathoutput,// SVG, CommonHTML, (TODO: HTML-CSS){// optionstoFile: true,// write to filecompress: true,// uglify outputcustomExtensions: [],// array of extension filenames; if empty, default extensions of the input are usedfolder: ''// folder name to write file output to; relative to `dist` defaults to `options.input+options.output+options.fontname`, e.g., `dist/MathMLSVGTeX`});
Build pre-configured bundles
npm run build
See build.js for details for those builds.
View test pages in your browser
npm start
About
A custom tool to combine MathJax 2.x components into a single file