Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Wiki
  • Single file built

Single file built · Changes

Page history
minor edits authored Apr 21, 2014 by Peter Krautzberger's avatar Peter Krautzberger
Show whitespace changes
Inline Side-by-side
Single-file-built.md
View page @ 45869a69
...@@ -10,8 +10,7 @@ This page documents an experiment to [[Improve loading behavior]]: building a si ...@@ -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. 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. 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 ...@@ -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 ### 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/input/MathML/config.js
jax/output/SVG/config.js jax/output/SVG/config.js
...@@ -188,9 +195,6 @@ The following list file for the combiner includes everything needed for MML inpu ...@@ -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/SansSerif/Bold/CombDiacritMarks.js
jax/output/SVG/fonts/TeX/Size4/Regular/Main.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 #### Notes
......
Clone repository

MathJax Wiki

  • Contributing
    • Contributor License Agreement etc
    • Quick guide to translating mathjax
  • Development
    • Development Process
      • Release Process Checklist
      • Documentation Update Process
      • Source Control Policies
    • Design Documents
      • MathJax Roadmap
      • CDN Hosting
        • Managing Rackspace Cloud Files & CDN
        • Directory Structure
        • .htaccess settings
        • CDN requirements
        • CDN Hosting at Google Cloud Storage
      • Performance Discussion
      • Profiling and Diagnostics Tools
      • Configuration Options
      • Documentation generation guide
      • Testing
        • Platforms supported
        • Test Machines
  • MathJax web presence
  • Drafts