orange-gollum 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.rdoc +18 -0
- data/lib/orange-gollum.rb +6 -0
- data/lib/orange-gollum/assets/css/editbar.css +194 -0
- data/lib/orange-gollum/assets/css/gollum.css +55 -0
- data/lib/orange-gollum/assets/css/screen.css +686 -0
- data/lib/orange-gollum/assets/css/syntax.css +61 -0
- data/lib/orange-gollum/assets/images/buttons.png +0 -0
- data/lib/orange-gollum/assets/images/editbar-buttons.png +0 -0
- data/lib/orange-gollum/assets/images/example.png +0 -0
- data/lib/orange-gollum/assets/images/twiddle-down.png +0 -0
- data/lib/orange-gollum/assets/images/twiddle-right.png +0 -0
- data/lib/orange-gollum/assets/images/txt.png +0 -0
- data/lib/orange-gollum/assets/js/MathJax/COPYING.txt +202 -0
- data/lib/orange-gollum/assets/js/MathJax/MathJax.js +1704 -0
- data/lib/orange-gollum/assets/js/MathJax/README.txt +480 -0
- data/lib/orange-gollum/assets/js/MathJax/config/MMLorHTML.js +63 -0
- data/lib/orange-gollum/assets/js/MathJax/config/MathJax.js +351 -0
- data/lib/orange-gollum/assets/js/MathJax/config/local/local.js +37 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/AMSmath.js +376 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/AMSsymbols.js +385 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/autobold.js +43 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/boldsymbol.js +109 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/mathchoice.js +65 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/newcommand.js +185 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/noErrors.js +169 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/unicode.js +131 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/TeX/verb.js +53 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/jsMath2jax.js +77 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/mml2jax.js +101 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/tex2jax.js +242 -0
- data/lib/orange-gollum/assets/js/MathJax/extensions/toMathML.js +140 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/jax.js +1474 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/Arrows.js +122 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/BasicLatin.js +58 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/CombDiacritMarks.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/Dingbats.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/GeneralPunctuation.js +40 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/GeometricShapes.js +66 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/GreekAndCoptic.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/Latin1Supplement.js +37 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +39 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/MathOperators.js +228 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +167 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/MiscTechnical.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/SpacingModLetters.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/SuppMathOperators.js +289 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +162 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/config.js +39 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/a.js +87 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/b.js +114 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/c.js +111 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/d.js +112 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/e.js +88 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/f.js +58 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/fr.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/g.js +82 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/h.js +52 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/i.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/j.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/k.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/l.js +175 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/m.js +61 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/n.js +219 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/o.js +88 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/opf.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/p.js +84 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/q.js +34 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/r.js +134 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/s.js +168 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/scr.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/t.js +82 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/u.js +91 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/v.js +73 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/w.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/x.js +47 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/y.js +41 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/entities/z.js +39 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/MathML/jax.js +590 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/TeX/config.js +40 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/input/TeX/jax.js +1652 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/autoload/menclose.js +61 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +98 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/autoload/ms.js +49 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/blank.gif +0 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/config.js +127 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +32 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +109 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +67 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +98 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +49 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +31 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +129 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +67 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +33 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +109 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +116 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +123 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +155 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +59 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +69 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +172 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +260 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +31 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +37 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +30 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +42 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +39 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +30 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +87 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +84 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +32 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +122 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +67 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +31 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +129 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +50 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +119 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +116 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +123 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +155 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +59 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +56 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +56 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +32 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +67 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +47 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +31 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +129 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +50 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +78 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +116 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +123 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +154 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +58 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +56 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +192 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +78 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +68 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +32 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +106 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +82 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +72 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +86 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +50 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +31 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +129 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +57 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +74 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +68 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +118 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +109 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +85 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +118 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +115 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +154 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +63 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +82 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +380 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +78 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +207 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +89 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +90 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +68 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +88 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +66 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +154 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +74 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +91 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +80 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +39 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +79 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +271 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +155 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +55 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +55 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +55 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +55 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +55 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +182 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +215 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +60 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +242 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +57 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +387 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +51 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +43 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +46 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +63 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +62 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +52 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +77 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +105 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +46 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +63 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +62 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +46 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +64 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +63 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +60 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +44 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +120 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +49 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +373 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +1403 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +65 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +55 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +33 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +31 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +34 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +51 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +138 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +43 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +50 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +96 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +95 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +109 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +30 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +34 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +109 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +30 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +43 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +110 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +109 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +42 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +51 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +39 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +44 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +32 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +33 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +161 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +94 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +29 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +34 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +33 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +30 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +34 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +33 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +137 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +51 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +39 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +32 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +32 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +33 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +304 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +94 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +31 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +34 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +30 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +34 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +205 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +204 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +115 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +47 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +115 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +47 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +115 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +38 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +47 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +54 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +62 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +28 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +74 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +66 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +50 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +77 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +123 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +36 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +35 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +44 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +43 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +56 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +82 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +111 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +1691 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/imageFonts.js +185 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/HTML-CSS/jax.js +1991 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/NativeMML/config.js +51 -0
- data/lib/orange-gollum/assets/js/MathJax/jax/output/NativeMML/jax.js +230 -0
- data/lib/orange-gollum/assets/js/MathJax/test/index-images.html +119 -0
- data/lib/orange-gollum/assets/js/MathJax/test/index.html +127 -0
- data/lib/orange-gollum/assets/js/MathJax/test/sample.html +99 -0
- data/lib/orange-gollum/assets/js/gollum.js +244 -0
- data/lib/orange-gollum/assets/js/jquery-1.4.2.min.js +154 -0
- data/lib/orange-gollum/assets/js/jquery.previewable_comment_form.js +57 -0
- data/lib/orange-gollum/assets/js/jquery.tabs.js +59 -0
- data/lib/orange-gollum/assets/js/jquery.text_selection.min.js +1 -0
- data/lib/orange-gollum/plugin.rb +15 -0
- data/lib/orange-gollum/resources/gollum_resource.rb +242 -0
- data/lib/orange-gollum/views/gollum/compare.haml +22 -0
- data/lib/orange-gollum/views/gollum/create.haml +32 -0
- data/lib/orange-gollum/views/gollum/edit.haml +33 -0
- data/lib/orange-gollum/views/gollum/editbar.haml +1559 -0
- data/lib/orange-gollum/views/gollum/error.haml +1 -0
- data/lib/orange-gollum/views/gollum/history.haml +34 -0
- data/lib/orange-gollum/views/gollum/preview.haml +1 -0
- data/lib/orange-gollum/views/gollum/show.haml +12 -0
- data/spec/orange-gollum_spec.rb +7 -0
- data/spec/spec_helper.rb +9 -0
- metadata +516 -0
@@ -0,0 +1,480 @@
|
|
1
|
+
OVERVIEW:
|
2
|
+
|
3
|
+
MathJax (TM) is an open source, Ajax-based math display solution designed
|
4
|
+
with a goal of consolidating advances in many web technologies in a
|
5
|
+
single definitive math-on-the-web platform supporting all major
|
6
|
+
browsers.
|
7
|
+
|
8
|
+
Some of the main features of MathJax include:
|
9
|
+
|
10
|
+
o High-quality display of LaTeX and MathML math notation in HTML pages
|
11
|
+
|
12
|
+
o Supported in most browsers with no plug-ins, extra fonts, or special
|
13
|
+
setup for the reader
|
14
|
+
|
15
|
+
o Easy for authors, flexible for publishers, extensible for developers
|
16
|
+
|
17
|
+
o Supports math accessibility, cut and paste interoperability and other
|
18
|
+
advanced functionality
|
19
|
+
|
20
|
+
o Powerful API for integration with other web applications
|
21
|
+
|
22
|
+
See http://www.mathjax.org/ for additional details.
|
23
|
+
|
24
|
+
|
25
|
+
INSTALLATION:
|
26
|
+
|
27
|
+
MathJax can be used on a web server to support mathematics in your
|
28
|
+
public web pages, or it can be used locally from your hard disk for
|
29
|
+
your private pages. To use MathJax in either way, you will need to
|
30
|
+
obtain a copy of MathJax (see below) and its font package. These two
|
31
|
+
are separate pieces because the fonts are not likely to change often,
|
32
|
+
while the main code will be updated fairly regularly.
|
33
|
+
|
34
|
+
Obtaining MathJax from SourceForge via SVN:
|
35
|
+
|
36
|
+
The easiest way to obtain MathJax and keep it up-to-date is to use the
|
37
|
+
subversion program (svn) to check it out from the MathJax project at
|
38
|
+
SourceForge.net. The page
|
39
|
+
|
40
|
+
http://sourceforge.net/projects/mathjax/develop
|
41
|
+
|
42
|
+
lists the command you need to use to obtain a copy of MathJax via svn.
|
43
|
+
Once you have checked out a version of MathJax, you will find that it
|
44
|
+
includes a file called "fonts.zip" in the top-level directory. You
|
45
|
+
will need to unpack that file in order to complete the installation of
|
46
|
+
MathJax. It will create a fonts directory that contains the web fonts
|
47
|
+
and images fonts used by MathJax to support users who do not have math
|
48
|
+
fonts installed on their computers. Once you have checked out
|
49
|
+
MathJax, you will need to move the MathJax directory to your web
|
50
|
+
server in a location that is convenient for your use.
|
51
|
+
|
52
|
+
Obtaining MathJax from SourceForge as an archive file:
|
53
|
+
|
54
|
+
You can obtain MathJax from the MathJax project at SourceForge via
|
55
|
+
the link
|
56
|
+
|
57
|
+
http://sourceforge.net/projects/mathjax/files/
|
58
|
+
|
59
|
+
where you will need to download a copy of the MathJax ZIP file (for
|
60
|
+
the current version) and the MathJax-webfonts ZIP file. Unpack the
|
61
|
+
MathJax ZIP file first, and then unpack the MathJax-webfonts ZIP file
|
62
|
+
into that. That should produce a fonts directory in the MathJax
|
63
|
+
folder (and MathJax/fonts should contain an HTML-CSS directory). The
|
64
|
+
fonts directory contains web fonts and image fonts used by MathJax to
|
65
|
+
support users who do not have math fonts installed on their
|
66
|
+
computers. Once you have unpacked both archives, you can move the
|
67
|
+
MathJax directory to your web server in a location that is convenient
|
68
|
+
for your use.
|
69
|
+
|
70
|
+
|
71
|
+
TESTING MATHJAX:
|
72
|
+
|
73
|
+
Once you have MathJax installed, you can use the files in the
|
74
|
+
MathJax/test directory to test that your installation is working
|
75
|
+
properly. You can also use it to test if your version of MathJax
|
76
|
+
needs updating. If you have checked out MathJax using subversion
|
77
|
+
(svn), you can simply use "svn status" to see if your installation
|
78
|
+
needs to be updated, and "svn update" to get any updates.
|
79
|
+
|
80
|
+
|
81
|
+
USING MATHJAX IN A WEB PAGE:
|
82
|
+
|
83
|
+
To use MathJax in a web page, you need to load MathJax.js near the top of
|
84
|
+
the document (preferably in the document HEAD). A SCRIPT tag like
|
85
|
+
|
86
|
+
<script type="text/javascript" src="/MathJax/MathJax.js"></script>
|
87
|
+
|
88
|
+
will do it if you have MathJax at the top level of your web server.
|
89
|
+
When called in this form, MathJax can be configured through the file
|
90
|
+
MathJax/config/MathJax.js, which contains the parameters that control
|
91
|
+
MathJax. There are comments in this file that explain what each of
|
92
|
+
the parameters does, so look there for details.
|
93
|
+
|
94
|
+
Alternatively, you can configure MathJax in-line within your web page
|
95
|
+
(avoiding an extra file transfer). To do that, place the
|
96
|
+
configuration information within the SCRIPT tag itself, as in the
|
97
|
+
following example:
|
98
|
+
|
99
|
+
<script type="text/javascript" src="/MathJax/MathJax.js">
|
100
|
+
MathJax.Hub.Config({
|
101
|
+
extensions: ["tex2jax.js","TeX/noErrors.js"],
|
102
|
+
jax: ["input/TeX","output/HTML-CSS"],
|
103
|
+
tex2jax: {inlineMath: [['$','$'],["\\(","\\)"]]},
|
104
|
+
"HTML-CSS": {availableFonts:["TeX"]}
|
105
|
+
});
|
106
|
+
</script>
|
107
|
+
|
108
|
+
which loads the tex2jax preprocessor and an extension that causes TeX
|
109
|
+
errors to show the original TeX code rather than an error message,
|
110
|
+
specifies the input and output jax (input format is TeX and output
|
111
|
+
format is HTML/CSS), configures the tex2jax preprocessor to allow
|
112
|
+
dollar signs to delimit inline-math as well as \(...\), and forces the
|
113
|
+
HTML/CSS output to use the MathJax TeX fonts (in particular, the STIX
|
114
|
+
fonts won't be used.)
|
115
|
+
|
116
|
+
If you configure MathJax in this fashion, the MathJax/config/MathJax.js
|
117
|
+
file is not loaded, and your in-line configuration is used instead.
|
118
|
+
Note that you can include any of the parameters from the
|
119
|
+
config/MathJax.js file (and in fact any arbitrary JavaScript as well).
|
120
|
+
|
121
|
+
With the default configuration, MathJax runs the tex2jax preprocessor
|
122
|
+
to look for TeX-style mathematics delimiters as a means of identifying
|
123
|
+
the mathematics on the page. This uses \(...\) to mark in-line
|
124
|
+
mathematics and \[...\] or $$...$$ for displayed mathematics. LaTeX
|
125
|
+
environments can also mark mathematics, as in
|
126
|
+
\begin{equation}...\end{equation}. Once the preprocessor runs,
|
127
|
+
MathJax will typeset the mathematics on the page.
|
128
|
+
|
129
|
+
Note that there can not be HTML tags within the math delimiters (other
|
130
|
+
than <BR>) as TeX-formatted math does not include HTML tags. Also,
|
131
|
+
since the mathematics is initially given as text on the page, you need
|
132
|
+
to be careful that your mathematics doesn't look like HTML tags to the
|
133
|
+
browser (which parses the page before MathJax gets to see it). In
|
134
|
+
particular, that means that you have to be careful about things like
|
135
|
+
less-than and greater-than signs (<,>), and ampersands (&), which have
|
136
|
+
special meaning to the browsers. For example,
|
137
|
+
|
138
|
+
... when $x<y$ we have ...
|
139
|
+
|
140
|
+
will cause a problem, because the brower will think "<y" is the
|
141
|
+
beginning of a tag named "y" (even though there is no such tag in
|
142
|
+
HTML). Usually, it is sufficient to simply put spaces around these
|
143
|
+
symbols to cause the browser to avoid them, so
|
144
|
+
|
145
|
+
... when $x < y$ we have ...
|
146
|
+
|
147
|
+
should work. Alternatively, you can use the HTML entities <, >
|
148
|
+
and & to encode these characters so that the browser will not
|
149
|
+
interpret them, but MathJax will. E.g.,
|
150
|
+
|
151
|
+
... when $x < y$ we have ...
|
152
|
+
|
153
|
+
Finally, there are \lt and \gt macros defined to make it easier to
|
154
|
+
enter < and > using TeX-like syntax:
|
155
|
+
|
156
|
+
... when $x \lt y$ we have ...
|
157
|
+
|
158
|
+
Keep in mind that the browser interprets your text before MathJax
|
159
|
+
does.
|
160
|
+
|
161
|
+
|
162
|
+
MATHJAX WITH NO PREPROCESSOR:
|
163
|
+
|
164
|
+
The usual way to use MathJax is with the tex2jax preprocessor, but if
|
165
|
+
you are generating web pages via some other preprocessor of your own,
|
166
|
+
you may wish to bypass the tex2math preprocessing and mark the
|
167
|
+
mathematics in your page directly. This avoids an extra file
|
168
|
+
transfer, the time involed in running the tex2jax preprocessor, and
|
169
|
+
the issues involving less-than, greater-than, and ampersand discussed
|
170
|
+
in the section above.
|
171
|
+
|
172
|
+
When MathJax processes a page, it looks for mathematics stored in
|
173
|
+
special SCRIPT tags. These are
|
174
|
+
|
175
|
+
<script type="math/tex">...</script>
|
176
|
+
|
177
|
+
for in-line math, and
|
178
|
+
|
179
|
+
<script type="math/tex; mode=display">...</script>
|
180
|
+
|
181
|
+
for displayed math, where the contents of the SCRIPT tags are TeX or
|
182
|
+
LaTeX mathematics. Since SCRIPT tags can include less-than,
|
183
|
+
greater-than, and ampersand characters, this neatly avoids the problem
|
184
|
+
that these cause when you use the tex2jax preprocessor.
|
185
|
+
|
186
|
+
Unfortunately, this method introduces a problem of its own, due to a
|
187
|
+
bug in Internet Explorer. The problem is that IE incorrectly removes
|
188
|
+
blank spaces from the page in order to avoid what it considers to be
|
189
|
+
multiple spaces in a row. In particular, if there is a space both
|
190
|
+
before and after a tag that IE thinks does not insert content into the
|
191
|
+
page, it removes one of the two blanks. Because SCRIPT tags don't
|
192
|
+
get displayed, IE will remove one of the spaces, so
|
193
|
+
|
194
|
+
... when <script type="math/tex">x < y</script> we have ...
|
195
|
+
|
196
|
+
will become "...whenx < y we have..." in the output, with no space
|
197
|
+
between the "when" and the "x". Because the space is removed before
|
198
|
+
MathJax runs, MathJax has no way to recover the missing space, as it
|
199
|
+
simply is no longer part of the page as far as IE is concerned.
|
200
|
+
|
201
|
+
MathJax provides two different mechanisms to avoid this problem. One
|
202
|
+
is to add a prefix or postfix for the mathematics tags, which is text
|
203
|
+
that you insert before or after the tag that MathJax will remove when
|
204
|
+
it processes the tag. Patterns for the prefix and postfix are given
|
205
|
+
in the "preJax" and "postJax" parameters of the MathJax.Hub.Config()
|
206
|
+
command (see the MathJax/config/MathJax.js file for more details).
|
207
|
+
For example, setting
|
208
|
+
|
209
|
+
preJax: "@@"
|
210
|
+
|
211
|
+
would mean that
|
212
|
+
|
213
|
+
... when @@<script type="math/tex">x < y</script> we have ...
|
214
|
+
|
215
|
+
would produce ".. when x < y we have ..." properly typeset. (One need
|
216
|
+
not use both a preJax and postJax, as one is enough, but both are
|
217
|
+
provided so that you can use either or both in combination.) Note,
|
218
|
+
however, that the "@@" in this example will be displayed as part of
|
219
|
+
the page until MathJax processes the mathematics and replaces the
|
220
|
+
preJax with the typeset mathematics. This may cause visual confusion
|
221
|
+
that disturbs your readers. It might be better to use something like
|
222
|
+
"[math]" as the text for the preJax, since this may make more sense to
|
223
|
+
your readers. Because the pre- and postJax are regular expression
|
224
|
+
patterns (not litteral strings), you will need to handle this
|
225
|
+
carefully because [ and ] have special meaning in regular expressions.
|
226
|
+
Use
|
227
|
+
|
228
|
+
preJax: "\\[math\\]"
|
229
|
+
|
230
|
+
to make preJax be "\[math\]" (the double backslashes are to quote the
|
231
|
+
backslash as part of the JavaScript string, and the resulting \[ and
|
232
|
+
\] quote these characters in the resulting regular expression so they
|
233
|
+
are treated as literal characters rather than having their special
|
234
|
+
meansings in regular expressions).
|
235
|
+
|
236
|
+
The other approach is to use a "MathJax preview" before the SCRIPT
|
237
|
+
tag. This is a means by which you can supply an alternative form for
|
238
|
+
the mathematics to be displayed prior to when MathJax runs. You
|
239
|
+
could use a simple HTML version (if the mathematics is simple enough),
|
240
|
+
or an IMG tag, or just the raw TeX code, for example. Note that the
|
241
|
+
mathematics between the SCRIPT tags is NOT displayed (since it is a
|
242
|
+
script, not text), so the preview can be used to show the TeX code up
|
243
|
+
until the mathematics is typeset. (The tex2jax preprocessor does that
|
244
|
+
automatically, for example). To make a preview, include a SPAN with
|
245
|
+
CLASS="MathJax_Preview" as the element just before the math SCRIPT
|
246
|
+
tag, e.g.,
|
247
|
+
|
248
|
+
... when <span class="MathJax_Preview">x < y</span><script
|
249
|
+
type="math/tex">x < y</script> we have ...
|
250
|
+
|
251
|
+
This circumvents the Internet Explorer space-removal bug, while at the
|
252
|
+
same time giving your readers a preview of the mathematics until
|
253
|
+
MathJax has been able to typeset it.
|
254
|
+
|
255
|
+
You can use CSS styles to make it easier to distinguish the preview
|
256
|
+
from the rest of the text. For example:
|
257
|
+
|
258
|
+
<script type="text/javascript" src="/MathJax/MathJax.js">
|
259
|
+
MathJax.Hub.Config({
|
260
|
+
...
|
261
|
+
styles: {
|
262
|
+
".MathJax_Preview": {
|
263
|
+
color: "red",
|
264
|
+
border: "1px solid",
|
265
|
+
padding: "2px"
|
266
|
+
}
|
267
|
+
},
|
268
|
+
...
|
269
|
+
});
|
270
|
+
</script>
|
271
|
+
|
272
|
+
would cause the preview mathematics to be shown in red, with a border
|
273
|
+
and 2px of padding between the border and the preview text.
|
274
|
+
|
275
|
+
|
276
|
+
MATHJAX WITH MATHML:
|
277
|
+
|
278
|
+
In addition to the TeX input processor, MathJax includes a MathML input
|
279
|
+
processor, so that you can specify your mathematics using MathML rather
|
280
|
+
than TeX, if you wish. (The input and output processors are called "jax".)
|
281
|
+
As with the TeX input jax, there is a pre-processor that looks for MathML
|
282
|
+
in your web page (XHTML or HTML) and converts it to the form needed by
|
283
|
+
MathJax. The preprocessor is called "mml2jax.js", and the associated input
|
284
|
+
jax is "input/MathML". You can request these in your
|
285
|
+
MathJax/config/MathJax.js file, or in line, as in the following example:
|
286
|
+
|
287
|
+
<script type="text/javascript" src="/MathJax/MathJax.js">
|
288
|
+
MathJax.Hub.Config({
|
289
|
+
extensions: ["mml2jax.js"],
|
290
|
+
jax: ["input/MathML","output/HTML-CSS"]
|
291
|
+
});
|
292
|
+
</script>
|
293
|
+
|
294
|
+
When it is used, the mml2jax preprocessor will scan your page for <math>
|
295
|
+
tags and insert them into the <script> tags that MathJax needs to identify
|
296
|
+
the mathematics on the page. This works in both HTML and XHTML pages, and
|
297
|
+
with browsers that don't have native support for MathML. While MathJax is
|
298
|
+
not as fast as a native implementation of MathML, it does bring MathML to
|
299
|
+
all major browsers. (It is even possible to set up a GreaseMonkey-style
|
300
|
+
script to have MathJax automatically process any MathML on any page you
|
301
|
+
visit, so MathJax can be used to make MathML available even when the page
|
302
|
+
author has not specifically loaded MathJax. There are some caveats for
|
303
|
+
this, however, so such a script is not currently being supplied.)
|
304
|
+
|
305
|
+
For MathML that is handled via the pre-processor, you should not use the
|
306
|
+
MathML named entities, but rather use the numeric entities like √ or
|
307
|
+
unicode characters embedded in the page itself. The reason is that the
|
308
|
+
entities are replaced by the browser before MathJax runs, and some browsers
|
309
|
+
report errors for unknown entities; for browsers that are not MathML-aware,
|
310
|
+
that will cause errors to be displayed for the MathML entities. While that
|
311
|
+
might not occur in the browser you are using to compose your pages, it can
|
312
|
+
happen with other browsers, so you should avoid the named entities whenever
|
313
|
+
possible. If you must use named entities, you may need to declare them in
|
314
|
+
the DOCTYPE declaration by hand.
|
315
|
+
|
316
|
+
|
317
|
+
MATHML WITH NO PREPROCESSOR:
|
318
|
+
|
319
|
+
Just as there is a way to enter TeX code without a preprocessor, MathJax
|
320
|
+
provides a means of specifying MathML without a preprocessor. In this
|
321
|
+
case, you enclose your complete <math> substree within a
|
322
|
+
<script type="math/mml">...</script> tag. E.g.:
|
323
|
+
|
324
|
+
<script type="math/mml">
|
325
|
+
<math display="block">
|
326
|
+
<mi>x</mi><mo>=</mo><mn>1</mn>
|
327
|
+
</math>
|
328
|
+
</script>
|
329
|
+
|
330
|
+
Note that the <math> tag's display attribute controls whether the node is
|
331
|
+
typeset in-line or as a displayed equation. The same caveats concerning
|
332
|
+
spacing apply to MathML as to TeX, so see the section on MATHJAX WITH NO
|
333
|
+
PREPROCESSOR above for how to deal with an Internet Explorer bug that
|
334
|
+
requires special treatment.
|
335
|
+
|
336
|
+
|
337
|
+
MATHML OUTPUT:
|
338
|
+
|
339
|
+
In addition to the HTML-CSS output jax, MathJax provides a native-MathML
|
340
|
+
output jax that generates MathML to display your mathematics rather than
|
341
|
+
complicated HTML with CSS. For browsers that support MathML, this can be
|
342
|
+
considerably faster, plus it provides for accessibility and the ability to
|
343
|
+
cut and paste mathematics that MathML offers. MathML output is available
|
344
|
+
for both TeX input and MathML input, so MathJax can act as a TeX-to-MathML
|
345
|
+
converter right in the browser.
|
346
|
+
|
347
|
+
To use the native MathML output jax, specify "output/NativeMML" rather than
|
348
|
+
"output/HTML-CSS" in the jax array of your MathJax.Hub.Config() call (or in
|
349
|
+
MathJax/config/MathJax.js). For example:
|
350
|
+
|
351
|
+
<script type="text/javascript" src="/MathJax/MathJax.js">
|
352
|
+
MathJax.Hub.Config({
|
353
|
+
extensions: ["tex2jax.js"],
|
354
|
+
jax: ["input/TeX","output/NativeMML"]
|
355
|
+
});
|
356
|
+
</script>
|
357
|
+
|
358
|
+
Note that this will only work for those browsers that support MathML
|
359
|
+
natively, so you should be careful to know your audience if you use this
|
360
|
+
output jax. Also, note that the MathML output jax produces MathML3.0, not
|
361
|
+
2.0, and so some browsers may not be able to handle all the constructs that
|
362
|
+
MathJax will produce. Although it is slower, the HTML-CSS output jax is
|
363
|
+
more reliable than the NativeMML output jax, at least from a cross-browser
|
364
|
+
standpoint, particularly when the TeX input jax is used.
|
365
|
+
|
366
|
+
Because of the speed of the native MathML rendering, some users may prefer
|
367
|
+
to use that than the HTML-CSS output jax, but you may not want to prevent
|
368
|
+
those who don't have native MathML support from viewing your pages, so you
|
369
|
+
may want to select between NativeMML and HTML-CSS automatically, depending
|
370
|
+
on the capabilities of the browser. MathJax provides a configuration file
|
371
|
+
that does just that. To use it, include "MMLorHTML.js" in the config array
|
372
|
+
of your MathJax.Hub.Config() call. If you use this, be sure NOT to include
|
373
|
+
an output jax in your jax array, as MMLorHTML.js will fill that in for you.
|
374
|
+
For example:
|
375
|
+
|
376
|
+
<script type="text/javascript" src="/MathJax/MathJax.js">
|
377
|
+
MathJax.Hub.Config({
|
378
|
+
config: ["MMLorHTML.js"],
|
379
|
+
extensions: ["tex2jax.js"],
|
380
|
+
jax: ["input/TeX"]
|
381
|
+
});
|
382
|
+
</script>
|
383
|
+
|
384
|
+
In the case where both NativeMML and HTML-CSS are supported, the MMLorHTML
|
385
|
+
configuration file will choose HTML-CSS, even though it is slower; this is
|
386
|
+
because it is more reliable, since MathJax produces MathML3.0 and not all
|
387
|
+
browsers can display that. This is configurable, however, and you may want
|
388
|
+
to change the preference to NativeMML instead, especially if your input
|
389
|
+
language is MathML already. This can be done using the MMLorHTML section
|
390
|
+
of your configuration:
|
391
|
+
|
392
|
+
<script type="text/javascript" src="/MathJax/MathJax.js">
|
393
|
+
MathJax.Hub.Config({
|
394
|
+
config: ["MMLorHTML.js"],
|
395
|
+
extensions: ["tex2jax.js"],
|
396
|
+
jax: ["input/TeX"],
|
397
|
+
MMLorHTML: {prefer: "MML"}
|
398
|
+
});
|
399
|
+
</script>
|
400
|
+
|
401
|
+
Note, however, that not all users will have your own preferences about what
|
402
|
+
"looks best" or "performs best", so while you may value speed above all
|
403
|
+
else, others may value readability or reliability more. Also, remember
|
404
|
+
that browsers other than the one you are using (or the same browser on
|
405
|
+
other operating systems) may not support native MathML as well as yours
|
406
|
+
does. For example, Opera does handle simple MathML fairly well, but breaks
|
407
|
+
down quickly for some more complex equations, and while you may have
|
408
|
+
Firefox all set up for MathML, others may not have installed the needed
|
409
|
+
fonts, and will be unhappy to get a warning dialog box whenever they visit
|
410
|
+
your web page. So think carefully about the assumptions you are making on
|
411
|
+
behalf of your readers. At some point, MathJax may include a control panel
|
412
|
+
that will allow users to select preferences on their own, but that is not
|
413
|
+
available currently.
|
414
|
+
|
415
|
+
|
416
|
+
CONVERSION FROM JSMATH:
|
417
|
+
|
418
|
+
If you are currently using jsMath and would like to switch to MathJax, the
|
419
|
+
transition should be fairly straight-forward. If you are using jsMath's
|
420
|
+
easy/load.js, then you should simply switch the line that loads
|
421
|
+
jsMath/easy/load.js to
|
422
|
+
|
423
|
+
<script src="path-to-mathjax/MathJax/MathJax.js"></script>
|
424
|
+
|
425
|
+
where "path-to-mathjax" is the path to the MathJax folder on your server.
|
426
|
+
This uses the MathJax/config/MathJax.js file to configure MathJax, similar
|
427
|
+
to easy/load.js, and you can read the comments in that file for details.
|
428
|
+
Be sure to include "tex2jax.js" in your extensions array if you want the
|
429
|
+
TeX preprocessor to run (comparable to the tex2math plugin for jsMath).
|
430
|
+
|
431
|
+
If you did not use the tex2math plugin for jsMath and instead inserted your
|
432
|
+
own <span class="math">...</span> and <div class="math">...</div> tags with
|
433
|
+
class="math", then you need to do a little more work for MathJax. These
|
434
|
+
need to be replaced by <script type="math/tex">...</script> and <script
|
435
|
+
type="math/tex; mode=display">...</script> tags. See also the section
|
436
|
+
MATHJAX WITHOUT A PREPROCESSOR above for some caveats concerning an
|
437
|
+
Internet Explorer bug that you will need to be aware of.
|
438
|
+
|
439
|
+
If you are using a preprocessor of your own to write your HTML files, it
|
440
|
+
should be a simple matter of changing over the inserted tags to the ones
|
441
|
+
that MathJax needs. If you have existing HTML pages, however, and don't
|
442
|
+
want to (or can't) reprocess them, then you may want to use the jsMath2jax
|
443
|
+
preprocessor, which will first convert the span and div tags to script tags
|
444
|
+
before running MathJax. To do so, include "jsMath2jax.js" in your
|
445
|
+
extensions array, as in the following example:
|
446
|
+
|
447
|
+
<script type="text/javascript" src="/MathJax/MathJax.js">
|
448
|
+
MathJax.Hub.Config({
|
449
|
+
extensions: ["jsMath2jax.js"],
|
450
|
+
jax: ["input/TeX", "output/HTML-CSS"]
|
451
|
+
});
|
452
|
+
</script>
|
453
|
+
|
454
|
+
You should remove all the jsMath calls, like jsMath.Process(), or script
|
455
|
+
tags that load jsMath extensions. Only the single script tag that loads
|
456
|
+
MathJax should be needed.
|
457
|
+
|
458
|
+
If you have created pages with dynamic mathematics that is processed by
|
459
|
+
jsMath on the fly, that is handled somewhat differently with MathJax.
|
460
|
+
MathJax has a richer API for dealing with mathematics on the page, but the
|
461
|
+
documentation is not yet ready. There have been discussions in the MathJax
|
462
|
+
on-line forums that deal with this topic, so your best bet right now is to
|
463
|
+
read them.
|
464
|
+
|
465
|
+
|
466
|
+
COMMUNITY:
|
467
|
+
|
468
|
+
The main MathJax website is www.mathjax.org, and it includes announcements
|
469
|
+
and other important information. MathJax also has a SourceForge site at
|
470
|
+
http://sourceforge.net/projects/mathjax/ that includes the download site
|
471
|
+
for the MathJax distribution, the bug-tracker for reporting bugs, and
|
472
|
+
several user forums for asking questions and getting assistance:
|
473
|
+
|
474
|
+
Bug tracker: http://sourceforge.net/tracker/?group_id=261188&atid=1240827
|
475
|
+
MathJax Help: http://sourceforge.net/projects/mathjax/forums/forum/948701
|
476
|
+
Open Discussion: http://sourceforge.net/projects/mathjax/forums/forum/948700
|
477
|
+
|
478
|
+
Before reporting a bug, please check that it has not already been reported.
|
479
|
+
Also, please use the bug tracker for reporting bugs rather than the help
|
480
|
+
forum.
|