mathjax-rails 2.5.1 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mathjax/rails/version.rb +2 -2
- data/vendor/mathjax/.npmignore +7 -0
- data/vendor/mathjax/.travis.yml +18 -0
- data/vendor/mathjax/CONTRIBUTING.md +45 -47
- data/vendor/mathjax/MathJax.js +1 -1
- data/vendor/mathjax/README.md +11 -4
- data/vendor/mathjax/composer.json +2 -10
- data/vendor/mathjax/config/AM_CHTML-full.js +50 -0
- data/vendor/mathjax/config/AM_CHTML.js +46 -0
- data/vendor/mathjax/config/AM_HTMLorMML-full.js +22 -20
- data/vendor/mathjax/config/AM_HTMLorMML.js +19 -17
- data/vendor/mathjax/config/AM_SVG-full.js +50 -0
- data/vendor/mathjax/config/AM_SVG.js +44 -0
- data/vendor/mathjax/config/Accessible-full.js +29 -28
- data/vendor/mathjax/config/Accessible.js +26 -25
- data/vendor/mathjax/config/MML_CHTML-full.js +50 -0
- data/vendor/mathjax/config/MML_CHTML.js +46 -0
- data/vendor/mathjax/config/MML_HTMLorMML-full.js +22 -20
- data/vendor/mathjax/config/MML_HTMLorMML.js +19 -17
- data/vendor/mathjax/config/MML_SVG-full.js +50 -0
- data/vendor/mathjax/config/MML_SVG.js +46 -0
- data/vendor/mathjax/config/MMLorHTML.js +1 -1
- data/vendor/mathjax/config/TeX-AMS-MML_HTMLorMML-full.js +29 -27
- data/vendor/mathjax/config/TeX-AMS-MML_HTMLorMML.js +26 -24
- data/vendor/mathjax/config/TeX-AMS-MML_SVG-full.js +26 -24
- data/vendor/mathjax/config/TeX-AMS-MML_SVG.js +24 -22
- data/vendor/mathjax/config/TeX-AMS_CHTML-full.js +58 -0
- data/vendor/mathjax/config/TeX-AMS_CHTML.js +54 -0
- data/vendor/mathjax/config/TeX-AMS_HTML-full.js +23 -21
- data/vendor/mathjax/config/TeX-AMS_HTML.js +21 -19
- data/vendor/mathjax/config/TeX-AMS_SVG-full.js +58 -0
- data/vendor/mathjax/config/TeX-AMS_SVG.js +54 -0
- data/vendor/mathjax/config/TeX-MML-AM_CHTML-full.js +70 -0
- data/vendor/mathjax/config/TeX-MML-AM_CHTML.js +66 -0
- data/vendor/mathjax/config/TeX-MML-AM_HTMLorMML-full.js +32 -30
- data/vendor/mathjax/config/TeX-MML-AM_HTMLorMML.js +29 -27
- data/vendor/mathjax/config/TeX-MML-AM_SVG-full.js +70 -0
- data/vendor/mathjax/config/TeX-MML-AM_SVG.js +66 -0
- data/vendor/mathjax/config/default.js +6 -0
- data/vendor/mathjax/extensions/AssistiveMML.js +19 -0
- data/vendor/mathjax/extensions/CHTML-preview.js +1 -1
- data/vendor/mathjax/extensions/FontWarnings.js +1 -1
- data/vendor/mathjax/extensions/HTML-CSS/handle-floats.js +1 -1
- data/vendor/mathjax/extensions/HelpDialog.js +1 -1
- data/vendor/mathjax/extensions/MatchWebFonts.js +1 -1
- data/vendor/mathjax/extensions/MathEvents.js +1 -1
- data/vendor/mathjax/extensions/MathML/content-mathml.js +1 -1
- data/vendor/mathjax/extensions/MathML/mml3.js +1 -1
- data/vendor/mathjax/extensions/MathMenu.js +1 -1
- data/vendor/mathjax/extensions/MathZoom.js +1 -1
- data/vendor/mathjax/extensions/Safe.js +1 -1
- data/vendor/mathjax/extensions/TeX/AMScd.js +1 -1
- data/vendor/mathjax/extensions/TeX/AMSmath.js +1 -1
- data/vendor/mathjax/extensions/TeX/AMSsymbols.js +1 -1
- data/vendor/mathjax/extensions/TeX/HTML.js +1 -1
- data/vendor/mathjax/extensions/TeX/action.js +1 -1
- data/vendor/mathjax/extensions/TeX/autobold.js +1 -1
- data/vendor/mathjax/extensions/TeX/autoload-all.js +1 -1
- data/vendor/mathjax/extensions/TeX/bbox.js +1 -1
- data/vendor/mathjax/extensions/TeX/begingroup.js +1 -1
- data/vendor/mathjax/extensions/TeX/boldsymbol.js +1 -1
- data/vendor/mathjax/extensions/TeX/cancel.js +1 -1
- data/vendor/mathjax/extensions/TeX/color.js +1 -1
- data/vendor/mathjax/extensions/TeX/enclose.js +1 -1
- data/vendor/mathjax/extensions/TeX/extpfeil.js +1 -1
- data/vendor/mathjax/extensions/TeX/mathchoice.js +1 -1
- data/vendor/mathjax/extensions/TeX/mediawiki-texvc.js +1 -1
- data/vendor/mathjax/extensions/TeX/mhchem.js +1 -1
- data/vendor/mathjax/extensions/TeX/newcommand.js +1 -1
- data/vendor/mathjax/extensions/TeX/noErrors.js +1 -1
- data/vendor/mathjax/extensions/TeX/noUndefined.js +1 -1
- data/vendor/mathjax/extensions/TeX/unicode.js +1 -1
- data/vendor/mathjax/extensions/TeX/verb.js +1 -1
- data/vendor/mathjax/extensions/asciimath2jax.js +1 -1
- data/vendor/mathjax/extensions/fast-preview.js +19 -0
- data/vendor/mathjax/extensions/jsMath2jax.js +1 -1
- data/vendor/mathjax/extensions/mml2jax.js +1 -1
- data/vendor/mathjax/extensions/tex2jax.js +1 -1
- data/vendor/mathjax/extensions/toMathML.js +1 -1
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_AMS-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Bold.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Bold.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Bold.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Italic.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Math-BoldItalic.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Italic.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Bold.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Italic.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Script-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size1-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size2-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size3-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size4-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Typewriter-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_WinIE6-Regular.eot +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_AMS-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Bold.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Bold.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Bold.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Italic.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Math-BoldItalic.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Bold.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Italic.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Script-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size2-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size3-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size4-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Typewriter-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_WinChrome-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_WinIE6-Regular.otf +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff +0 -0
- data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff +0 -0
- data/vendor/mathjax/jax/element/mml/jax.js +1 -1
- data/vendor/mathjax/jax/input/AsciiMath/config.js +1 -1
- data/vendor/mathjax/jax/input/AsciiMath/jax.js +1 -1
- data/vendor/mathjax/jax/input/MathML/config.js +1 -1
- data/vendor/mathjax/jax/input/MathML/jax.js +1 -1
- data/vendor/mathjax/jax/input/TeX/config.js +1 -1
- data/vendor/mathjax/jax/input/TeX/jax.js +1 -1
- data/vendor/mathjax/jax/output/CommonHTML/autoload/annotation-xml.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/autoload/maction.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/autoload/menclose.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/autoload/mglyph.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/autoload/mmultiscripts.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/autoload/ms.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/autoload/mtable.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/autoload/multiline.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/config.js +1 -1
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Main-Bold.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Script-Regular.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata.js +19 -0
- data/vendor/mathjax/jax/output/CommonHTML/jax.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/annotation-xml.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/maction.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/menclose.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/mglyph.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/ms.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/mtable.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/autoload/multiline.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/config.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Asana-Math/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Asana-Math/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/imageFonts.js +1 -1
- data/vendor/mathjax/jax/output/HTML-CSS/jax.js +1 -1
- data/vendor/mathjax/jax/output/NativeMML/config.js +1 -1
- data/vendor/mathjax/jax/output/NativeMML/jax.js +1 -1
- data/vendor/mathjax/jax/output/PlainSource/config.js +19 -0
- data/vendor/mathjax/jax/output/PlainSource/jax.js +19 -0
- data/vendor/mathjax/jax/output/PreviewHTML/config.js +19 -0
- data/vendor/mathjax/jax/output/PreviewHTML/jax.js +19 -0
- data/vendor/mathjax/jax/output/SVG/autoload/annotation-xml.js +1 -1
- data/vendor/mathjax/jax/output/SVG/autoload/maction.js +1 -1
- data/vendor/mathjax/jax/output/SVG/autoload/menclose.js +1 -1
- data/vendor/mathjax/jax/output/SVG/autoload/mglyph.js +1 -1
- data/vendor/mathjax/jax/output/SVG/autoload/mmultiscripts.js +1 -1
- data/vendor/mathjax/jax/output/SVG/autoload/ms.js +1 -1
- data/vendor/mathjax/jax/output/SVG/autoload/mtable.js +1 -1
- data/vendor/mathjax/jax/output/SVG/autoload/multiline.js +1 -1
- data/vendor/mathjax/jax/output/SVG/config.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Asana-Math/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Asana-Math/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Pagella/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Termes/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Termes/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Latin-Modern/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Latin-Modern/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Neo-Euler/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/Neo-Euler/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/STIX-Web/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/STIX-Web/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/TeX/fontdata-extra.js +1 -1
- data/vendor/mathjax/jax/output/SVG/fonts/TeX/fontdata.js +1 -1
- data/vendor/mathjax/jax/output/SVG/jax.js +1 -1
- data/vendor/mathjax/localization/ast/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/ast/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/ast/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/ast/MathML.js +1 -1
- data/vendor/mathjax/localization/ast/MathMenu.js +1 -1
- data/vendor/mathjax/localization/ast/TeX.js +1 -1
- data/vendor/mathjax/localization/ast/ast.js +1 -1
- data/vendor/mathjax/localization/bcc/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/bcc/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/bcc/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/bcc/MathML.js +1 -1
- data/vendor/mathjax/localization/bcc/MathMenu.js +1 -1
- data/vendor/mathjax/localization/bcc/TeX.js +1 -1
- data/vendor/mathjax/localization/bcc/bcc.js +1 -1
- data/vendor/mathjax/localization/bg/FontWarnings.js +19 -0
- data/vendor/mathjax/localization/bg/HTML-CSS.js +19 -0
- data/vendor/mathjax/localization/bg/HelpDialog.js +19 -0
- data/vendor/mathjax/localization/bg/MathML.js +19 -0
- data/vendor/mathjax/localization/bg/MathMenu.js +19 -0
- data/vendor/mathjax/localization/bg/TeX.js +19 -0
- data/vendor/mathjax/localization/bg/bg.js +19 -0
- data/vendor/mathjax/localization/br/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/br/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/br/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/br/MathML.js +1 -1
- data/vendor/mathjax/localization/br/MathMenu.js +1 -1
- data/vendor/mathjax/localization/br/TeX.js +1 -1
- data/vendor/mathjax/localization/br/br.js +1 -1
- data/vendor/mathjax/localization/ca/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/ca/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/ca/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/ca/MathML.js +1 -1
- data/vendor/mathjax/localization/ca/MathMenu.js +1 -1
- data/vendor/mathjax/localization/ca/TeX.js +1 -1
- data/vendor/mathjax/localization/ca/ca.js +1 -1
- data/vendor/mathjax/localization/cdo/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/cdo/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/cdo/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/cdo/MathML.js +1 -1
- data/vendor/mathjax/localization/cdo/MathMenu.js +1 -1
- data/vendor/mathjax/localization/cdo/TeX.js +1 -1
- data/vendor/mathjax/localization/cdo/cdo.js +1 -1
- data/vendor/mathjax/localization/ce/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/ce/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/ce/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/ce/MathML.js +1 -1
- data/vendor/mathjax/localization/ce/MathMenu.js +1 -1
- data/vendor/mathjax/localization/ce/TeX.js +1 -1
- data/vendor/mathjax/localization/ce/ce.js +1 -1
- data/vendor/mathjax/localization/cs/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/cs/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/cs/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/cs/MathML.js +1 -1
- data/vendor/mathjax/localization/cs/MathMenu.js +1 -1
- data/vendor/mathjax/localization/cs/TeX.js +1 -1
- data/vendor/mathjax/localization/cs/cs.js +1 -1
- data/vendor/mathjax/localization/cy/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/cy/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/cy/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/cy/MathML.js +1 -1
- data/vendor/mathjax/localization/cy/MathMenu.js +1 -1
- data/vendor/mathjax/localization/cy/TeX.js +1 -1
- data/vendor/mathjax/localization/cy/cy.js +1 -1
- data/vendor/mathjax/localization/da/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/da/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/da/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/da/MathML.js +1 -1
- data/vendor/mathjax/localization/da/MathMenu.js +1 -1
- data/vendor/mathjax/localization/da/TeX.js +1 -1
- data/vendor/mathjax/localization/da/da.js +1 -1
- data/vendor/mathjax/localization/de/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/de/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/de/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/de/MathML.js +1 -1
- data/vendor/mathjax/localization/de/MathMenu.js +1 -1
- data/vendor/mathjax/localization/de/TeX.js +1 -1
- data/vendor/mathjax/localization/de/de.js +1 -1
- data/vendor/mathjax/localization/en/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/en/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/en/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/en/MathML.js +1 -1
- data/vendor/mathjax/localization/en/MathMenu.js +1 -1
- data/vendor/mathjax/localization/en/TeX.js +1 -1
- data/vendor/mathjax/localization/en/en.js +1 -1
- data/vendor/mathjax/localization/eo/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/eo/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/eo/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/eo/MathML.js +1 -1
- data/vendor/mathjax/localization/eo/MathMenu.js +1 -1
- data/vendor/mathjax/localization/eo/TeX.js +1 -1
- data/vendor/mathjax/localization/eo/eo.js +1 -1
- data/vendor/mathjax/localization/es/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/es/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/es/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/es/MathML.js +1 -1
- data/vendor/mathjax/localization/es/MathMenu.js +1 -1
- data/vendor/mathjax/localization/es/TeX.js +1 -1
- data/vendor/mathjax/localization/es/es.js +1 -1
- data/vendor/mathjax/localization/fa/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/fa/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/fa/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/fa/MathML.js +1 -1
- data/vendor/mathjax/localization/fa/MathMenu.js +1 -1
- data/vendor/mathjax/localization/fa/TeX.js +1 -1
- data/vendor/mathjax/localization/fa/fa.js +1 -1
- data/vendor/mathjax/localization/fi/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/fi/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/fi/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/fi/MathML.js +1 -1
- data/vendor/mathjax/localization/fi/MathMenu.js +1 -1
- data/vendor/mathjax/localization/fi/TeX.js +1 -1
- data/vendor/mathjax/localization/fi/fi.js +1 -1
- data/vendor/mathjax/localization/fr/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/fr/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/fr/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/fr/MathML.js +1 -1
- data/vendor/mathjax/localization/fr/MathMenu.js +1 -1
- data/vendor/mathjax/localization/fr/TeX.js +1 -1
- data/vendor/mathjax/localization/fr/fr.js +1 -1
- data/vendor/mathjax/localization/gl/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/gl/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/gl/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/gl/MathML.js +1 -1
- data/vendor/mathjax/localization/gl/MathMenu.js +1 -1
- data/vendor/mathjax/localization/gl/TeX.js +1 -1
- data/vendor/mathjax/localization/gl/gl.js +1 -1
- data/vendor/mathjax/localization/he/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/he/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/he/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/he/MathML.js +1 -1
- data/vendor/mathjax/localization/he/MathMenu.js +1 -1
- data/vendor/mathjax/localization/he/TeX.js +1 -1
- data/vendor/mathjax/localization/he/he.js +1 -1
- data/vendor/mathjax/localization/ia/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/ia/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/ia/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/ia/MathML.js +1 -1
- data/vendor/mathjax/localization/ia/MathMenu.js +1 -1
- data/vendor/mathjax/localization/ia/TeX.js +1 -1
- data/vendor/mathjax/localization/ia/ia.js +1 -1
- data/vendor/mathjax/localization/it/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/it/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/it/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/it/MathML.js +1 -1
- data/vendor/mathjax/localization/it/MathMenu.js +1 -1
- data/vendor/mathjax/localization/it/TeX.js +1 -1
- data/vendor/mathjax/localization/it/it.js +1 -1
- data/vendor/mathjax/localization/ja/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/ja/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/ja/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/ja/MathML.js +1 -1
- data/vendor/mathjax/localization/ja/MathMenu.js +1 -1
- data/vendor/mathjax/localization/ja/TeX.js +1 -1
- data/vendor/mathjax/localization/ja/ja.js +1 -1
- data/vendor/mathjax/localization/kn/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/kn/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/kn/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/kn/MathML.js +1 -1
- data/vendor/mathjax/localization/kn/MathMenu.js +1 -1
- data/vendor/mathjax/localization/kn/TeX.js +1 -1
- data/vendor/mathjax/localization/kn/kn.js +1 -1
- data/vendor/mathjax/localization/ko/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/ko/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/ko/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/ko/MathML.js +1 -1
- data/vendor/mathjax/localization/ko/MathMenu.js +1 -1
- data/vendor/mathjax/localization/ko/TeX.js +1 -1
- data/vendor/mathjax/localization/ko/ko.js +1 -1
- data/vendor/mathjax/localization/lb/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/lb/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/lb/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/lb/MathML.js +1 -1
- data/vendor/mathjax/localization/lb/MathMenu.js +1 -1
- data/vendor/mathjax/localization/lb/TeX.js +1 -1
- data/vendor/mathjax/localization/lb/lb.js +1 -1
- data/vendor/mathjax/localization/lki/FontWarnings.js +19 -0
- data/vendor/mathjax/localization/lki/HTML-CSS.js +19 -0
- data/vendor/mathjax/localization/lki/HelpDialog.js +19 -0
- data/vendor/mathjax/localization/lki/MathML.js +19 -0
- data/vendor/mathjax/localization/lki/MathMenu.js +19 -0
- data/vendor/mathjax/localization/lki/TeX.js +19 -0
- data/vendor/mathjax/localization/lki/lki.js +19 -0
- data/vendor/mathjax/localization/lt/FontWarnings.js +19 -0
- data/vendor/mathjax/localization/lt/HTML-CSS.js +19 -0
- data/vendor/mathjax/localization/lt/HelpDialog.js +19 -0
- data/vendor/mathjax/localization/lt/MathML.js +19 -0
- data/vendor/mathjax/localization/lt/MathMenu.js +19 -0
- data/vendor/mathjax/localization/lt/TeX.js +19 -0
- data/vendor/mathjax/localization/lt/lt.js +19 -0
- data/vendor/mathjax/localization/mk/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/mk/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/mk/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/mk/MathML.js +1 -1
- data/vendor/mathjax/localization/mk/MathMenu.js +1 -1
- data/vendor/mathjax/localization/mk/TeX.js +1 -1
- data/vendor/mathjax/localization/mk/mk.js +1 -1
- data/vendor/mathjax/localization/nl/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/nl/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/nl/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/nl/MathML.js +1 -1
- data/vendor/mathjax/localization/nl/MathMenu.js +1 -1
- data/vendor/mathjax/localization/nl/TeX.js +1 -1
- data/vendor/mathjax/localization/nl/nl.js +1 -1
- data/vendor/mathjax/localization/oc/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/oc/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/oc/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/oc/MathML.js +1 -1
- data/vendor/mathjax/localization/oc/MathMenu.js +1 -1
- data/vendor/mathjax/localization/oc/TeX.js +1 -1
- data/vendor/mathjax/localization/oc/oc.js +1 -1
- data/vendor/mathjax/localization/pl/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/pl/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/pl/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/pl/MathML.js +1 -1
- data/vendor/mathjax/localization/pl/MathMenu.js +1 -1
- data/vendor/mathjax/localization/pl/TeX.js +1 -1
- data/vendor/mathjax/localization/pl/pl.js +1 -1
- data/vendor/mathjax/localization/pt-br/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/pt-br/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/pt-br/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/pt-br/MathML.js +1 -1
- data/vendor/mathjax/localization/pt-br/MathMenu.js +1 -1
- data/vendor/mathjax/localization/pt-br/TeX.js +1 -1
- data/vendor/mathjax/localization/pt-br/pt-br.js +1 -1
- data/vendor/mathjax/localization/pt/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/pt/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/pt/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/pt/MathML.js +1 -1
- data/vendor/mathjax/localization/pt/MathMenu.js +1 -1
- data/vendor/mathjax/localization/pt/TeX.js +1 -1
- data/vendor/mathjax/localization/pt/pt.js +1 -1
- data/vendor/mathjax/localization/qqq/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/qqq/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/qqq/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/qqq/MathML.js +1 -1
- data/vendor/mathjax/localization/qqq/MathMenu.js +1 -1
- data/vendor/mathjax/localization/qqq/TeX.js +1 -1
- data/vendor/mathjax/localization/qqq/qqq.js +1 -1
- data/vendor/mathjax/localization/ru/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/ru/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/ru/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/ru/MathML.js +1 -1
- data/vendor/mathjax/localization/ru/MathMenu.js +1 -1
- data/vendor/mathjax/localization/ru/TeX.js +1 -1
- data/vendor/mathjax/localization/ru/ru.js +1 -1
- data/vendor/mathjax/localization/scn/FontWarnings.js +19 -0
- data/vendor/mathjax/localization/scn/HTML-CSS.js +19 -0
- data/vendor/mathjax/localization/scn/HelpDialog.js +19 -0
- data/vendor/mathjax/localization/scn/MathML.js +19 -0
- data/vendor/mathjax/localization/scn/MathMenu.js +19 -0
- data/vendor/mathjax/localization/scn/TeX.js +19 -0
- data/vendor/mathjax/localization/scn/scn.js +19 -0
- data/vendor/mathjax/localization/sco/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/sco/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/sco/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/sco/MathML.js +1 -1
- data/vendor/mathjax/localization/sco/MathMenu.js +1 -1
- data/vendor/mathjax/localization/sco/TeX.js +1 -1
- data/vendor/mathjax/localization/sco/sco.js +1 -1
- data/vendor/mathjax/localization/sl/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/sl/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/sl/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/sl/MathML.js +1 -1
- data/vendor/mathjax/localization/sl/MathMenu.js +1 -1
- data/vendor/mathjax/localization/sl/TeX.js +1 -1
- data/vendor/mathjax/localization/sl/sl.js +1 -1
- data/vendor/mathjax/localization/sv/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/sv/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/sv/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/sv/MathML.js +1 -1
- data/vendor/mathjax/localization/sv/MathMenu.js +1 -1
- data/vendor/mathjax/localization/sv/TeX.js +1 -1
- data/vendor/mathjax/localization/sv/sv.js +1 -1
- data/vendor/mathjax/localization/tr/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/tr/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/tr/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/tr/MathML.js +1 -1
- data/vendor/mathjax/localization/tr/MathMenu.js +1 -1
- data/vendor/mathjax/localization/tr/TeX.js +1 -1
- data/vendor/mathjax/localization/tr/tr.js +1 -1
- data/vendor/mathjax/localization/uk/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/uk/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/uk/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/uk/MathML.js +1 -1
- data/vendor/mathjax/localization/uk/MathMenu.js +1 -1
- data/vendor/mathjax/localization/uk/TeX.js +1 -1
- data/vendor/mathjax/localization/uk/uk.js +1 -1
- data/vendor/mathjax/localization/vi/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/vi/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/vi/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/vi/MathML.js +1 -1
- data/vendor/mathjax/localization/vi/MathMenu.js +1 -1
- data/vendor/mathjax/localization/vi/TeX.js +1 -1
- data/vendor/mathjax/localization/vi/vi.js +1 -1
- data/vendor/mathjax/localization/zh-hans/FontWarnings.js +1 -1
- data/vendor/mathjax/localization/zh-hans/HTML-CSS.js +1 -1
- data/vendor/mathjax/localization/zh-hans/HelpDialog.js +1 -1
- data/vendor/mathjax/localization/zh-hans/MathML.js +1 -1
- data/vendor/mathjax/localization/zh-hans/MathMenu.js +1 -1
- data/vendor/mathjax/localization/zh-hans/TeX.js +1 -1
- data/vendor/mathjax/localization/zh-hans/zh-hans.js +1 -1
- data/vendor/mathjax/package.json +30 -0
- data/vendor/mathjax/test/examples.html +3 -0
- data/vendor/mathjax/test/index-images.html +1 -0
- data/vendor/mathjax/test/index.html +1 -0
- data/vendor/mathjax/test/localization.html +3 -1
- data/vendor/mathjax/test/sample-all-at-once.html +1 -0
- data/vendor/mathjax/test/sample-asciimath.html +1 -0
- data/vendor/mathjax/test/sample-autoload.html +1 -0
- data/vendor/mathjax/test/sample-dynamic-2.html +26 -12
- data/vendor/mathjax/test/sample-dynamic-steps.html +1 -0
- data/vendor/mathjax/test/sample-dynamic.html +7 -1
- data/vendor/mathjax/test/sample-eqnum.html +1 -0
- data/vendor/mathjax/test/sample-eqrefs.html +1 -0
- data/vendor/mathjax/test/sample-loader-config.html +1 -0
- data/vendor/mathjax/test/sample-loader.html +1 -0
- data/vendor/mathjax/test/sample-macros.html +1 -0
- data/vendor/mathjax/test/sample-mediawiki-texvc.html +2 -0
- data/vendor/mathjax/test/sample-mml.html +1 -0
- data/vendor/mathjax/test/sample-signals.html +1 -0
- data/vendor/mathjax/test/sample-tex.html +1 -0
- data/vendor/mathjax/test/sample.html +1 -0
- data/vendor/mathjax/unpacked/MathJax.js +103 -58
- data/vendor/mathjax/unpacked/config/AM_CHTML-full.js +24 -0
- data/vendor/mathjax/unpacked/config/AM_CHTML.js +24 -0
- data/vendor/mathjax/unpacked/config/AM_HTMLorMML-full.js +2 -2
- data/vendor/mathjax/unpacked/config/AM_HTMLorMML.js +2 -2
- data/vendor/mathjax/unpacked/config/AM_SVG-full.js +24 -0
- data/vendor/mathjax/unpacked/config/AM_SVG.js +24 -0
- data/vendor/mathjax/unpacked/config/Accessible-full.js +2 -2
- data/vendor/mathjax/unpacked/config/Accessible.js +2 -2
- data/vendor/mathjax/unpacked/config/MML_CHTML-full.js +24 -0
- data/vendor/mathjax/unpacked/config/MML_CHTML.js +24 -0
- data/vendor/mathjax/unpacked/config/MML_HTMLorMML-full.js +2 -2
- data/vendor/mathjax/unpacked/config/MML_HTMLorMML.js +2 -2
- data/vendor/mathjax/unpacked/config/MML_SVG-full.js +24 -0
- data/vendor/mathjax/unpacked/config/MML_SVG.js +24 -0
- data/vendor/mathjax/unpacked/config/MMLorHTML.js +1 -1
- data/vendor/mathjax/unpacked/config/TeX-AMS-MML_HTMLorMML-full.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-AMS-MML_HTMLorMML.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-AMS-MML_SVG-full.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-AMS-MML_SVG.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-AMS_CHTML-full.js +24 -0
- data/vendor/mathjax/unpacked/config/TeX-AMS_CHTML.js +24 -0
- data/vendor/mathjax/unpacked/config/TeX-AMS_HTML-full.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-AMS_HTML.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-AMS_SVG-full.js +24 -0
- data/vendor/mathjax/unpacked/config/TeX-AMS_SVG.js +24 -0
- data/vendor/mathjax/unpacked/config/TeX-MML-AM_CHTML-full.js +24 -0
- data/vendor/mathjax/unpacked/config/TeX-MML-AM_CHTML.js +24 -0
- data/vendor/mathjax/unpacked/config/TeX-MML-AM_HTMLorMML-full.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-MML-AM_HTMLorMML.js +2 -2
- data/vendor/mathjax/unpacked/config/TeX-MML-AM_SVG-full.js +24 -0
- data/vendor/mathjax/unpacked/config/TeX-MML-AM_SVG.js +24 -0
- data/vendor/mathjax/unpacked/config/default.js +6 -0
- data/vendor/mathjax/unpacked/extensions/AssistiveMML.js +160 -0
- data/vendor/mathjax/unpacked/extensions/CHTML-preview.js +5 -114
- data/vendor/mathjax/unpacked/extensions/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/extensions/HTML-CSS/handle-floats.js +1 -1
- data/vendor/mathjax/unpacked/extensions/HelpDialog.js +64 -15
- data/vendor/mathjax/unpacked/extensions/MatchWebFonts.js +1 -1
- data/vendor/mathjax/unpacked/extensions/MathEvents.js +111 -63
- data/vendor/mathjax/unpacked/extensions/MathML/content-mathml.js +15 -7
- data/vendor/mathjax/unpacked/extensions/MathML/mml3.js +661 -5
- data/vendor/mathjax/unpacked/extensions/MathMenu.js +635 -178
- data/vendor/mathjax/unpacked/extensions/MathZoom.js +4 -1
- data/vendor/mathjax/unpacked/extensions/Safe.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/AMScd.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/AMSmath.js +16 -24
- data/vendor/mathjax/unpacked/extensions/TeX/AMSsymbols.js +2 -2
- data/vendor/mathjax/unpacked/extensions/TeX/HTML.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/action.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/autobold.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/autoload-all.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/bbox.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/begingroup.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/boldsymbol.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/cancel.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/color.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/enclose.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/extpfeil.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/mathchoice.js +22 -8
- data/vendor/mathjax/unpacked/extensions/TeX/mediawiki-texvc.js +23 -3
- data/vendor/mathjax/unpacked/extensions/TeX/mhchem.js +55 -20
- data/vendor/mathjax/unpacked/extensions/TeX/newcommand.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/noErrors.js +63 -10
- data/vendor/mathjax/unpacked/extensions/TeX/noUndefined.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/unicode.js +1 -1
- data/vendor/mathjax/unpacked/extensions/TeX/verb.js +1 -1
- data/vendor/mathjax/unpacked/extensions/asciimath2jax.js +1 -1
- data/vendor/mathjax/unpacked/extensions/fast-preview.js +155 -0
- data/vendor/mathjax/unpacked/extensions/jsMath2jax.js +1 -1
- data/vendor/mathjax/unpacked/extensions/mml2jax.js +3 -3
- data/vendor/mathjax/unpacked/extensions/tex2jax.js +1 -1
- data/vendor/mathjax/unpacked/extensions/toMathML.js +15 -5
- data/vendor/mathjax/unpacked/jax/element/mml/jax.js +36 -12
- data/vendor/mathjax/unpacked/jax/input/AsciiMath/config.js +1 -1
- data/vendor/mathjax/unpacked/jax/input/AsciiMath/jax.js +11 -3
- data/vendor/mathjax/unpacked/jax/input/MathML/config.js +1 -1
- data/vendor/mathjax/unpacked/jax/input/MathML/jax.js +5 -3
- data/vendor/mathjax/unpacked/jax/input/TeX/config.js +1 -1
- data/vendor/mathjax/unpacked/jax/input/TeX/jax.js +65 -45
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/annotation-xml.js +60 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/maction.js +178 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/menclose.js +317 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/mglyph.js +94 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/mmultiscripts.js +290 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/ms.js +73 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/mtable.js +596 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/multiline.js +777 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/config.js +12 -1
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js +289 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js +99 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js +125 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js +125 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Main-Bold.js +208 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js +208 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js +152 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js +152 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js +152 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Script-Regular.js +88 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js +155 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js +238 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/fontdata.js +1697 -0
- data/vendor/mathjax/unpacked/jax/output/CommonHTML/jax.js +2397 -857
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/annotation-xml.js +5 -3
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/maction.js +12 -11
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/menclose.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/mglyph.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/mmultiscripts.js +36 -11
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/ms.js +8 -5
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/mtable.js +24 -20
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/multiline.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/config.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Asana-Math/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Asana-Math/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX-Web/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/TeX/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/imageFonts.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/HTML-CSS/jax.js +117 -59
- data/vendor/mathjax/unpacked/jax/output/NativeMML/config.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/NativeMML/jax.js +19 -7
- data/vendor/mathjax/unpacked/jax/output/PlainSource/config.js +49 -0
- data/vendor/mathjax/unpacked/jax/output/PlainSource/jax.js +185 -0
- data/vendor/mathjax/unpacked/jax/output/PreviewHTML/config.js +54 -0
- data/vendor/mathjax/unpacked/jax/output/PreviewHTML/jax.js +1092 -0
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/annotation-xml.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/maction.js +6 -3
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/menclose.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/mglyph.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/mmultiscripts.js +10 -5
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/ms.js +8 -5
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/mtable.js +28 -12
- data/vendor/mathjax/unpacked/jax/output/SVG/autoload/multiline.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/config.js +2 -2
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Asana-Math/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Asana-Math/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Pagella/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Termes/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Termes/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Latin-Modern/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Latin-Modern/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Neo-Euler/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Neo-Euler/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/STIX-Web/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/STIX-Web/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/TeX/fontdata-extra.js +1 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/fonts/TeX/fontdata.js +4 -1
- data/vendor/mathjax/unpacked/jax/output/SVG/jax.js +58 -31
- data/vendor/mathjax/unpacked/localization/ast/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/ast/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/ast/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/ast/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/ast/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/ast/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/ast/ast.js +2 -2
- data/vendor/mathjax/unpacked/localization/bcc/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/bcc/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/bcc/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/bcc/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/bcc/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/bcc/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/bcc/bcc.js +3 -3
- data/vendor/mathjax/unpacked/localization/bg/FontWarnings.js +32 -0
- data/vendor/mathjax/unpacked/localization/bg/HTML-CSS.js +32 -0
- data/vendor/mathjax/unpacked/localization/bg/HelpDialog.js +32 -0
- data/vendor/mathjax/unpacked/localization/bg/MathML.js +32 -0
- data/vendor/mathjax/unpacked/localization/bg/MathMenu.js +60 -0
- data/vendor/mathjax/unpacked/localization/bg/TeX.js +72 -0
- data/vendor/mathjax/unpacked/localization/bg/bg.js +59 -0
- data/vendor/mathjax/unpacked/localization/br/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/br/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/br/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/br/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/br/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/br/TeX.js +3 -2
- data/vendor/mathjax/unpacked/localization/br/br.js +2 -2
- data/vendor/mathjax/unpacked/localization/ca/FontWarnings.js +2 -2
- data/vendor/mathjax/unpacked/localization/ca/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/ca/HelpDialog.js +2 -2
- data/vendor/mathjax/unpacked/localization/ca/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/ca/MathMenu.js +2 -2
- data/vendor/mathjax/unpacked/localization/ca/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/ca/ca.js +2 -2
- data/vendor/mathjax/unpacked/localization/cdo/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/cdo/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/cdo/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/cdo/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/cdo/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/cdo/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/cdo/cdo.js +5 -5
- data/vendor/mathjax/unpacked/localization/ce/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/ce/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/ce/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/ce/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/ce/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/ce/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/ce/ce.js +2 -2
- data/vendor/mathjax/unpacked/localization/cs/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/cs/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/cs/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/cs/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/cs/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/cs/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/cs/cs.js +2 -2
- data/vendor/mathjax/unpacked/localization/cy/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/cy/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/cy/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/cy/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/cy/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/cy/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/cy/cy.js +2 -2
- data/vendor/mathjax/unpacked/localization/da/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/da/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/da/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/da/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/da/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/da/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/da/da.js +2 -2
- data/vendor/mathjax/unpacked/localization/de/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/de/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/de/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/de/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/de/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/de/TeX.js +14 -14
- data/vendor/mathjax/unpacked/localization/de/de.js +2 -2
- data/vendor/mathjax/unpacked/localization/en/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/en/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/en/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/en/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/en/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/en/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/en/en.js +2 -2
- data/vendor/mathjax/unpacked/localization/eo/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/eo/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/eo/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/eo/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/eo/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/eo/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/eo/eo.js +2 -2
- data/vendor/mathjax/unpacked/localization/es/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/es/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/es/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/es/MathML.js +2 -2
- data/vendor/mathjax/unpacked/localization/es/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/es/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/es/es.js +2 -2
- data/vendor/mathjax/unpacked/localization/fa/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/fa/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/fa/HelpDialog.js +3 -3
- data/vendor/mathjax/unpacked/localization/fa/MathML.js +2 -2
- data/vendor/mathjax/unpacked/localization/fa/MathMenu.js +2 -2
- data/vendor/mathjax/unpacked/localization/fa/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/fa/fa.js +2 -2
- data/vendor/mathjax/unpacked/localization/fi/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/fi/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/fi/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/fi/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/fi/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/fi/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/fi/fi.js +2 -2
- data/vendor/mathjax/unpacked/localization/fr/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/fr/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/fr/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/fr/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/fr/MathMenu.js +2 -2
- data/vendor/mathjax/unpacked/localization/fr/TeX.js +11 -11
- data/vendor/mathjax/unpacked/localization/fr/fr.js +4 -4
- data/vendor/mathjax/unpacked/localization/gl/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/gl/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/gl/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/gl/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/gl/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/gl/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/gl/gl.js +2 -2
- data/vendor/mathjax/unpacked/localization/he/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/he/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/he/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/he/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/he/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/he/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/he/he.js +2 -2
- data/vendor/mathjax/unpacked/localization/ia/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/ia/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/ia/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/ia/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/ia/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/ia/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/ia/ia.js +2 -2
- data/vendor/mathjax/unpacked/localization/it/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/it/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/it/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/it/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/it/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/it/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/it/it.js +2 -2
- data/vendor/mathjax/unpacked/localization/ja/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/ja/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/ja/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/ja/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/ja/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/ja/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/ja/ja.js +2 -2
- data/vendor/mathjax/unpacked/localization/kn/FontWarnings.js +3 -2
- data/vendor/mathjax/unpacked/localization/kn/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/kn/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/kn/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/kn/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/kn/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/kn/kn.js +2 -2
- data/vendor/mathjax/unpacked/localization/ko/FontWarnings.js +4 -2
- data/vendor/mathjax/unpacked/localization/ko/HTML-CSS.js +6 -2
- data/vendor/mathjax/unpacked/localization/ko/HelpDialog.js +5 -2
- data/vendor/mathjax/unpacked/localization/ko/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/ko/MathMenu.js +11 -3
- data/vendor/mathjax/unpacked/localization/ko/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/ko/ko.js +2 -2
- data/vendor/mathjax/unpacked/localization/lb/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/lb/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/lb/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/lb/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/lb/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/lb/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/lb/lb.js +2 -2
- data/vendor/mathjax/unpacked/localization/lki/FontWarnings.js +38 -0
- data/vendor/mathjax/unpacked/localization/lki/HTML-CSS.js +36 -0
- data/vendor/mathjax/unpacked/localization/lki/HelpDialog.js +41 -0
- data/vendor/mathjax/unpacked/localization/lki/MathML.js +41 -0
- data/vendor/mathjax/unpacked/localization/lki/MathMenu.js +111 -0
- data/vendor/mathjax/unpacked/localization/lki/TeX.js +102 -0
- data/vendor/mathjax/unpacked/localization/lki/lki.js +61 -0
- data/vendor/mathjax/unpacked/localization/lt/FontWarnings.js +38 -0
- data/vendor/mathjax/unpacked/localization/lt/HTML-CSS.js +36 -0
- data/vendor/mathjax/unpacked/localization/lt/HelpDialog.js +41 -0
- data/vendor/mathjax/unpacked/localization/lt/MathML.js +41 -0
- data/vendor/mathjax/unpacked/localization/lt/MathMenu.js +111 -0
- data/vendor/mathjax/unpacked/localization/lt/TeX.js +102 -0
- data/vendor/mathjax/unpacked/localization/lt/lt.js +66 -0
- data/vendor/mathjax/unpacked/localization/mk/FontWarnings.js +2 -2
- data/vendor/mathjax/unpacked/localization/mk/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/mk/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/mk/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/mk/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/mk/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/mk/mk.js +2 -2
- data/vendor/mathjax/unpacked/localization/nl/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/nl/HTML-CSS.js +3 -3
- data/vendor/mathjax/unpacked/localization/nl/HelpDialog.js +2 -2
- data/vendor/mathjax/unpacked/localization/nl/MathML.js +2 -2
- data/vendor/mathjax/unpacked/localization/nl/MathMenu.js +21 -21
- data/vendor/mathjax/unpacked/localization/nl/TeX.js +26 -26
- data/vendor/mathjax/unpacked/localization/nl/nl.js +7 -7
- data/vendor/mathjax/unpacked/localization/oc/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/oc/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/oc/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/oc/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/oc/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/oc/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/oc/oc.js +2 -2
- data/vendor/mathjax/unpacked/localization/pl/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/pl/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/pl/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/pl/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/pl/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/pl/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/pl/pl.js +2 -2
- data/vendor/mathjax/unpacked/localization/pt-br/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/pt-br/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/pt-br/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/pt-br/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/pt-br/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/pt-br/TeX.js +2 -2
- data/vendor/mathjax/unpacked/localization/pt-br/pt-br.js +5 -5
- data/vendor/mathjax/unpacked/localization/pt/FontWarnings.js +8 -8
- data/vendor/mathjax/unpacked/localization/pt/HTML-CSS.js +4 -4
- data/vendor/mathjax/unpacked/localization/pt/HelpDialog.js +5 -5
- data/vendor/mathjax/unpacked/localization/pt/MathML.js +2 -2
- data/vendor/mathjax/unpacked/localization/pt/MathMenu.js +17 -17
- data/vendor/mathjax/unpacked/localization/pt/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/pt/pt.js +2 -2
- data/vendor/mathjax/unpacked/localization/qqq/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/qqq/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/qqq/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/qqq/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/qqq/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/qqq/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/qqq/qqq.js +2 -2
- data/vendor/mathjax/unpacked/localization/ru/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/ru/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/ru/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/ru/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/ru/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/ru/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/ru/ru.js +2 -2
- data/vendor/mathjax/unpacked/localization/scn/FontWarnings.js +38 -0
- data/vendor/mathjax/unpacked/localization/scn/HTML-CSS.js +36 -0
- data/vendor/mathjax/unpacked/localization/scn/HelpDialog.js +41 -0
- data/vendor/mathjax/unpacked/localization/scn/MathML.js +41 -0
- data/vendor/mathjax/unpacked/localization/scn/MathMenu.js +111 -0
- data/vendor/mathjax/unpacked/localization/scn/TeX.js +102 -0
- data/vendor/mathjax/unpacked/localization/scn/scn.js +61 -0
- data/vendor/mathjax/unpacked/localization/sco/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/sco/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/sco/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/sco/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/sco/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/sco/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/sco/sco.js +2 -2
- data/vendor/mathjax/unpacked/localization/sl/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/sl/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/sl/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/sl/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/sl/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/sl/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/sl/sl.js +2 -2
- data/vendor/mathjax/unpacked/localization/sv/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/sv/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/sv/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/sv/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/sv/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/sv/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/sv/sv.js +2 -2
- data/vendor/mathjax/unpacked/localization/tr/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/tr/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/tr/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/tr/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/tr/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/tr/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/tr/tr.js +2 -2
- data/vendor/mathjax/unpacked/localization/uk/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/uk/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/uk/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/uk/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/uk/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/uk/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/uk/uk.js +2 -2
- data/vendor/mathjax/unpacked/localization/vi/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/vi/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/vi/HelpDialog.js +1 -1
- data/vendor/mathjax/unpacked/localization/vi/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/vi/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/vi/TeX.js +1 -1
- data/vendor/mathjax/unpacked/localization/vi/vi.js +2 -2
- data/vendor/mathjax/unpacked/localization/zh-hans/FontWarnings.js +1 -1
- data/vendor/mathjax/unpacked/localization/zh-hans/HTML-CSS.js +1 -1
- data/vendor/mathjax/unpacked/localization/zh-hans/HelpDialog.js +2 -2
- data/vendor/mathjax/unpacked/localization/zh-hans/MathML.js +1 -1
- data/vendor/mathjax/unpacked/localization/zh-hans/MathMenu.js +1 -1
- data/vendor/mathjax/unpacked/localization/zh-hans/TeX.js +2 -2
- data/vendor/mathjax/unpacked/localization/zh-hans/zh-hans.js +2 -2
- metadata +154 -11
- data/vendor/mathjax/images/CloseX-31.png +0 -0
- data/vendor/mathjax/images/MenuArrow-15.png +0 -0
@@ -0,0 +1,73 @@
|
|
1
|
+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
|
2
|
+
/* vim: set ts=2 et sw=2 tw=80: */
|
3
|
+
|
4
|
+
/*************************************************************
|
5
|
+
*
|
6
|
+
* MathJax/jax/output/CommonHTML/autoload/ms.js
|
7
|
+
*
|
8
|
+
* Implements the CommonHTML output for <ms> elements.
|
9
|
+
*
|
10
|
+
* ---------------------------------------------------------------------
|
11
|
+
*
|
12
|
+
* Copyright (c) 2015 The MathJax Consortium
|
13
|
+
*
|
14
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
15
|
+
* you may not use this file except in compliance with the License.
|
16
|
+
* You may obtain a copy of the License at
|
17
|
+
*
|
18
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
19
|
+
*
|
20
|
+
* Unless required by applicable law or agreed to in writing, software
|
21
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
22
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
23
|
+
* See the License for the specific language governing permissions and
|
24
|
+
* limitations under the License.
|
25
|
+
*/
|
26
|
+
|
27
|
+
MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
|
28
|
+
var VERSION = "2.6.0";
|
29
|
+
var MML = MathJax.ElementJax.mml,
|
30
|
+
CHTML = MathJax.OutputJax.CommonHTML;
|
31
|
+
|
32
|
+
MML.ms.Augment({
|
33
|
+
toCommonHTML: function (node) {
|
34
|
+
//
|
35
|
+
// Create the node and handle its styles and scaling
|
36
|
+
// Get the variant and an empty bounding box
|
37
|
+
//
|
38
|
+
node = this.CHTMLcreateNode(node);
|
39
|
+
this.CHTMLhandleStyle(node);
|
40
|
+
this.CHTMLhandleScale(node);
|
41
|
+
this.CHTMLgetVariant();
|
42
|
+
CHTML.BBOX.empty(this.CHTML);
|
43
|
+
//
|
44
|
+
// Get the quotes to use
|
45
|
+
//
|
46
|
+
var values = this.getValues("lquote","rquote","mathvariant");
|
47
|
+
if (!this.hasValue("lquote") || values.lquote === '"') values.lquote = "\u201C";
|
48
|
+
if (!this.hasValue("rquote") || values.rquote === '"') values.rquote = "\u201D";
|
49
|
+
if (values.lquote === "\u201C" && values.mathvariant === "monospace") values.lquote = '"';
|
50
|
+
if (values.rquote === "\u201D" && values.mathvariant === "monospace") values.rquote = '"';
|
51
|
+
//
|
52
|
+
// Add the left quote, the child nodes, and the right quote
|
53
|
+
//
|
54
|
+
var text = values.lquote+this.data.join("")+values.rquote; // FIXME: handle mglyph?
|
55
|
+
this.CHTMLhandleText(node,text,this.CHTMLvariant);
|
56
|
+
//
|
57
|
+
// Finish the bbox, add any needed space and color
|
58
|
+
//
|
59
|
+
this.CHTML.clean();
|
60
|
+
this.CHTMLhandleSpace(node);
|
61
|
+
this.CHTMLhandleBBox(node);
|
62
|
+
this.CHTMLhandleColor(node);
|
63
|
+
//
|
64
|
+
// Return the completed node
|
65
|
+
//
|
66
|
+
return node;
|
67
|
+
}
|
68
|
+
});
|
69
|
+
|
70
|
+
MathJax.Hub.Startup.signal.Post("CommonHTML ms Ready");
|
71
|
+
MathJax.Ajax.loadComplete(CHTML.autoloadDir+"/ms.js");
|
72
|
+
});
|
73
|
+
|
@@ -0,0 +1,596 @@
|
|
1
|
+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
|
2
|
+
/* vim: set ts=2 et sw=2 tw=80: */
|
3
|
+
|
4
|
+
/*************************************************************
|
5
|
+
*
|
6
|
+
* MathJax/jax/output/CommonHTML/autoload/mtable.js
|
7
|
+
*
|
8
|
+
* Implements the CommonHTML output for <mtable> elements.
|
9
|
+
*
|
10
|
+
* ---------------------------------------------------------------------
|
11
|
+
*
|
12
|
+
* Copyright (c) 2015 The MathJax Consortium
|
13
|
+
*
|
14
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
15
|
+
* you may not use this file except in compliance with the License.
|
16
|
+
* You may obtain a copy of the License at
|
17
|
+
*
|
18
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
19
|
+
*
|
20
|
+
* Unless required by applicable law or agreed to in writing, software
|
21
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
22
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
23
|
+
* See the License for the specific language governing permissions and
|
24
|
+
* limitations under the License.
|
25
|
+
*/
|
26
|
+
|
27
|
+
MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
|
28
|
+
var VERSION = "2.6.0";
|
29
|
+
var MML = MathJax.ElementJax.mml,
|
30
|
+
CONFIG = MathJax.Hub.config,
|
31
|
+
CHTML = MathJax.OutputJax.CommonHTML,
|
32
|
+
SPLIT = MathJax.Hub.SplitList;
|
33
|
+
|
34
|
+
var LABEL = -1,
|
35
|
+
BIGDIMEN = 1000000;
|
36
|
+
|
37
|
+
MML.mtable.Augment({
|
38
|
+
toCommonHTML: function (node) {
|
39
|
+
//
|
40
|
+
// Create the table nodes and put them in a table
|
41
|
+
// (so that its bottom is on the baseline, rather than aligned on the top row)
|
42
|
+
//
|
43
|
+
var state = {rows:[], labels:[], labeled: false};
|
44
|
+
node = this.CHTMLdefaultNode(node,{noBBox:true, childOptions:state});
|
45
|
+
var table = CHTML.Element("mjx-table");
|
46
|
+
while (node.firstChild) table.appendChild(node.firstChild);
|
47
|
+
node.appendChild(table);
|
48
|
+
//
|
49
|
+
// Get the table attributes
|
50
|
+
//
|
51
|
+
var values = this.getValues("columnalign","rowalign","columnspacing","rowspacing",
|
52
|
+
"columnwidth","equalcolumns","equalrows",
|
53
|
+
"columnlines","rowlines","frame","framespacing",
|
54
|
+
"align","width","side","minlabelspacing","useHeight");
|
55
|
+
var t = CHTML.TEX.min_rule_thickness/CHTML.em;
|
56
|
+
state.t = CHTML.Px(t*this.CHTML.scale,1);
|
57
|
+
//
|
58
|
+
// Create the table
|
59
|
+
//
|
60
|
+
this.CHTMLgetBoxSizes(values,state);
|
61
|
+
this.CHTMLgetAttributes(values,state);
|
62
|
+
if (values.equalrows) {
|
63
|
+
state.HD = true;
|
64
|
+
state.HH = Math.max.apply(Math,state.H);
|
65
|
+
state.DD = Math.max.apply(Math,state.D);
|
66
|
+
}
|
67
|
+
this.CHTMLadjustCells(values,state);
|
68
|
+
if (values.frame) table.style.border = state.t+" "+values.frame;
|
69
|
+
this.CHTMLalignV(values,state,node);
|
70
|
+
this.CHTMLcolumnWidths(values,state,node);
|
71
|
+
this.CHTMLstretchCells(values,state);
|
72
|
+
if (state.labeled) this.CHTMLaddLabels(values,state,node,table);
|
73
|
+
//
|
74
|
+
// Set the bounding box (ignores overlapping outside of the table)
|
75
|
+
//
|
76
|
+
var BBOX = this.CHTML;
|
77
|
+
BBOX.w = BBOX.r = state.R;
|
78
|
+
BBOX.h = BBOX.t = state.T-state.B;
|
79
|
+
BBOX.d = BBOX.b = state.B;
|
80
|
+
if (!values.frame && !BBOX.pwidth) {
|
81
|
+
node.style.padding = "0 "+CHTML.Em(1/6);
|
82
|
+
BBOX.L = BBOX.R = 1/6;
|
83
|
+
}
|
84
|
+
//
|
85
|
+
// Add any needed space and color
|
86
|
+
//
|
87
|
+
this.CHTMLhandleSpace(node);
|
88
|
+
this.CHTMLhandleBBox(node);
|
89
|
+
this.CHTMLhandleColor(node);
|
90
|
+
//
|
91
|
+
// Return the completed node
|
92
|
+
//
|
93
|
+
return node;
|
94
|
+
},
|
95
|
+
//
|
96
|
+
// Get the natural height, depth, and widths of the rows and columns
|
97
|
+
//
|
98
|
+
CHTMLgetBoxSizes: function (values,state) {
|
99
|
+
var LH = CHTML.FONTDATA.lineH * values.useHeight,
|
100
|
+
LD = CHTML.FONTDATA.lineD * values.useHeight;
|
101
|
+
var H = [], D = [], W = [], J = -1;
|
102
|
+
for (var i = 0, m = this.data.length; i < m; i++) {
|
103
|
+
var row = this.data[i], s = (row.type === "mtr" ? 0 : LABEL);
|
104
|
+
H[i] = LH; D[i] = LD;
|
105
|
+
for (var j = s, M = row.data.length + s; j < M; j++) {
|
106
|
+
if (W[j] == null) {W[j] = -BIGDIMEN; if (j > J) J = j}
|
107
|
+
var cbox = row.data[j-s].CHTML;
|
108
|
+
if (cbox.h > H[i]) H[i] = cbox.h;
|
109
|
+
if (cbox.d > D[i]) D[i] = cbox.d;
|
110
|
+
if (cbox.w > W[j]) W[j] = cbox.w;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
state.H = H; state.D = D; state.W = W, state.J = J;
|
114
|
+
},
|
115
|
+
//
|
116
|
+
// Pad the spacing and alignment attributes to match the size of the table
|
117
|
+
//
|
118
|
+
CHTMLgetAttributes: function (values,state) {
|
119
|
+
var CSPACE = SPLIT(values.columnspacing),
|
120
|
+
RSPACE = SPLIT(values.rowspacing),
|
121
|
+
CALIGN = SPLIT(values.columnalign),
|
122
|
+
RALIGN = SPLIT(values.rowalign),
|
123
|
+
CLINES = SPLIT(values.columnlines),
|
124
|
+
RLINES = SPLIT(values.rowlines),
|
125
|
+
CWIDTH = SPLIT(values.columnwidth),
|
126
|
+
RCALIGN = [], i, m, J = state.J, M = state.rows.length-1;
|
127
|
+
for (i = 0, m = CSPACE.length; i < m; i++) CSPACE[i] = this.CHTMLlength2em(CSPACE[i]);
|
128
|
+
for (i = 0, m = RSPACE.length; i < m; i++) RSPACE[i] = this.CHTMLlength2em(RSPACE[i]);
|
129
|
+
while (CSPACE.length < J) CSPACE.push(CSPACE[CSPACE.length-1]);
|
130
|
+
while (CALIGN.length <= J) CALIGN.push(CALIGN[CALIGN.length-1]);
|
131
|
+
while (CLINES.length < J) CLINES.push(CLINES[CLINES.length-1]);
|
132
|
+
while (CWIDTH.length <= J) CWIDTH.push(CWIDTH[CWIDTH.length-1]);
|
133
|
+
while (RSPACE.length < M) RSPACE.push(RSPACE[RSPACE.length-1]);
|
134
|
+
while (RALIGN.length <= M) RALIGN.push(RALIGN[RALIGN.length-1]);
|
135
|
+
while (RLINES.length < M) RLINES.push(RLINES[RLINES.length-1]);
|
136
|
+
CALIGN[LABEL] = (values.side.substr(0,1) === "l" ? "left" : "right");
|
137
|
+
//
|
138
|
+
// Override aligment data based on row-specific attributes
|
139
|
+
//
|
140
|
+
for (i = 0; i <= M; i++) {
|
141
|
+
var row = this.data[i]; RCALIGN[i] = [];
|
142
|
+
if (row.rowalign) RALIGN[i] = row.rowalign;
|
143
|
+
if (row.columnalign) {
|
144
|
+
RCALIGN[i] = SPLIT(row.columnalign);
|
145
|
+
while (RCALIGN[i].length <= J) RCALIGN[i].push(RCALIGN[i][RCALIGN[i].length-1]);
|
146
|
+
}
|
147
|
+
}
|
148
|
+
//
|
149
|
+
// Handle framespacing
|
150
|
+
//
|
151
|
+
var FSPACE = SPLIT(values.framespacing);
|
152
|
+
if (FSPACE.length != 2) FSPACE = SPLIT(this.defaults.framespacing);
|
153
|
+
FSPACE[0] = Math.max(0,this.CHTMLlength2em(FSPACE[0]));
|
154
|
+
FSPACE[1] = Math.max(0,this.CHTMLlength2em(FSPACE[1]));
|
155
|
+
if (values.columnlines.replace(/none/g,"").replace(/ /g,"") !== "" ||
|
156
|
+
values.rowlines.replace(/none/g,"").replace(/ /g,"") !== "") values.fspace = true;
|
157
|
+
//
|
158
|
+
// Pad arrays so that final column can be treated as all the others
|
159
|
+
//
|
160
|
+
if (values.frame === MML.LINES.NONE) delete values.frame; else values.fspace = true;
|
161
|
+
if (values.frame) {
|
162
|
+
FSPACE[0] = Math.max(0,FSPACE[0]);
|
163
|
+
FSPACE[1] = Math.max(0,FSPACE[1]);
|
164
|
+
}
|
165
|
+
if (values.fspace) {
|
166
|
+
CSPACE[J] = FSPACE[0]; RSPACE[M] = FSPACE[1];
|
167
|
+
} else {
|
168
|
+
CSPACE[J] = RSPACE[M] = 0;
|
169
|
+
}
|
170
|
+
CLINES[J] = RLINES[M] = MML.LINES.NONE;
|
171
|
+
//
|
172
|
+
// Save everything in the state
|
173
|
+
//
|
174
|
+
state.CSPACE = CSPACE; state.RSPACE = RSPACE;
|
175
|
+
state.CALIGN = CALIGN; state.RALIGN = RALIGN;
|
176
|
+
state.CLINES = CLINES; state.RLINES = RLINES;
|
177
|
+
state.CWIDTH = CWIDTH; state.RCALIGN = RCALIGN;
|
178
|
+
state.FSPACE = FSPACE;
|
179
|
+
},
|
180
|
+
//
|
181
|
+
// Add styles to cells to handle borders, spacing, alignment, etc.
|
182
|
+
//
|
183
|
+
CHTMLadjustCells: function(values,state) {
|
184
|
+
var ROWS = state.rows,
|
185
|
+
CSPACE = state.CSPACE, CLINES = state.CLINES,
|
186
|
+
RSPACE = state.RSPACE, RLINES = state.RLINES,
|
187
|
+
CALIGN = state.CALIGN, RALIGN = state.RALIGN,
|
188
|
+
RCALIGN = state.RCALIGN;
|
189
|
+
CSPACE[state.J] *= 2; RSPACE[ROWS.length-1] *= 2; // since halved below
|
190
|
+
var LH = CHTML.FONTDATA.lineH * values.useHeight,
|
191
|
+
LD = CHTML.FONTDATA.lineD * values.useHeight;
|
192
|
+
var T = "0", B, R, L, border, cbox, align;
|
193
|
+
if (values.fspace) T = CHTML.Em(state.FSPACE[1]);
|
194
|
+
for (var i = 0, m = ROWS.length; i < m; i++) {
|
195
|
+
var row = ROWS[i], rdata = this.data[i];
|
196
|
+
//
|
197
|
+
// Space and borders between rows
|
198
|
+
//
|
199
|
+
B = RSPACE[i]/2; border = null; L = "0";
|
200
|
+
if (RLINES[i] !== MML.LINES.NONE) {
|
201
|
+
border = state.t+" "+RLINES[i];
|
202
|
+
B -= 1/CHTML.em/2;
|
203
|
+
}
|
204
|
+
B = CHTML.Em(Math.max(0,B));
|
205
|
+
//
|
206
|
+
// Frame space for initial cell
|
207
|
+
//
|
208
|
+
if (values.fspace) L = CHTML.Em(state.FSPACE[0]);
|
209
|
+
//
|
210
|
+
// The cells in the row
|
211
|
+
//
|
212
|
+
for (var j = 0, M = row.length; j < M; j++) {
|
213
|
+
var s = (rdata.type === "mtr" ? 0 : LABEL);
|
214
|
+
cell = row[j].style; cbox = rdata.data[j-s].CHTML;
|
215
|
+
//
|
216
|
+
// Space and borders between columns
|
217
|
+
//
|
218
|
+
R = CSPACE[j]/2;
|
219
|
+
if (CLINES[j] !== MML.LINES.NONE) {
|
220
|
+
cell.borderRight = state.t+" "+CLINES[j];
|
221
|
+
R -= 1/CHTML.em/2;
|
222
|
+
}
|
223
|
+
R = CHTML.Em(Math.max(0,R));
|
224
|
+
cell.padding = T+" "+R+" "+B+" "+L;
|
225
|
+
if (border) cell.borderBottom = border;
|
226
|
+
L = R;
|
227
|
+
//
|
228
|
+
// Handle vertical and horizontal alignment
|
229
|
+
//
|
230
|
+
align = (rdata.data[j-s].rowalign||this.data[i].rowalign||RALIGN[i]);
|
231
|
+
align = ({top:"top", bottom:"bottom", center:"middle"})[align];
|
232
|
+
if (align) cell.verticalAlign = align;
|
233
|
+
align = (rdata.data[j-s].columnalign||RCALIGN[i][j]||CALIGN[j]);
|
234
|
+
if (align !== MML.ALIGN.CENTER) cell.textAlign = align;
|
235
|
+
//
|
236
|
+
// Equal heights forced by adding an element of the proper size
|
237
|
+
// (setting style.height seems to work very strangely)
|
238
|
+
//
|
239
|
+
if (state.HD && j === 0) {
|
240
|
+
CHTML.addElement(row[j].parentNode,"mjx-mtd",{style:{padding:T+" 0 "+B}},
|
241
|
+
[["mjx-box",{style:{
|
242
|
+
height:CHTML.Em(state.HH+state.DD),
|
243
|
+
"vertical-align":CHTML.Em(-state.DD)
|
244
|
+
}}]]
|
245
|
+
);
|
246
|
+
}
|
247
|
+
//
|
248
|
+
// Pad cells that are too short
|
249
|
+
//
|
250
|
+
cell = row[j].firstChild.style;
|
251
|
+
if (cbox.h < LH) cell.marginTop = CHTML.Em(LH-cbox.h);
|
252
|
+
if (cbox.d < LD) cell.marginBottom = CHTML.Em(LD-cbox.d);
|
253
|
+
}
|
254
|
+
T = B;
|
255
|
+
}
|
256
|
+
CSPACE[state.J] /= 2; RSPACE[ROWS.length-1] /= 2; // back to normal
|
257
|
+
},
|
258
|
+
//
|
259
|
+
// Align the table vertically according to the align attribute
|
260
|
+
//
|
261
|
+
CHTMLalignV: function (values,state,node) {
|
262
|
+
var n, M = state.rows.length, H = state.H, D = state.D, RSPACE = state.RSPACE;
|
263
|
+
//
|
264
|
+
// Get alignment type and row number
|
265
|
+
//
|
266
|
+
if (typeof(values.align) !== "string") values.align = String(values.align);
|
267
|
+
if (values.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)) {
|
268
|
+
n = parseInt(RegExp.$3||"0");
|
269
|
+
values.align = RegExp.$1
|
270
|
+
if (n < 0) n += state.rows.length + 1;
|
271
|
+
if (n > M || n <= 0) n = null;
|
272
|
+
} else {
|
273
|
+
values.align = this.defaults.align;
|
274
|
+
}
|
275
|
+
//
|
276
|
+
// Get table height and baseline offset
|
277
|
+
//
|
278
|
+
var T = 0, B = 0, a = CHTML.TEX.axis_height;
|
279
|
+
if (values.fspace) T += state.FSPACE[1];
|
280
|
+
if (values.frame) {T += 2/CHTML.em; B += 1/CHTML.em}
|
281
|
+
var h = state.HH, d = state.DD;
|
282
|
+
for (var i = 0; i < M; i++) {
|
283
|
+
if (!state.HD) {h = H[i]; d = D[i]}
|
284
|
+
T += h + d + RSPACE[i];
|
285
|
+
if (n) {
|
286
|
+
if (i === n-1) {
|
287
|
+
B += ({top:h+d, bottom:0, center:(h+d)/2,
|
288
|
+
baseline:d, axis:a+d})[values.align] + RSPACE[i];
|
289
|
+
}
|
290
|
+
if (i >= n) B += h + d + RSPACE[i];
|
291
|
+
}
|
292
|
+
}
|
293
|
+
if (!n) B = ({top:T, bottom:0, center:T/2, baseline:T/2, axis:T/2-a})[values.align];
|
294
|
+
//
|
295
|
+
// Place the node and save the values
|
296
|
+
//
|
297
|
+
if (B) node.style.verticalAlign = CHTML.Em(-B);
|
298
|
+
state.T = T; state.B = B;
|
299
|
+
},
|
300
|
+
//
|
301
|
+
// Determine column widths and set the styles for the columns
|
302
|
+
//
|
303
|
+
CHTMLcolumnWidths: function (values,state,node) {
|
304
|
+
var CWIDTH = state.CWIDTH, CSPACE = state.CSPACE, J = state.J, j;
|
305
|
+
var WW = 0, setWidths = false, relWidth = values.width.match(/%$/);
|
306
|
+
var i, m, w;
|
307
|
+
//
|
308
|
+
// Handle equal columns by adjusting the CWIDTH array
|
309
|
+
//
|
310
|
+
if (values.width !== "auto" && !relWidth) {
|
311
|
+
WW = Math.max(0,this.CHTMLlength2em(values.width,state.R));
|
312
|
+
setWidths = true;
|
313
|
+
}
|
314
|
+
if (values.equalcolumns) {
|
315
|
+
if (relWidth) {
|
316
|
+
//
|
317
|
+
// Use percent of total (not perfect, but best we can do)
|
318
|
+
//
|
319
|
+
var p = CHTML.Percent(1/(J+1));
|
320
|
+
for (j = 0; j <= J; j++) CWIDTH[j] = p;
|
321
|
+
} else {
|
322
|
+
//
|
323
|
+
// For width = auto, make all widths equal the widest,
|
324
|
+
// otherwise, for specific width, remove intercolumn space
|
325
|
+
// and divide by number of columns to get widest space.
|
326
|
+
//
|
327
|
+
w = Math.max.apply(Math,state.W);
|
328
|
+
if (values.width !== "auto") {
|
329
|
+
var S = (values.fspace ? state.FSPACE[0] + (values.frame ? 2/CHTML.em : 0) : 0);
|
330
|
+
for (j = 0; j <= J; j++) S += CSPACE[j];
|
331
|
+
w = Math.max((WW-S)/(J+1),w);
|
332
|
+
}
|
333
|
+
w = CHTML.Em(w);
|
334
|
+
for (j = 0; j <= J; j++) CWIDTH[j] = w;
|
335
|
+
}
|
336
|
+
setWidths = true;
|
337
|
+
}
|
338
|
+
//
|
339
|
+
// Compute natural table width
|
340
|
+
//
|
341
|
+
var TW = 0; if (values.fspace) TW = state.FSPACE[0];
|
342
|
+
var auto = [], fit = [], percent = [], W = [];
|
343
|
+
var row = state.rows[0];
|
344
|
+
for (j = 0; j <= J; j++) {
|
345
|
+
W[j] = state.W[j];
|
346
|
+
if (CWIDTH[j] === "auto") auto.push(j)
|
347
|
+
else if (CWIDTH[j] === "fit") fit.push(j)
|
348
|
+
else if (CWIDTH[j].match(/%$/)) percent.push(j)
|
349
|
+
else W[j] = this.CHTMLlength2em(CWIDTH[j],W[j]);
|
350
|
+
TW += W[j] + CSPACE[j];
|
351
|
+
if (row[j]) row[j].style.width = CHTML.Em(W[j]);
|
352
|
+
}
|
353
|
+
if (values.frame) TW += 2/CHTML.em;
|
354
|
+
var hasFit = (fit.length > 0);
|
355
|
+
//
|
356
|
+
// Adjust widths of columns
|
357
|
+
//
|
358
|
+
if (setWidths) {
|
359
|
+
if (relWidth) {
|
360
|
+
//
|
361
|
+
// Attach appropriate widths to the columns
|
362
|
+
//
|
363
|
+
for (j = 0; j <= J; j++) {
|
364
|
+
cell = row[j].style;
|
365
|
+
if (CWIDTH[j] === "auto" && !hasFit) cell.width = "";
|
366
|
+
else if (CWIDTH[j] === "fit") cell.width = "";
|
367
|
+
else if (CWIDTH[j].match(/%$/)) cell.width = CWIDTH[j];
|
368
|
+
else cell.minWidth = cell.maxWidth = cell.width;
|
369
|
+
}
|
370
|
+
} else {
|
371
|
+
//
|
372
|
+
// Compute percentage widths
|
373
|
+
//
|
374
|
+
if (WW > TW) {
|
375
|
+
var extra = 0;
|
376
|
+
for (i = 0, m = percent.length; i < m; i++) {
|
377
|
+
j = percent[i];
|
378
|
+
w = Math.max(W[j],this.CHTMLlength2em(CWIDTH[j],WW));
|
379
|
+
extra += w-W[j]; W[j] = w;
|
380
|
+
row[j].style.width = CHTML.Em(w);
|
381
|
+
}
|
382
|
+
TW += extra;
|
383
|
+
}
|
384
|
+
//
|
385
|
+
// Compute "fit" widths
|
386
|
+
//
|
387
|
+
if (!hasFit) fit = auto;
|
388
|
+
if (WW > TW && fit.length) {
|
389
|
+
var dw = (WW - TW) / fit.length;
|
390
|
+
for (i = 0, m = fit.length; i < m; i++) {
|
391
|
+
j = fit[i]; W[j] += dw;
|
392
|
+
row[j].style.width = CHTML.Em(W[j]);
|
393
|
+
}
|
394
|
+
TW = WW;
|
395
|
+
}
|
396
|
+
}
|
397
|
+
}
|
398
|
+
W[LABEL] = state.W[LABEL];
|
399
|
+
state.W = W;
|
400
|
+
state.R = TW;
|
401
|
+
//
|
402
|
+
// Set variable width on DOM nodes
|
403
|
+
//
|
404
|
+
if (relWidth) {
|
405
|
+
this.CHTML.pwidth = values.width; this.CHTML.mwidth = CHTML.Em(TW);
|
406
|
+
node.style.width = node.firstChild.style.width = "100%";
|
407
|
+
}
|
408
|
+
},
|
409
|
+
//
|
410
|
+
// Stretch any cells that can be stretched
|
411
|
+
//
|
412
|
+
CHTMLstretchCells: function (values,state) {
|
413
|
+
var ROWS = state.rows, H = state.H, D = state.D, W = state.W,
|
414
|
+
J = state.J, M = ROWS.length-1;
|
415
|
+
var h = state.HH, d = state.DD;
|
416
|
+
for (var i = 0; i <= M; i++) {
|
417
|
+
var row = ROWS[i], rdata = this.data[i];
|
418
|
+
if (!state.HD) {h = H[i]; d = D[i]}
|
419
|
+
for (var j = 0; j <= J; j++) {
|
420
|
+
var cell = row[j], cdata = rdata.data[j];
|
421
|
+
if (!cdata) continue;
|
422
|
+
if (cdata.CHTML.stretch === "V") cdata.CHTMLstretchV(h,d);
|
423
|
+
else if (cdata.CHTML.stretch === "H") cdata.CHTMLstretchH(cell,W[j]);
|
424
|
+
}
|
425
|
+
}
|
426
|
+
},
|
427
|
+
//
|
428
|
+
// Add labels to a table
|
429
|
+
//
|
430
|
+
CHTMLaddLabels: function (values,state,node,table) {
|
431
|
+
//
|
432
|
+
// Get indentation and alignment
|
433
|
+
//
|
434
|
+
var indent = this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");
|
435
|
+
if (indent.indentalignfirst !== MML.INDENTALIGN.INDENTALIGN) indent.indentalign = indent.indentalignfirst;
|
436
|
+
if (indent.indentalign === MML.INDENTALIGN.AUTO) indent.indentalign = CONFIG.displayAlign;
|
437
|
+
if (indent.indentshiftfirst !== MML.INDENTSHIFT.INDENTSHIFT) indent.indentshift = indent.indentshiftfirst;
|
438
|
+
if (indent.indentshift === "auto") indent.indentshift = "0";
|
439
|
+
var shift = this.CHTMLlength2em(indent.indentshift,CHTML.cwidth);
|
440
|
+
var labelspace = this.CHTMLlength2em(values.minlabelspacing,.8);
|
441
|
+
var labelW = labelspace + state.W[LABEL], labelshift = 0, tw = state.R;
|
442
|
+
var dIndent = this.CHTMLlength2em(CONFIG.displayIndent,CHTML.cwidth);
|
443
|
+
var s = (state.CALIGN[LABEL] === MML.INDENTALIGN.RIGHT ? -1 : 1);
|
444
|
+
if (indent.indentalign === MML.INDENTALIGN.CENTER) {
|
445
|
+
tw += 2 * (labelW - s*(shift + dIndent));
|
446
|
+
shift += dIndent;
|
447
|
+
} else if (state.CALIGN[LABEL] === indent.indentalign) {
|
448
|
+
if (dIndent < 0) {labelshift = s*dIndent; dIndent = 0}
|
449
|
+
shift += s*dIndent; if (labelW > s*shift) shift = s*labelW; shift += labelshift;
|
450
|
+
shift *= s; tw += shift;
|
451
|
+
} else {
|
452
|
+
tw += labelW - s*shift + dIndent;
|
453
|
+
shift -= s*dIndent; shift *= -s;
|
454
|
+
}
|
455
|
+
//
|
456
|
+
// Create boxes for table and labels
|
457
|
+
//
|
458
|
+
var box = CHTML.addElement(node,"mjx-box",{
|
459
|
+
style:{width:"100%","text-align":indent.indentalign}
|
460
|
+
}); box.appendChild(table);
|
461
|
+
var labels = CHTML.Element("mjx-stack");
|
462
|
+
table.style.display = "inline-table"; if (!table.style.width) table.style.width = "auto";
|
463
|
+
labels.style.verticalAlign = "top";
|
464
|
+
table.style.verticalAlign = CHTML.Em(state.T-state.B-state.H[0]);
|
465
|
+
node.style.verticalAlign = "";
|
466
|
+
if (shift) {
|
467
|
+
if (indent.indentalign === MML.INDENTALIGN.CENTER) {
|
468
|
+
table.style.marginLeft = CHTML.Em(shift);
|
469
|
+
table.style.marginRight = CHTML.Em(-shift);
|
470
|
+
} else {
|
471
|
+
var margin = "margin" + (indent.indentalign === MML.INDENTALIGN.RIGHT ? "Right" : "Left");
|
472
|
+
table.style[margin] = CHTML.Em(shift);
|
473
|
+
}
|
474
|
+
}
|
475
|
+
//
|
476
|
+
// Add labels on correct side
|
477
|
+
//
|
478
|
+
if (state.CALIGN[LABEL] === "left") {
|
479
|
+
node.insertBefore(labels,box);
|
480
|
+
labels.style.marginRight = CHTML.Em(-state.W[LABEL]-labelshift);
|
481
|
+
if (labelshift) labels.style.marginLeft = CHTML.Em(labelshift);
|
482
|
+
} else {
|
483
|
+
node.appendChild(labels);
|
484
|
+
labels.style.marginLeft = CHTML.Em(-state.W[LABEL]+labelshift);
|
485
|
+
}
|
486
|
+
//
|
487
|
+
// Vertically align the labels with their rows
|
488
|
+
//
|
489
|
+
var LABELS = state.labels, T = 0, H = state.H, D = state.D, RSPACE = state.RSPACE;
|
490
|
+
if (values.fspace) T = state.FSPACE[0] + (values.frame ? 1/CHTML.em : 0);
|
491
|
+
var h = state.HH, d = state.DD;
|
492
|
+
for (var i = 0, m = LABELS.length; i < m; i++) {
|
493
|
+
if (!state.HD) {h = H[i]; d = D[i]}
|
494
|
+
if (LABELS[i] && this.data[i].data[0]) {
|
495
|
+
labels.appendChild(LABELS[i]);
|
496
|
+
var lbox = this.data[i].data[0].CHTML;
|
497
|
+
T += h - lbox.h;
|
498
|
+
if (T) LABELS[i].style.marginTop = CHTML.Em(T);
|
499
|
+
T = d - lbox.d;
|
500
|
+
} else {
|
501
|
+
T += h + d;
|
502
|
+
}
|
503
|
+
T += RSPACE[i];
|
504
|
+
}
|
505
|
+
//
|
506
|
+
// Propagate full-width equations, and reserve room for equation plus label
|
507
|
+
//
|
508
|
+
node.style.width = this.CHTML.pwidth = "100%";
|
509
|
+
node.style.minWidth = this.CHTML.mwidth = CHTML.Em(Math.max(0,tw));
|
510
|
+
}
|
511
|
+
});
|
512
|
+
|
513
|
+
MML.mtr.Augment({
|
514
|
+
toCommonHTML: function (node,options) {
|
515
|
+
//
|
516
|
+
// Create the row node
|
517
|
+
//
|
518
|
+
node = this.CHTMLcreateNode(node);
|
519
|
+
this.CHTMLhandleStyle(node);
|
520
|
+
this.CHTMLhandleScale(node);
|
521
|
+
//
|
522
|
+
// Add a new row with no label
|
523
|
+
//
|
524
|
+
if (!options) options = {rows:[],labels:[]};
|
525
|
+
var row = []; options.rows.push(row);
|
526
|
+
options.labels.push(null);
|
527
|
+
//
|
528
|
+
// Add the cells to the row
|
529
|
+
//
|
530
|
+
for (var i = 0, m = this.data.length; i < m; i++)
|
531
|
+
row.push(this.CHTMLaddChild(node,i,options));
|
532
|
+
//
|
533
|
+
this.CHTMLhandleColor(node);
|
534
|
+
return node;
|
535
|
+
}
|
536
|
+
});
|
537
|
+
MML.mlabeledtr.Augment({
|
538
|
+
toCommonHTML: function (node,options) {
|
539
|
+
//
|
540
|
+
// Create the row node
|
541
|
+
//
|
542
|
+
node = this.CHTMLcreateNode(node);
|
543
|
+
this.CHTMLhandleStyle(node);
|
544
|
+
this.CHTMLhandleScale(node);
|
545
|
+
//
|
546
|
+
// Add a new row, and get the label
|
547
|
+
//
|
548
|
+
if (!options) options = {rows:[],labels:[]};
|
549
|
+
var row = []; options.rows.push(row);
|
550
|
+
var label = CHTML.Element("mjx-label"); options.labels.push(label);
|
551
|
+
this.CHTMLaddChild(label,0,options);
|
552
|
+
if (this.data[0]) options.labeled = true;
|
553
|
+
//
|
554
|
+
// Add the cells to the row
|
555
|
+
//
|
556
|
+
for (var i = 1, m = this.data.length; i < m; i++)
|
557
|
+
row.push(this.CHTMLaddChild(node,i,options));
|
558
|
+
//
|
559
|
+
this.CHTMLhandleColor(node);
|
560
|
+
return node;
|
561
|
+
}
|
562
|
+
});
|
563
|
+
MML.mtd.Augment({
|
564
|
+
toCommonHTML: function (node,options) {
|
565
|
+
node = this.CHTMLdefaultNode(node,options);
|
566
|
+
//
|
567
|
+
// Determine if this is stretchy or not
|
568
|
+
//
|
569
|
+
if (this.isEmbellished()) {
|
570
|
+
var mo = this.CoreMO(), BBOX = this.CHTML;
|
571
|
+
if (mo.CHTMLcanStretch("Vertical")) BBOX.stretch = "V";
|
572
|
+
else if (mo.CHTMLcanStretch("Horizontal")) BBOX.stretch = "H";
|
573
|
+
if (BBOX.stretch) {
|
574
|
+
var min = mo.Get("minsize",true);
|
575
|
+
if (min) {
|
576
|
+
if (BBOX.stretch === "V") {
|
577
|
+
var HD = BBOX.h + BBOX.d;
|
578
|
+
if (HD) {
|
579
|
+
var r = this.CHTMLlength2em(min,HD)/HD;
|
580
|
+
if (r > 1) {BBOX.h *= r; BBOX.d *= r}
|
581
|
+
}
|
582
|
+
} else {
|
583
|
+
BBOX.w = Math.max(BBOX.w,this.CHTMLlength2em(min,BBOX.w));
|
584
|
+
}
|
585
|
+
}
|
586
|
+
}
|
587
|
+
}
|
588
|
+
return node;
|
589
|
+
}
|
590
|
+
});
|
591
|
+
|
592
|
+
|
593
|
+
MathJax.Hub.Startup.signal.Post("CommonHTML mtable Ready");
|
594
|
+
MathJax.Ajax.loadComplete(CHTML.autoloadDir+"/mtable.js");
|
595
|
+
});
|
596
|
+
|