... | ... | @@ -10,8 +10,7 @@ This page documents an experiment to [[Improve loading behavior]]: building a si |
|
|
|
|
|
The [MathJax-dev](https://github.com/mathjax/MathJax-dev) repository contains the combiner for combined configuration files. We will build on it so make sure you have a working copy on your system.
|
|
|
|
|
|
## Single-file built for MathML input, SVG output using MathJax TeX fonts.
|
|
|
|
|
|
## Single-file built
|
|
|
|
|
|
There are **three problems** we'll have to deal with.
|
|
|
|
... | ... | @@ -23,7 +22,15 @@ Third, the SVG font data files are not set up to be loaded out of sequence. We n |
|
|
|
|
|
### mathjax-dev/combiner/lists
|
|
|
|
|
|
The following list file for the combiner includes everything needed for MML input, SVG output, with Mathjax TeX fonts as well as the extensions for ContentMathML and webfonts matching; the components are of course listed in the right order.
|
|
|
The following list file for the combiner includes
|
|
|
|
|
|
* MML input
|
|
|
* SVG output
|
|
|
* Mathjax TeX "fonts"
|
|
|
* extensions: ContentMathML and webfonts matching
|
|
|
* MathJax internal extensions.
|
|
|
|
|
|
Of course, these are listed in the right order. Save the list below as a `lis` file in `MathJax-dev/combiner/lists/` and run the combiner. The resulting configuration file should be about 1.2MB.
|
|
|
|
|
|
jax/input/MathML/config.js
|
|
|
jax/output/SVG/config.js
|
... | ... | @@ -188,9 +195,6 @@ The following list file for the combiner includes everything needed for MML inpu |
|
|
jax/output/SVG/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js
|
|
|
jax/output/SVG/fonts/TeX/Size4/Regular/Main.js
|
|
|
|
|
|
Save this as a `lis` file in `MathJax-dev/combiner/lists/` and run the combiner. The resulting configuration file should be about 1.2MB.
|
|
|
|
|
|
|
|
|
|
|
|
#### Notes
|
|
|
|
... | ... | |