gollum 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gollum might be problematic. Click here for more details.
- data/HISTORY.md +3 -0
- data/LICENSE +21 -0
- data/README.md +435 -0
- data/Rakefile +146 -0
- data/bin/gollum +41 -0
- data/docs/sanitization.md +32 -0
- data/gollum.gemspec +506 -0
- data/lib/gollum.rb +58 -0
- data/lib/gollum/albino.rb +17 -0
- data/lib/gollum/file.rb +60 -0
- data/lib/gollum/frontend/app.rb +154 -0
- data/lib/gollum/frontend/public/css/editbar.css +194 -0
- data/lib/gollum/frontend/public/css/gollum.css +55 -0
- data/lib/gollum/frontend/public/css/screen.css +726 -0
- data/lib/gollum/frontend/public/css/syntax.css +61 -0
- data/lib/gollum/frontend/public/images/buttons.png +0 -0
- data/lib/gollum/frontend/public/images/editbar-buttons.png +0 -0
- data/lib/gollum/frontend/public/images/example.png +0 -0
- data/lib/gollum/frontend/public/images/twiddle-down.png +0 -0
- data/lib/gollum/frontend/public/images/twiddle-right.png +0 -0
- data/lib/gollum/frontend/public/images/txt.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt +202 -0
- data/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +1704 -0
- data/lib/gollum/frontend/public/javascript/MathJax/README.txt +480 -0
- data/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +63 -0
- data/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +351 -0
- data/lib/gollum/frontend/public/javascript/MathJax/config/local/local.js +37 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +376 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +385 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +43 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +109 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +65 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +185 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +169 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +131 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +53 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +77 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +101 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +242 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +140 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +1474 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +122 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +58 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +40 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +66 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +37 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +39 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +228 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +167 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +289 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +162 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +39 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +87 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +114 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +111 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +112 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +88 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +58 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +82 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +52 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +175 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +61 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +219 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +88 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +84 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +34 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +134 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +168 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +82 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +91 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +73 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +47 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +41 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +39 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +590 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +40 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +1652 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +61 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +98 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +49 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +127 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +32 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +109 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +67 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +98 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +49 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +129 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +67 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +33 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +109 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +116 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +123 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +155 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +59 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +69 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +172 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +260 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +37 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +30 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +39 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +30 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +87 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +84 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +32 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +122 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +67 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +129 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +50 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +119 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +116 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +123 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +155 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +59 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +56 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +56 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +32 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +67 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +47 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +129 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +50 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +78 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +116 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +123 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +154 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +58 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +56 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +192 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +78 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +68 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +32 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +106 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +82 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +72 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +86 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +50 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +129 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +57 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +74 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +68 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +118 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +109 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +85 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +118 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +115 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +154 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +63 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +82 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +380 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +78 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +207 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +89 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +90 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +68 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +88 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +66 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +154 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +74 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +91 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +80 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +39 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +271 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +155 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +55 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +55 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +55 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +55 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +55 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +182 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +215 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +60 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +242 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +57 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +387 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +51 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +43 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +46 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +63 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +62 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +52 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +77 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +105 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +46 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +63 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +62 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +46 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +64 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +63 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +60 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +44 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +120 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +49 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +373 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +1403 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +65 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +55 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +33 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +34 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +51 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +138 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +43 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +50 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +96 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +95 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +109 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +30 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +34 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +109 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +30 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +43 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +110 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +109 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +51 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +39 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +44 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +32 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +33 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +161 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +94 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +29 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +34 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +33 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +30 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +34 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +33 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +137 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +51 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +39 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +32 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +32 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +33 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +304 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +94 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +34 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +30 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +34 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +205 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +204 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +115 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +47 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +115 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +47 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +115 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +38 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +47 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +62 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +28 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +74 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +66 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +50 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +77 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +123 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +44 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +43 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +56 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +82 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +111 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +1691 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +185 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +1991 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +51 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +230 -0
- data/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +119 -0
- data/lib/gollum/frontend/public/javascript/MathJax/test/index.html +127 -0
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample.html +99 -0
- data/lib/gollum/frontend/public/javascript/gollum.js +244 -0
- data/lib/gollum/frontend/public/javascript/jquery-1.4.2.min.js +154 -0
- data/lib/gollum/frontend/public/javascript/jquery.previewable_comment_form.js +57 -0
- data/lib/gollum/frontend/public/javascript/jquery.tabs.js +59 -0
- data/lib/gollum/frontend/public/javascript/jquery.text_selection-1.0.0.min.js +1 -0
- data/lib/gollum/frontend/templates/compare.mustache +33 -0
- data/lib/gollum/frontend/templates/create.mustache +39 -0
- data/lib/gollum/frontend/templates/edit.mustache +38 -0
- data/lib/gollum/frontend/templates/editbar.mustache +1196 -0
- data/lib/gollum/frontend/templates/history.mustache +37 -0
- data/lib/gollum/frontend/templates/layout.mustache +33 -0
- data/lib/gollum/frontend/templates/page.mustache +27 -0
- data/lib/gollum/frontend/views/compare.rb +90 -0
- data/lib/gollum/frontend/views/create.rb +21 -0
- data/lib/gollum/frontend/views/edit.rb +13 -0
- data/lib/gollum/frontend/views/editable.rb +13 -0
- data/lib/gollum/frontend/views/history.rb +44 -0
- data/lib/gollum/frontend/views/layout.rb +14 -0
- data/lib/gollum/frontend/views/page.rb +38 -0
- data/lib/gollum/markup.rb +331 -0
- data/lib/gollum/page.rb +354 -0
- data/lib/gollum/pagination.rb +61 -0
- data/lib/gollum/wiki.rb +335 -0
- data/templates/formatting.html +92 -0
- data/test/examples/lotr.git/HEAD +1 -0
- data/test/examples/lotr.git/config +5 -0
- data/test/examples/lotr.git/description +1 -0
- data/test/examples/lotr.git/hooks/applypatch-msg.sample +15 -0
- data/test/examples/lotr.git/hooks/commit-msg.sample +24 -0
- data/test/examples/lotr.git/hooks/post-commit.sample +8 -0
- data/test/examples/lotr.git/hooks/post-receive.sample +15 -0
- data/test/examples/lotr.git/hooks/post-update.sample +8 -0
- data/test/examples/lotr.git/hooks/pre-applypatch.sample +14 -0
- data/test/examples/lotr.git/hooks/pre-commit.sample +46 -0
- data/test/examples/lotr.git/hooks/pre-rebase.sample +169 -0
- data/test/examples/lotr.git/hooks/prepare-commit-msg.sample +36 -0
- data/test/examples/lotr.git/hooks/update.sample +128 -0
- data/test/examples/lotr.git/info/exclude +6 -0
- data/test/examples/lotr.git/info/refs +1 -0
- data/test/examples/lotr.git/objects/06/131480411710c92a82fe2d1e76932c70feb2e5 +0 -0
- data/test/examples/lotr.git/objects/0a/de1e2916346d4c1f2fb63b863fd3c16808fe44 +0 -0
- data/test/examples/lotr.git/objects/0e/d8cbe0a25235bd867e65193c7d837c66b328ef +3 -0
- data/test/examples/lotr.git/objects/24/49c2681badfd3c189e8ed658dacffe8ba48fe5 +0 -0
- data/test/examples/lotr.git/objects/2c/b9156ad383914561a8502fc70f5a1d887e48ad +4 -0
- data/test/examples/lotr.git/objects/5d/cac289a8603188d2c5caf481dcba2985126aaa +0 -0
- data/test/examples/lotr.git/objects/60/f12f4254f58801b9ee7db7bca5fa8aeefaa56b +0 -0
- data/test/examples/lotr.git/objects/71/4323c104239440a5c66ab12a67ed07a83c404f +0 -0
- data/test/examples/lotr.git/objects/93/6b83ee0dd8837adb82511e40d5e4ebe59bb675 +0 -0
- data/test/examples/lotr.git/objects/94/523d7ae48aeba575099dd12926420d8fd0425d +2 -0
- data/test/examples/lotr.git/objects/96/97dc65e095658bbd1b8e8678e08881e86d32f1 +0 -0
- data/test/examples/lotr.git/objects/aa/b61fe89d56f8614c0a8151da34f939dcedfa68 +0 -0
- data/test/examples/lotr.git/objects/c3/b43e9f08966b088e7a0192e436b7a884542e05 +0 -0
- data/test/examples/lotr.git/objects/dc/596d6b2dd89ab05c66f4abd7d5eb706bc17f19 +0 -0
- data/test/examples/lotr.git/objects/ec/da3205bee14520aab5a7bb307392064b938e83 +0 -0
- data/test/examples/lotr.git/objects/fa/e7ef5344202bba4129abdc13060d9297d99465 +3 -0
- data/test/examples/lotr.git/objects/info/packs +2 -0
- data/test/examples/lotr.git/objects/pack/pack-dcbeaf3f6ff6c5eb08ea2b0a2d83626e8763546b.idx +0 -0
- data/test/examples/lotr.git/objects/pack/pack-dcbeaf3f6ff6c5eb08ea2b0a2d83626e8763546b.pack +0 -0
- data/test/examples/lotr.git/packed-refs +2 -0
- data/test/examples/lotr.git/refs/heads/master +1 -0
- data/test/helper.rb +38 -0
- data/test/test_file.rb +18 -0
- data/test/test_markup.rb +348 -0
- data/test/test_page.rb +112 -0
- data/test/test_wiki.rb +201 -0
- metadata +626 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/jax/output/HTML-CSS/entities/z.js
|
4
|
+
*
|
5
|
+
* Copyright (c) 2010 Design Science, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*
|
19
|
+
*/
|
20
|
+
|
21
|
+
(function (MATHML) {
|
22
|
+
MathJax.Hub.Insert(MATHML.Parse.Entity,{
|
23
|
+
'ZHcy': '\u0416',
|
24
|
+
'Zacute': '\u0179',
|
25
|
+
'Zcaron': '\u017D',
|
26
|
+
'Zcy': '\u0417',
|
27
|
+
'Zdot': '\u017B',
|
28
|
+
'ZeroWidthSpace': '\u200B',
|
29
|
+
'zacute': '\u017A',
|
30
|
+
'zcaron': '\u017E',
|
31
|
+
'zcy': '\u0437',
|
32
|
+
'zdot': '\u017C',
|
33
|
+
'zeetrf': '\u2128',
|
34
|
+
'zhcy': '\u0436'
|
35
|
+
});
|
36
|
+
|
37
|
+
MathJax.Ajax.loadComplete(MATHML.entityDir+"/z.js");
|
38
|
+
|
39
|
+
})(MathJax.InputJax.MathML);
|
@@ -0,0 +1,590 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/jax/input/MathML/jax.js
|
4
|
+
*
|
5
|
+
* Implements the MathML InputJax that reads mathematics in
|
6
|
+
* MathML format and converts it to the MML ElementJax
|
7
|
+
* internal format.
|
8
|
+
*
|
9
|
+
* ---------------------------------------------------------------------
|
10
|
+
*
|
11
|
+
* Copyright (c) 2010 Design Science, Inc.
|
12
|
+
*
|
13
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
14
|
+
* you may not use this file except in compliance with the License.
|
15
|
+
* You may obtain a copy of the License at
|
16
|
+
*
|
17
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
18
|
+
*
|
19
|
+
* Unless required by applicable law or agreed to in writing, software
|
20
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
21
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
22
|
+
* See the License for the specific language governing permissions and
|
23
|
+
|
24
|
+
*/
|
25
|
+
|
26
|
+
(function (MATHML,BROWSER) {
|
27
|
+
var MML;
|
28
|
+
|
29
|
+
MATHML.Parse = MathJax.Object.Subclass({
|
30
|
+
|
31
|
+
Init: function (string) {this.Parse(string)},
|
32
|
+
|
33
|
+
//
|
34
|
+
// Parse the MathML and check for errors
|
35
|
+
//
|
36
|
+
Parse: function (math) {
|
37
|
+
var doc;
|
38
|
+
if (typeof math !== "string") {doc = math.parentNode} else {
|
39
|
+
if (math.match(/^<[a-z]+:/i) && !math.match(/^<[^<>]* xmlns:/))
|
40
|
+
{math = math.replace(/^<([a-z]+):math/i,'<$1:math xmlns:$1="http://www.w3.org/1998/Math/MathML"')}
|
41
|
+
math = math.replace(/&([a-z]+);/ig,this.replaceEntity);
|
42
|
+
doc = MATHML.ParseXML(math); if (doc == null) {MATHML.Error("Error parsing MathML")}
|
43
|
+
}
|
44
|
+
var err = doc.getElementsByTagName("parsererror")[0];
|
45
|
+
if (err) MATHML.Error("Error parsing MathML: "+err.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,""));
|
46
|
+
if (doc.childNodes.length !== 1) MATHML.Error("MathML must be formed by a single element");
|
47
|
+
if (doc.firstChild.nodeName.toLowerCase() === "html") {
|
48
|
+
var h1 = doc.getElementsByTagName("h1")[0];
|
49
|
+
if (h1 && h1.textContent === "XML parsing error" && h1.nextSibling)
|
50
|
+
MATHML.Error("Error parsing MathML: "+String(h1.nextSibling.nodeValue).replace(/fatal parsing error: /,""));
|
51
|
+
}
|
52
|
+
if (doc.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"") !== "math")
|
53
|
+
MATHML.Error("MathML must be formed by a <math> element, not <"+doc.firstChild.nodeName+">");
|
54
|
+
this.mml = this.MakeMML(doc.firstChild);
|
55
|
+
},
|
56
|
+
|
57
|
+
//
|
58
|
+
// Convert the MathML structure to the MathJax Element jax structure
|
59
|
+
//
|
60
|
+
MakeMML: function (node) {
|
61
|
+
var type = node.nodeName.toLowerCase().replace(/^[a-z]+:/,"");
|
62
|
+
if (!(MML[type] && MML[type].isa && MML[type].isa(MML.mbase)))
|
63
|
+
{return MML.merror("Unknown node type: "+type)}
|
64
|
+
var mml = MML[type](), i, m, value;
|
65
|
+
for (i = 0, m = node.attributes.length; i < m; i++) {
|
66
|
+
value = node.attributes[i].value;
|
67
|
+
if (value.toLowerCase() === "true") {value = true}
|
68
|
+
else if (value.toLowerCase() === "false") {value = false}
|
69
|
+
mml[node.attributes[i].name] = value;
|
70
|
+
}
|
71
|
+
for (i = 0, m = node.childNodes.length; i < m; i++) {
|
72
|
+
var child = node.childNodes[i];
|
73
|
+
if (child.nodeName === "#comment") continue;
|
74
|
+
if (child.nodeName === "#text") {
|
75
|
+
if (mml.isToken) {
|
76
|
+
var text = this.trimSpace(child.nodeValue);
|
77
|
+
if (mml.isa(MML.mo) && text.length === 1 && this.Remap[text.charAt(0)])
|
78
|
+
{text = this.Remap[text.charAt(0)]}
|
79
|
+
text = text.replace(/&([a-z]+);/ig,this.replaceEntity);
|
80
|
+
mml.Append(MML.chars(text));
|
81
|
+
} else if (child.nodeValue.match(/\S/)) {
|
82
|
+
MATHML.Error("Unexpected text node: '"+child.nodeValue+"'");
|
83
|
+
}
|
84
|
+
} else {mml.Append(this.MakeMML(child))}
|
85
|
+
}
|
86
|
+
if (MATHML.config.useMathMLspacing) {mml.useMMLspacing = 0x08}
|
87
|
+
return mml;
|
88
|
+
},
|
89
|
+
|
90
|
+
trimSpace: function (string) {
|
91
|
+
return string.replace(/^[ \t\n\r]+/,"") // initial whitespace
|
92
|
+
.replace(/[ \t\n\r]+$/,"") // trailing whitespace
|
93
|
+
.replace(/[ \t\n\r][ \t\n\r]+/g," "); // internal multiple whitespace
|
94
|
+
},
|
95
|
+
|
96
|
+
replaceEntity: function (match,entity) {
|
97
|
+
if (MATHML.Parse.Entity[entity]) {return MATHML.Parse.Entity[entity]}
|
98
|
+
var file = entity.charAt(0).toLowerCase();
|
99
|
+
var font = entity.match(/^[a-zA-Z](fr|scr|opf)$/);
|
100
|
+
if (font) {file = font[1]}
|
101
|
+
if (!MATHML.Parse.loaded[file]) {
|
102
|
+
MATHML.Parse.loaded[file] = true;
|
103
|
+
MathJax.Hub.RestartAfter(MathJax.Ajax.Require(MATHML.entityDir+"/"+file+".js"));
|
104
|
+
}
|
105
|
+
return match;
|
106
|
+
},
|
107
|
+
|
108
|
+
Remap: {
|
109
|
+
'\u0027': '\u2032', // '
|
110
|
+
'\u002A': '\u2217', // *
|
111
|
+
'\u002D': '\u2212' // -
|
112
|
+
}
|
113
|
+
}, {
|
114
|
+
loaded: []
|
115
|
+
});
|
116
|
+
|
117
|
+
/************************************************************************/
|
118
|
+
|
119
|
+
MATHML.Augment({
|
120
|
+
Translate: function (script) {
|
121
|
+
var mml, math;
|
122
|
+
if (script.firstChild &&
|
123
|
+
script.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"") === "math") {
|
124
|
+
math = this.prefilterMathML(script.firstChild);
|
125
|
+
} else {
|
126
|
+
math = script.innerHTML.replace(/^\s+/,"").replace(/\s+$/,"");
|
127
|
+
if (BROWSER.isMSIE)
|
128
|
+
{math = math.replace(/( )+$/,"").replace(/&/g,"&").replace(/</g,"&lt;")}
|
129
|
+
else if (BROWSER.isKonqueror)
|
130
|
+
{math = math.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")}
|
131
|
+
math = this.prefilterMath(math,script);
|
132
|
+
}
|
133
|
+
try {
|
134
|
+
mml = MATHML.Parse(math).mml;
|
135
|
+
} catch(err) {
|
136
|
+
if (!err.mathmlError) {throw err}
|
137
|
+
mml = this.formatError(err,math,script);
|
138
|
+
}
|
139
|
+
return MML(mml);
|
140
|
+
},
|
141
|
+
prefilterMath: function (math,script) {return math},
|
142
|
+
prefilterMathML: function (math) {return math},
|
143
|
+
formatError: function (err,math,script) {
|
144
|
+
return MML.merror(err.message.replace(/\n.*/,""));
|
145
|
+
},
|
146
|
+
Error: function (message) {
|
147
|
+
throw MathJax.Hub.Insert(Error(message),{mathmlError: true});
|
148
|
+
},
|
149
|
+
//
|
150
|
+
// Parsers for various forms (DOMParser, Windows ActiveX object, other)
|
151
|
+
//
|
152
|
+
parseDOM: function (string) {return this.parser.parseFromString(string,"text/xml")},
|
153
|
+
parseMS: function (string) {return (this.parser.loadXML(string) ? this.parser : null)},
|
154
|
+
parseDIV: function (string) {
|
155
|
+
this.div.innerHTML = string.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2></$1>");
|
156
|
+
return this.div;
|
157
|
+
},
|
158
|
+
//
|
159
|
+
// Initialize the parser object (whichever type is used)
|
160
|
+
//
|
161
|
+
Startup: function () {
|
162
|
+
MML = MathJax.ElementJax.mml;
|
163
|
+
if (window.DOMParser) {
|
164
|
+
this.parser = new DOMParser();
|
165
|
+
this.ParseXML = this.parseDOM;
|
166
|
+
} else if (window.ActiveXObject) {
|
167
|
+
var xml = ["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0",
|
168
|
+
"MSXML2.DOMDocument.3.0","MSXML2.DOMDocument.2.0","Microsoft.XMLDOM"];
|
169
|
+
for (var i = 0, m = xml.length; i < m && !this.parser; i++)
|
170
|
+
{try {this.parser = new ActiveXObject(xml[i])} catch (err) {}}
|
171
|
+
if (!this.parser) MATHML.Error("Can't create XML parser for MathML");
|
172
|
+
this.parser.async = false;
|
173
|
+
this.ParseXML = this.parseMS;
|
174
|
+
} else {
|
175
|
+
this.div = MathJax.Hub.Insert(document.createElement("div"),{
|
176
|
+
style:{visibility:"hidden", overflow:"hidden", height:"1px",
|
177
|
+
position:"absolute", top:0}
|
178
|
+
});
|
179
|
+
if (!document.body.firstChild) {document.body.appendChild(this.div)}
|
180
|
+
else {document.body.insertBefore(this.div,document.body.firstChild)}
|
181
|
+
this.ParseXML = this.parseDIV;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
});
|
185
|
+
|
186
|
+
MATHML.Parse.Entity = {
|
187
|
+
ApplyFunction: '\u2061',
|
188
|
+
Backslash: '\u2216',
|
189
|
+
Because: '\u2235',
|
190
|
+
Breve: '\u02D8',
|
191
|
+
Cap: '\u22D2',
|
192
|
+
CenterDot: '\u00B7',
|
193
|
+
CircleDot: '\u2299',
|
194
|
+
CircleMinus: '\u2296',
|
195
|
+
CirclePlus: '\u2295',
|
196
|
+
CircleTimes: '\u2297',
|
197
|
+
Congruent: '\u2261',
|
198
|
+
ContourIntegral: '\u222E',
|
199
|
+
Coproduct: '\u2210',
|
200
|
+
Cross: '\u2A2F',
|
201
|
+
Cup: '\u22D3',
|
202
|
+
CupCap: '\u224D',
|
203
|
+
Dagger: '\u2021',
|
204
|
+
Del: '\u2207',
|
205
|
+
Delta: '\u0394',
|
206
|
+
Diamond: '\u22C4',
|
207
|
+
DifferentialD: '\u2146',
|
208
|
+
DotEqual: '\u2250',
|
209
|
+
DoubleDot: '\u00A8',
|
210
|
+
DoubleRightTee: '\u22A8',
|
211
|
+
DoubleVerticalBar: '\u2225',
|
212
|
+
DownArrow: '\u2193',
|
213
|
+
DownLeftVector: '\u21BD',
|
214
|
+
DownRightVector: '\u21C1',
|
215
|
+
DownTee: '\u22A4',
|
216
|
+
Downarrow: '\u21D3',
|
217
|
+
Element: '\u2208',
|
218
|
+
EqualTilde: '\u2242',
|
219
|
+
Equilibrium: '\u21CC',
|
220
|
+
Exists: '\u2203',
|
221
|
+
ExponentialE: '\u2147',
|
222
|
+
FilledVerySmallSquare: '\u25AA',
|
223
|
+
ForAll: '\u2200',
|
224
|
+
Gamma: '\u0393',
|
225
|
+
Gg: '\u22D9',
|
226
|
+
GreaterEqual: '\u2265',
|
227
|
+
GreaterEqualLess: '\u22DB',
|
228
|
+
GreaterFullEqual: '\u2267',
|
229
|
+
GreaterLess: '\u2277',
|
230
|
+
GreaterSlantEqual: '\u2A7E',
|
231
|
+
GreaterTilde: '\u2273',
|
232
|
+
Hacek: '\u02C7',
|
233
|
+
Hat: '\u005E',
|
234
|
+
HumpDownHump: '\u224E',
|
235
|
+
HumpEqual: '\u224F',
|
236
|
+
Im: '\u2111',
|
237
|
+
ImaginaryI: '\u2148',
|
238
|
+
Integral: '\u222B',
|
239
|
+
Intersection: '\u22C2',
|
240
|
+
InvisibleComma: '\u2063',
|
241
|
+
InvisibleTimes: '\u2062',
|
242
|
+
Lambda: '\u039B',
|
243
|
+
Larr: '\u219E',
|
244
|
+
LeftAngleBracket: '\u2329',
|
245
|
+
LeftArrow: '\u2190',
|
246
|
+
LeftArrowRightArrow: '\u21C6',
|
247
|
+
LeftCeiling: '\u2308',
|
248
|
+
LeftDownVector: '\u21C3',
|
249
|
+
LeftFloor: '\u230A',
|
250
|
+
LeftRightArrow: '\u2194',
|
251
|
+
LeftTee: '\u22A3',
|
252
|
+
LeftTriangle: '\u22B2',
|
253
|
+
LeftTriangleEqual: '\u22B4',
|
254
|
+
LeftUpVector: '\u21BF',
|
255
|
+
LeftVector: '\u21BC',
|
256
|
+
Leftarrow: '\u21D0',
|
257
|
+
Leftrightarrow: '\u21D4',
|
258
|
+
LessEqualGreater: '\u22DA',
|
259
|
+
LessFullEqual: '\u2266',
|
260
|
+
LessGreater: '\u2276',
|
261
|
+
LessSlantEqual: '\u2A7D',
|
262
|
+
LessTilde: '\u2272',
|
263
|
+
Ll: '\u22D8',
|
264
|
+
Lleftarrow: '\u21DA',
|
265
|
+
LongLeftArrow: '\u27F5',
|
266
|
+
LongLeftRightArrow: '\u27F7',
|
267
|
+
LongRightArrow: '\u27F6',
|
268
|
+
Longleftarrow: '\u27F8',
|
269
|
+
Longleftrightarrow: '\u27FA',
|
270
|
+
Longrightarrow: '\u27F9',
|
271
|
+
Lsh: '\u21B0',
|
272
|
+
MinusPlus: '\u2213',
|
273
|
+
NestedGreaterGreater: '\u226B',
|
274
|
+
NestedLessLess: '\u226A',
|
275
|
+
NotDoubleVerticalBar: '\u2226',
|
276
|
+
NotElement: '\u2209',
|
277
|
+
NotEqual: '\u2260',
|
278
|
+
NotExists: '\u2204',
|
279
|
+
NotGreater: '\u226F',
|
280
|
+
NotGreaterEqual: '\u2271',
|
281
|
+
NotLeftTriangle: '\u22EA',
|
282
|
+
NotLeftTriangleEqual: '\u22EC',
|
283
|
+
NotLess: '\u226E',
|
284
|
+
NotLessEqual: '\u2270',
|
285
|
+
NotPrecedes: '\u2280',
|
286
|
+
NotPrecedesSlantEqual: '\u22E0',
|
287
|
+
NotRightTriangle: '\u22EB',
|
288
|
+
NotRightTriangleEqual: '\u22ED',
|
289
|
+
NotSubsetEqual: '\u2288',
|
290
|
+
NotSucceeds: '\u2281',
|
291
|
+
NotSucceedsSlantEqual: '\u22E1',
|
292
|
+
NotSupersetEqual: '\u2289',
|
293
|
+
NotTilde: '\u2241',
|
294
|
+
NotVerticalBar: '\u2224',
|
295
|
+
Omega: '\u03A9',
|
296
|
+
OverBar: '\u00AF',
|
297
|
+
OverBrace: '\uFE37',
|
298
|
+
PartialD: '\u2202',
|
299
|
+
Phi: '\u03A6',
|
300
|
+
Pi: '\u03A0',
|
301
|
+
PlusMinus: '\u00B1',
|
302
|
+
Precedes: '\u227A',
|
303
|
+
PrecedesEqual: '\u2AAF',
|
304
|
+
PrecedesSlantEqual: '\u227C',
|
305
|
+
PrecedesTilde: '\u227E',
|
306
|
+
Product: '\u220F',
|
307
|
+
Proportional: '\u221D',
|
308
|
+
Psi: '\u03A8',
|
309
|
+
Rarr: '\u21A0',
|
310
|
+
Re: '\u211C',
|
311
|
+
ReverseEquilibrium: '\u21CB',
|
312
|
+
RightAngleBracket: '\u232A',
|
313
|
+
RightArrow: '\u2192',
|
314
|
+
RightArrowLeftArrow: '\u21C4',
|
315
|
+
RightCeiling: '\u2309',
|
316
|
+
RightDownVector: '\u21C2',
|
317
|
+
RightFloor: '\u230B',
|
318
|
+
RightTee: '\u22A2',
|
319
|
+
RightTeeArrow: '\u21A6',
|
320
|
+
RightTriangle: '\u22B3',
|
321
|
+
RightTriangleEqual: '\u22B5',
|
322
|
+
RightUpVector: '\u21BE',
|
323
|
+
RightVector: '\u21C0',
|
324
|
+
Rightarrow: '\u21D2',
|
325
|
+
Rrightarrow: '\u21DB',
|
326
|
+
Rsh: '\u21B1',
|
327
|
+
Sigma: '\u03A3',
|
328
|
+
SmallCircle: '\u2218',
|
329
|
+
Sqrt: '\u221A',
|
330
|
+
Square: '\u25A1',
|
331
|
+
SquareIntersection: '\u2293',
|
332
|
+
SquareSubset: '\u228F',
|
333
|
+
SquareSubsetEqual: '\u2291',
|
334
|
+
SquareSuperset: '\u2290',
|
335
|
+
SquareSupersetEqual: '\u2292',
|
336
|
+
SquareUnion: '\u2294',
|
337
|
+
Star: '\u22C6',
|
338
|
+
Subset: '\u22D0',
|
339
|
+
SubsetEqual: '\u2286',
|
340
|
+
Succeeds: '\u227B',
|
341
|
+
SucceedsEqual: '\u2AB0',
|
342
|
+
SucceedsSlantEqual: '\u227D',
|
343
|
+
SucceedsTilde: '\u227F',
|
344
|
+
SuchThat: '\u220B',
|
345
|
+
Sum: '\u2211',
|
346
|
+
Superset: '\u2283',
|
347
|
+
SupersetEqual: '\u2287',
|
348
|
+
Supset: '\u22D1',
|
349
|
+
Therefore: '\u2234',
|
350
|
+
Theta: '\u0398',
|
351
|
+
Tilde: '\u223C',
|
352
|
+
TildeEqual: '\u2243',
|
353
|
+
TildeFullEqual: '\u2245',
|
354
|
+
TildeTilde: '\u2248',
|
355
|
+
UnderBar: '\u0332',
|
356
|
+
UnderBrace: '\uFE38',
|
357
|
+
Union: '\u22C3',
|
358
|
+
UnionPlus: '\u228E',
|
359
|
+
UpArrow: '\u2191',
|
360
|
+
UpDownArrow: '\u2195',
|
361
|
+
UpTee: '\u22A5',
|
362
|
+
Uparrow: '\u21D1',
|
363
|
+
Updownarrow: '\u21D5',
|
364
|
+
Upsilon: '\u03A5',
|
365
|
+
Vdash: '\u22A9',
|
366
|
+
Vee: '\u22C1',
|
367
|
+
VerticalBar: '\u2223',
|
368
|
+
VerticalTilde: '\u2240',
|
369
|
+
Vvdash: '\u22AA',
|
370
|
+
Wedge: '\u22C0',
|
371
|
+
Xi: '\u039E',
|
372
|
+
acute: '\u00B4',
|
373
|
+
aleph: '\u2135',
|
374
|
+
alpha: '\u03B1',
|
375
|
+
amalg: '\u2A3F',
|
376
|
+
and: '\u2227',
|
377
|
+
ang: '\u2220',
|
378
|
+
angmsd: '\u2221',
|
379
|
+
angsph: '\u2222',
|
380
|
+
ape: '\u224A',
|
381
|
+
backprime: '\u2035',
|
382
|
+
backsim: '\u223D',
|
383
|
+
backsimeq: '\u22CD',
|
384
|
+
beta: '\u03B2',
|
385
|
+
beth: '\u2136',
|
386
|
+
between: '\u226C',
|
387
|
+
bigcirc: '\u25EF',
|
388
|
+
bigodot: '\u2A00',
|
389
|
+
bigoplus: '\u2A01',
|
390
|
+
bigotimes: '\u2A02',
|
391
|
+
bigsqcup: '\u2A06',
|
392
|
+
bigstar: '\u2605',
|
393
|
+
bigtriangledown: '\u25BD',
|
394
|
+
bigtriangleup: '\u25B3',
|
395
|
+
biguplus: '\u2A04',
|
396
|
+
blacklozenge: '\u29EB',
|
397
|
+
blacktriangle: '\u25B4',
|
398
|
+
blacktriangledown: '\u25BE',
|
399
|
+
blacktriangleleft: '\u25C2',
|
400
|
+
bowtie: '\u22C8',
|
401
|
+
boxdl: '\u2510',
|
402
|
+
boxdr: '\u250C',
|
403
|
+
boxminus: '\u229F',
|
404
|
+
boxplus: '\u229E',
|
405
|
+
boxtimes: '\u22A0',
|
406
|
+
boxul: '\u2518',
|
407
|
+
boxur: '\u2514',
|
408
|
+
bsol: '\u005C',
|
409
|
+
bull: '\u2022',
|
410
|
+
cap: '\u2229',
|
411
|
+
check: '\u2713',
|
412
|
+
chi: '\u03C7',
|
413
|
+
circ: '\u02C6',
|
414
|
+
circeq: '\u2257',
|
415
|
+
circlearrowleft: '\u21BA',
|
416
|
+
circlearrowright: '\u21BB',
|
417
|
+
circledR: '\u00AE',
|
418
|
+
circledS: '\u24C8',
|
419
|
+
circledast: '\u229B',
|
420
|
+
circledcirc: '\u229A',
|
421
|
+
circleddash: '\u229D',
|
422
|
+
clubs: '\u2663',
|
423
|
+
colon: '\u003A',
|
424
|
+
comp: '\u2201',
|
425
|
+
ctdot: '\u22EF',
|
426
|
+
cuepr: '\u22DE',
|
427
|
+
cuesc: '\u22DF',
|
428
|
+
cularr: '\u21B6',
|
429
|
+
cup: '\u222A',
|
430
|
+
curarr: '\u21B7',
|
431
|
+
curlyvee: '\u22CE',
|
432
|
+
curlywedge: '\u22CF',
|
433
|
+
dagger: '\u2020',
|
434
|
+
daleth: '\u2138',
|
435
|
+
ddarr: '\u21CA',
|
436
|
+
deg: '\u00B0',
|
437
|
+
delta: '\u03B4',
|
438
|
+
digamma: '\u03DD',
|
439
|
+
div: '\u00F7',
|
440
|
+
divideontimes: '\u22C7',
|
441
|
+
dot: '\u02D9',
|
442
|
+
doteqdot: '\u2251',
|
443
|
+
dotplus: '\u2214',
|
444
|
+
dotsquare: '\u22A1',
|
445
|
+
dtdot: '\u22F1',
|
446
|
+
ecir: '\u2256',
|
447
|
+
efDot: '\u2252',
|
448
|
+
egs: '\u2A96',
|
449
|
+
ell: '\u2113',
|
450
|
+
els: '\u2A95',
|
451
|
+
empty: '\u2205',
|
452
|
+
epsi: '\u03F5',
|
453
|
+
epsiv: '\u03B5',
|
454
|
+
erDot: '\u2253',
|
455
|
+
eta: '\u03B7',
|
456
|
+
eth: '\u00F0',
|
457
|
+
flat: '\u266D',
|
458
|
+
fork: '\u22D4',
|
459
|
+
frown: '\u2322',
|
460
|
+
gEl: '\u2A8C',
|
461
|
+
gamma: '\u03B3',
|
462
|
+
gap: '\u2A86',
|
463
|
+
gimel: '\u2137',
|
464
|
+
gnE: '\u2269',
|
465
|
+
gnap: '\u2A8A',
|
466
|
+
gne: '\u2A88',
|
467
|
+
gnsim: '\u22E7',
|
468
|
+
gt: '\u003E',
|
469
|
+
gtdot: '\u22D7',
|
470
|
+
harrw: '\u21AD',
|
471
|
+
hbar: '\u210F',
|
472
|
+
hellip: '\u2026',
|
473
|
+
hookleftarrow: '\u21A9',
|
474
|
+
hookrightarrow: '\u21AA',
|
475
|
+
imath: '\u0131',
|
476
|
+
infin: '\u221E',
|
477
|
+
intcal: '\u22BA',
|
478
|
+
iota: '\u03B9',
|
479
|
+
kappa: '\u03BA',
|
480
|
+
kappav: '\u03F0',
|
481
|
+
lEg: '\u2A8B',
|
482
|
+
lambda: '\u03BB',
|
483
|
+
lap: '\u2A85',
|
484
|
+
larrlp: '\u21AB',
|
485
|
+
larrtl: '\u21A2',
|
486
|
+
lbrace: '\u007B',
|
487
|
+
lbrack: '\u005B',
|
488
|
+
le: '\u2264',
|
489
|
+
leftleftarrows: '\u21C7',
|
490
|
+
leftthreetimes: '\u22CB',
|
491
|
+
lessdot: '\u22D6',
|
492
|
+
lmoust: '\u23B0',
|
493
|
+
lnE: '\u2268',
|
494
|
+
lnap: '\u2A89',
|
495
|
+
lne: '\u2A87',
|
496
|
+
lnsim: '\u22E6',
|
497
|
+
longmapsto: '\u27FC',
|
498
|
+
looparrowright: '\u21AC',
|
499
|
+
lowast: '\u2217',
|
500
|
+
lowbar: '\u005F',
|
501
|
+
loz: '\u25CA',
|
502
|
+
lt: '\u003C',
|
503
|
+
ltimes: '\u22C9',
|
504
|
+
ltri: '\u25C3',
|
505
|
+
malt: '\u2720',
|
506
|
+
mho: '\u2127',
|
507
|
+
mu: '\u03BC',
|
508
|
+
multimap: '\u22B8',
|
509
|
+
nVDash: '\u22AF',
|
510
|
+
nVdash: '\u22AE',
|
511
|
+
natur: '\u266E',
|
512
|
+
nearr: '\u2197',
|
513
|
+
nhArr: '\u21CE',
|
514
|
+
nharr: '\u21AE',
|
515
|
+
nlArr: '\u21CD',
|
516
|
+
nlarr: '\u219A',
|
517
|
+
not: '\u00AC',
|
518
|
+
nrArr: '\u21CF',
|
519
|
+
nrarr: '\u219B',
|
520
|
+
nu: '\u03BD',
|
521
|
+
nvDash: '\u22AD',
|
522
|
+
nvdash: '\u22AC',
|
523
|
+
nwarr: '\u2196',
|
524
|
+
omega: '\u03C9',
|
525
|
+
or: '\u2228',
|
526
|
+
osol: '\u2298',
|
527
|
+
period: '\u002E',
|
528
|
+
phi: '\u03D5',
|
529
|
+
phiv: '\u03C6',
|
530
|
+
pi: '\u03C0',
|
531
|
+
piv: '\u03D6',
|
532
|
+
prap: '\u2AB7',
|
533
|
+
precnapprox: '\u2AB9',
|
534
|
+
precneqq: '\u2AB5',
|
535
|
+
precnsim: '\u22E8',
|
536
|
+
prime: '\u2032',
|
537
|
+
psi: '\u03C8',
|
538
|
+
rarrtl: '\u21A3',
|
539
|
+
rbrace: '\u007D',
|
540
|
+
rbrack: '\u005D',
|
541
|
+
rho: '\u03C1',
|
542
|
+
rhov: '\u03F1',
|
543
|
+
rightrightarrows: '\u21C9',
|
544
|
+
rightthreetimes: '\u22CC',
|
545
|
+
ring: '\u02DA',
|
546
|
+
rmoust: '\u23B1',
|
547
|
+
rtimes: '\u22CA',
|
548
|
+
rtri: '\u25B9',
|
549
|
+
scap: '\u2AB8',
|
550
|
+
scnE: '\u2AB6',
|
551
|
+
scnap: '\u2ABA',
|
552
|
+
scnsim: '\u22E9',
|
553
|
+
sdot: '\u22C5',
|
554
|
+
searr: '\u2198',
|
555
|
+
sect: '\u00A7',
|
556
|
+
sharp: '\u266F',
|
557
|
+
sigma: '\u03C3',
|
558
|
+
sigmav: '\u03C2',
|
559
|
+
simne: '\u2246',
|
560
|
+
smile: '\u2323',
|
561
|
+
spades: '\u2660',
|
562
|
+
sub: '\u2282',
|
563
|
+
subE: '\u2AC5',
|
564
|
+
subnE: '\u2ACB',
|
565
|
+
subne: '\u228A',
|
566
|
+
supE: '\u2AC6',
|
567
|
+
supnE: '\u2ACC',
|
568
|
+
supne: '\u228B',
|
569
|
+
swarr: '\u2199',
|
570
|
+
tau: '\u03C4',
|
571
|
+
theta: '\u03B8',
|
572
|
+
thetav: '\u03D1',
|
573
|
+
tilde: '\u02DC',
|
574
|
+
times: '\u00D7',
|
575
|
+
triangle: '\u25B5',
|
576
|
+
triangleq: '\u225C',
|
577
|
+
upsi: '\u03C5',
|
578
|
+
upuparrows: '\u21C8',
|
579
|
+
veebar: '\u22BB',
|
580
|
+
vellip: '\u22EE',
|
581
|
+
weierp: '\u2118',
|
582
|
+
xi: '\u03BE',
|
583
|
+
yen: '\u00A5',
|
584
|
+
zeta: '\u03B6',
|
585
|
+
zigrarr: '\u21DD'
|
586
|
+
};
|
587
|
+
|
588
|
+
MATHML.loadComplete("jax.js");
|
589
|
+
|
590
|
+
})(MathJax.InputJax.MathML,MathJax.Hub.Browser);
|