All Projects → mathjax → MathJax-dev

mathjax / MathJax-dev

Licence: other
Build and release tools for the MathJax project

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to MathJax-dev

Mathjax
Beautiful and accessible math in all browsers
Stars: ✭ 8,551 (+25050%)
Mutual labels:  mathjax, mathml
mathconverter
Converts from AsciiMath, LaTeX, MathML to LaTeX, MathML
Stars: ✭ 35 (+2.94%)
Mutual labels:  mathjax, mathml
Asciidocfx
Asciidoc Editor and Toolchain written with JavaFX 16 (Build PDF, Epub, Mobi and HTML books, documents and slides)
Stars: ✭ 1,533 (+4408.82%)
Mutual labels:  mathjax, mathml
react-mathjax-preview
The MathJax React component you were looking for.
Stars: ✭ 46 (+35.29%)
Mutual labels:  mathjax, mathml
react-native-math-view
Math view for react native! No WebView!
Stars: ✭ 49 (+44.12%)
Mutual labels:  mathjax, mathml
DataStore
Visual develop tool of creating mocked Json
Stars: ✭ 30 (-11.76%)
Mutual labels:  development-tools
mpMath
微信公众号公式编辑插件
Stars: ✭ 103 (+202.94%)
Mutual labels:  mathjax
solbera-dnd-fonts
Solbera's DND5e fonts
Stars: ✭ 159 (+367.65%)
Mutual labels:  fonts
typecho-markdown
A markdown parse plugin for typecho.
Stars: ✭ 135 (+297.06%)
Mutual labels:  mathjax
mathjax-node-cli
CLI tools for mathjax-node
Stars: ✭ 27 (-20.59%)
Mutual labels:  mathjax
react-with-async-fonts
🔠 React module for working with custom web fonts
Stars: ✭ 22 (-35.29%)
Mutual labels:  fonts
CSharpCompilerSettingsForUnity
Change the C# compiler (csc) used on your Unity project, as you like!
Stars: ✭ 208 (+511.76%)
Mutual labels:  development-tools
fdiff
An OpenType table diff tool for fonts. Based on the fontTools TTX format.
Stars: ✭ 33 (-2.94%)
Mutual labels:  fonts
Iosevka-Mayukai
Font based on Iosevka Custom Build, with combination from Iosevka SS04 Menlo, SS07 Monaco, SS09 Source Code Pro, SS12 Ubuntu Mono, SS14 Jetbrains Mono, Hack Style, and some Nerd Font Patching.
Stars: ✭ 149 (+338.24%)
Mutual labels:  fonts
font-config-info
Print Linux font configuration
Stars: ✭ 21 (-38.24%)
Mutual labels:  fonts
text-style-editor
Text style editor widget for flutter
Stars: ✭ 25 (-26.47%)
Mutual labels:  fonts
Intent.Modules
Common modules and designers for Intent Architect
Stars: ✭ 21 (-38.24%)
Mutual labels:  development-tools
FontRegister
FontRegister is a small Windows utility to install fonts and/or repair the font registry via commandline.
Stars: ✭ 17 (-50%)
Mutual labels:  fonts
ckeditor5-math
Math feature for CKEditor 5.
Stars: ✭ 51 (+50%)
Mutual labels:  mathjax
cfg
my dotfiles
Stars: ✭ 26 (-23.53%)
Mutual labels:  fonts

MathJax v3 Developers Tools

Some developers tools for testing local MathJax v3 code base.

General setup

To run most scripts in the tools you need to connect to your current version of MathJax3. Assuming that MathJax3 sources are at <MJ3-PATH> you need to link in the JavaScript sources there:

ln -s <MJ3-PATH> mathjax3

For the remainder we assume that this symlink has been set.

Getting the Lab to work

You need to install the MathJax context menu first:

nmp install mj-context-menu

Create a symbolic link for the context menu. MathJax expects it to be in parallel to its code.

ln -s node_modules/mj-context-menu

Then run the lab by loading v3-lab.html in your webbrowser via a local webserver. E.g., create a symbolic link

sudo ln -s <MathJax-dev-PATH> /var/www/html/

Run the lab on localhost using the URL

http://localhost/MathJax-dev/v3-lab.html

Or alternatively serve directly from the directory, i.e., by running a python server:

python -m SimpleHTTPServer 8000

and then run the lab at the following URL

http://localhost:8000/v3-lab.html

Running Samples

Samples are small scripts to test various MathJax features or to use MathJax directly for a specific purpose. They are particularly useful to work with local MathJax variants or test changes to the code base directly. Samples can be run using node or in a browser.

Running Samples in Node

Samples are run in node using the esm package on load. You need to first install esm by

npm install esm

The general command to run scripts is then:

node -r esm samples/<SCRIPT>.js <INPUT>

As example consider the script to parse LaTeX expressions into MathML:

node -r esm samples/tex2mml.js x^2
<math display="block">
  <msup>
    <mi>x</mi>
    <mn>2</mn>
  </msup>
</math>

Running Samples in a Browser

Samples can be run in the browser using the load.html page. This either loads the main.js file or the particular sample file given in the parameters. For example, running

http://localhost/v3-dev/load.html?samples/asciimath-document.js

will give you a rendered page of AsciiMath expressions in the browser. Note, that the output will also be displayed on the console. In fact, many scripts will only produce console output. For example, the URL:

http://localhost/v3-dev/load.html?samples/tex2mml.js&x^2

will print the corresponding MathML expression in the console:

<math display="block">
  <msup>
    <mi>x</mi>
    <mn>2</mn>
  </msup>
</math>

Scripts

Sample names should be self-explanatory.

samples/asciimath-document.js
samples/asciimath-json.js
samples/asciimath2mml-component.js
samples/asciimath2mml.js
samples/asyncLoad.js
samples/bits.js
samples/css.js
samples/find-asciimath.js
samples/find-mml.js
samples/find-strings.js
samples/find-tex-dollars.js
samples/find-tex.js
samples/html-full.js
samples/mfenced.js
samples/mml-bbox.js
samples/mml-nodes.js
samples/mml2html.js
samples/mml2svg.js
samples/notagids.js
samples/tag-format.js
samples/tex-document.js
samples/tex-json.js
samples/tex-multi-document.js
samples/tex-nodes.js
samples/tex-string.js
samples/tex2html.js
samples/tex2mml-component.js
samples/tex2mml-require.js
samples/tex2mml-speech.js
samples/tex2mml.js
samples/tex2svg-speech.js
samples/tex2svg.js

The following two scripts need jsdom package for testing:

samples/test-adaptor.js
samples/test-styles.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].