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,51 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/jax/output/NativeMML/config.js
|
4
|
+
*
|
5
|
+
* Initializes the NativeMML OutputJax (the main definition is in
|
6
|
+
* MathJax/jax/input/NativeMML/jax.js, which is loaded when needed).
|
7
|
+
*
|
8
|
+
* ---------------------------------------------------------------------
|
9
|
+
*
|
10
|
+
* Copyright (c) 2009 Design Science, Inc.
|
11
|
+
*
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
13
|
+
* you may not use this file except in compliance with the License.
|
14
|
+
* You may obtain a copy of the License at
|
15
|
+
*
|
16
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
17
|
+
*
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
21
|
+
* See the License for the specific language governing permissions and
|
22
|
+
* limitations under the License.
|
23
|
+
*/
|
24
|
+
|
25
|
+
MathJax.OutputJax.NativeMML = MathJax.OutputJax({
|
26
|
+
name: "NativeMML",
|
27
|
+
version: 1.0,
|
28
|
+
directory: MathJax.OutputJax.directory + "/NativeMML",
|
29
|
+
extensionDir: MathJax.OutputJax.extensionDir + "/NativeMML",
|
30
|
+
|
31
|
+
config: {
|
32
|
+
styles: {
|
33
|
+
"DIV.MathJax_MathML": {
|
34
|
+
"text-align": "center",
|
35
|
+
margin: ".75em 0px"
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
});
|
40
|
+
MathJax.OutputJax.NativeMML.Register("jax/mml");
|
41
|
+
|
42
|
+
if (MathJax.Hub.Browser.isMSIE) {
|
43
|
+
//
|
44
|
+
// Insert code needed to use MathPlayer for MathML output
|
45
|
+
//
|
46
|
+
document.write('<?xml:namespace prefix="mjx" ns="http://www.w3.org/1998/Math/MathML"?>');
|
47
|
+
document.write('<object id="mathplayer" classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987"></object>');
|
48
|
+
document.write('<?import namespace="mjx" implementation="#mathplayer"?>');
|
49
|
+
}
|
50
|
+
|
51
|
+
MathJax.OutputJax.NativeMML.loadComplete("config.js");
|
@@ -0,0 +1,230 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/jax/output/NativeMML/jax.js
|
4
|
+
*
|
5
|
+
* Implements the NativeMML OutputJax that displays mathematics
|
6
|
+
* using a browser's native MathML capabilities (if any).
|
7
|
+
*
|
8
|
+
* ---------------------------------------------------------------------
|
9
|
+
*
|
10
|
+
* Copyright (c) 2010 Design Science, Inc.
|
11
|
+
*
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
13
|
+
* you may not use this file except in compliance with the License.
|
14
|
+
* You may obtain a copy of the License at
|
15
|
+
*
|
16
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
17
|
+
*
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
21
|
+
* See the License for the specific language governing permissions and
|
22
|
+
* limitations under the License.
|
23
|
+
*/
|
24
|
+
|
25
|
+
(function (MML,nMML) {
|
26
|
+
|
27
|
+
nMML.Augment({
|
28
|
+
//
|
29
|
+
// User can configure styles
|
30
|
+
//
|
31
|
+
config: {styles: {}},
|
32
|
+
Startup: function () {return MathJax.Ajax.Styles(this.config.styles)},
|
33
|
+
//
|
34
|
+
// Add a SPAN to use as a container, and render the math into it
|
35
|
+
//
|
36
|
+
Translate: function (script) {
|
37
|
+
var math = script.MathJax.elementJax.root;
|
38
|
+
var type = (math.Get("display") === "block" ? "div" : "span");
|
39
|
+
var span = script.parentNode.insertBefore(document.createElement(type),script);
|
40
|
+
span.className = "MathJax_MathML";
|
41
|
+
try {math.toNativeMML(span)} catch (err) {
|
42
|
+
if (err.restart) {span.parentNode.removeChild(span)}
|
43
|
+
throw err;
|
44
|
+
}
|
45
|
+
},
|
46
|
+
//
|
47
|
+
// Remove MathML preceeding the script
|
48
|
+
//
|
49
|
+
Remove: function (jax) {
|
50
|
+
var span = jax.SourceElement(); if (!span) return;
|
51
|
+
span = span.previousSibling; if (!span) return;
|
52
|
+
if (span.className.match(/MathJax_MathML/)) {span.parentNode.removeChild(span)}
|
53
|
+
},
|
54
|
+
//
|
55
|
+
// The namespace to use for MML
|
56
|
+
//
|
57
|
+
MMLnamespace: "http://www.w3.org/1998/Math/MathML"
|
58
|
+
});
|
59
|
+
|
60
|
+
MML.mbase.Augment({
|
61
|
+
//
|
62
|
+
// Add a MathML tag of the correct type, and set its attributes
|
63
|
+
// then populate it with its children and append it to the parent
|
64
|
+
//
|
65
|
+
toNativeMML: function (parent) {
|
66
|
+
var tag = this.NativeMMLelement(this.type);
|
67
|
+
this.NativeMMLattributes(tag);
|
68
|
+
for (var i = 0, m = this.data.length; i < m; i++) {
|
69
|
+
if (this.data[i]) {this.data[i].toNativeMML(tag)}
|
70
|
+
else {tag.appendChild(this.NativeMMLelement("mrow"))}
|
71
|
+
}
|
72
|
+
parent.appendChild(tag);
|
73
|
+
},
|
74
|
+
//
|
75
|
+
// Look for attributes that are different from the defaults
|
76
|
+
// and set those in the tag's attribute list
|
77
|
+
//
|
78
|
+
NativeMMLattributes: function (tag) {
|
79
|
+
var defaults = this.defaults, id;
|
80
|
+
var copy = this.NativeMMLcopyAttributes,
|
81
|
+
skip = this.NativeMMLskipAttributes;
|
82
|
+
if (this.type === "mstyle") {defaults = MML.math.prototype.defaults}
|
83
|
+
for (var id in defaults) {if (!skip[id] && defaults.hasOwnProperty(id)) {
|
84
|
+
if (this[id] != null) {tag.setAttribute(id,String(this[id]))}
|
85
|
+
}}
|
86
|
+
for (var i = 0, m = copy.length; i < m; i++) {
|
87
|
+
if (this[copy[i]] != null) {tag.setAttribute(copy[i],String(this[copy[i]]))}
|
88
|
+
}
|
89
|
+
if (this.style) {tag.setAttribute("style",this.style)}
|
90
|
+
},
|
91
|
+
NativeMMLcopyAttributes: [
|
92
|
+
"fontfamily","fontsize","fontweight","fontstyle",
|
93
|
+
"color","background",
|
94
|
+
"id","class","href","style"
|
95
|
+
],
|
96
|
+
NativeMMLskipAttributes: {texClass: 1, useHeight: 1, texprimestyle: 1},
|
97
|
+
//
|
98
|
+
// Create a MathML element
|
99
|
+
//
|
100
|
+
NativeMMLelement: (
|
101
|
+
MathJax.Hub.Browser.isMSIE ?
|
102
|
+
function (type) {return document.createElement("mjx:"+type)} :
|
103
|
+
function (type) {return document.createElementNS(nMML.MMLnamespace,type)}
|
104
|
+
)
|
105
|
+
});
|
106
|
+
|
107
|
+
MML.mrow.Augment({
|
108
|
+
//
|
109
|
+
// Make inferred rows not include an mrow tag
|
110
|
+
//
|
111
|
+
toNativeMML: function (parent) {
|
112
|
+
if (this.inferred && this.parent.inferRow) {
|
113
|
+
for (var i = 0, m = this.data.length; i < m; i++) {
|
114
|
+
if (this.data[i]) {this.data[i].toNativeMML(parent)}
|
115
|
+
else {parent.appendChild(this.NativeMMLelement("mrow"))}
|
116
|
+
}
|
117
|
+
} else {
|
118
|
+
this.SUPER(arguments).toNativeMML.call(this,parent);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
});
|
122
|
+
|
123
|
+
MML.msubsup.Augment({
|
124
|
+
//
|
125
|
+
// Use proper version of msub, msup, or msubsup, depending on
|
126
|
+
// which items are present
|
127
|
+
//
|
128
|
+
toNativeMML: function (parent) {
|
129
|
+
var type = this.type;
|
130
|
+
if (this.data[this.sup] == null) {type = "msub"}
|
131
|
+
if (this.data[this.sub] == null) {type = "msup"}
|
132
|
+
var tag = this.NativeMMLelement(type);
|
133
|
+
this.NativeMMLattributes(tag);
|
134
|
+
delete this.data[0].inferred;
|
135
|
+
for (var i = 0, m = this.data.length; i < m; i++)
|
136
|
+
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
|
137
|
+
parent.appendChild(tag);
|
138
|
+
}
|
139
|
+
});
|
140
|
+
|
141
|
+
MML.munderover.Augment({
|
142
|
+
//
|
143
|
+
// Use proper version of munder, mover, or munderover, depending on
|
144
|
+
// which items are present
|
145
|
+
//
|
146
|
+
toNativeMML: function (parent) {
|
147
|
+
var type = this.type;
|
148
|
+
if (this.data[this.under] == null) {type = "mover"}
|
149
|
+
if (this.data[this.over] == null) {type = "munder"}
|
150
|
+
var tag = this.NativeMMLelement(type);
|
151
|
+
this.NativeMMLattributes(tag);
|
152
|
+
delete this.data[0].inferred;
|
153
|
+
for (var i = 0, m = this.data.length; i < m; i++)
|
154
|
+
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
|
155
|
+
parent.appendChild(tag);
|
156
|
+
}
|
157
|
+
});
|
158
|
+
|
159
|
+
if (MathJax.Hub.Browser.isFirefox) {
|
160
|
+
MML.mtable.Augment({
|
161
|
+
toNativeMML: function (parent) {
|
162
|
+
//
|
163
|
+
// FF doesn't handle width, so put it in styles instead
|
164
|
+
//
|
165
|
+
if (this.width) {
|
166
|
+
var styles = (this.style||"").replace(/;\s*$/,"").split(";");
|
167
|
+
styles.push("width:"+this.width);
|
168
|
+
this.style = styles.join(";");
|
169
|
+
}
|
170
|
+
this.SUPER(arguments).toNativeMML.call(this,parent);
|
171
|
+
}
|
172
|
+
});
|
173
|
+
MML.mlabeledtr.Augment({
|
174
|
+
toNativeMML: function (parent) {
|
175
|
+
//
|
176
|
+
// FF doesn't handle mlabeledtr, so remove the label
|
177
|
+
//
|
178
|
+
var tag = this.NativeMMLelement("mtr");
|
179
|
+
this.NativeMMLattributes(tag);
|
180
|
+
for (var i = 1, m = this.data.length; i < m; i++) {
|
181
|
+
if (this.data[i]) {this.data[i].toNativeMML(tag)}
|
182
|
+
else {tag.appendChild(this.NativeMMLelement("mrow"))}
|
183
|
+
}
|
184
|
+
parent.appendChild(tag);
|
185
|
+
}
|
186
|
+
});
|
187
|
+
}
|
188
|
+
|
189
|
+
MML.TeXAtom.Augment({
|
190
|
+
//
|
191
|
+
// Convert TeXatom to an mrow
|
192
|
+
//
|
193
|
+
toNativeMML: function (parent) {
|
194
|
+
// FIXME: Handle spacing using mpadded?
|
195
|
+
var tag = this.NativeMMLelement("mrow");
|
196
|
+
this.data[0].toNativeMML(tag);
|
197
|
+
parent.appendChild(tag);
|
198
|
+
}
|
199
|
+
});
|
200
|
+
|
201
|
+
MML.chars.Augment({
|
202
|
+
//
|
203
|
+
// Add a text node
|
204
|
+
//
|
205
|
+
toNativeMML: function (parent) {
|
206
|
+
parent.appendChild(document.createTextNode(this.toString()));
|
207
|
+
}
|
208
|
+
});
|
209
|
+
|
210
|
+
MML.entity.Augment({
|
211
|
+
//
|
212
|
+
// Add a text node
|
213
|
+
//
|
214
|
+
toNativeMML: function (parent) {
|
215
|
+
parent.appendChild(document.createTextNode(this.toString()));
|
216
|
+
}
|
217
|
+
});
|
218
|
+
|
219
|
+
MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function () {
|
220
|
+
MML.TeXmathchoice.Augment({
|
221
|
+
//
|
222
|
+
// Get the MathML for the selected choice
|
223
|
+
//
|
224
|
+
toNativeMML: function (parent) {this.Core().toNativeMML(parent)}
|
225
|
+
});
|
226
|
+
});
|
227
|
+
|
228
|
+
nMML.loadComplete("jax.js");
|
229
|
+
|
230
|
+
})(MathJax.ElementJax.mml, MathJax.OutputJax.NativeMML);
|
@@ -0,0 +1,119 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<HTML xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
|
3
|
+
<HEAD>
|
4
|
+
<TITLE>MathJax Test Page</TITLE>
|
5
|
+
<!-- Copyright (c) 2009 Design Science, Inc. -->
|
6
|
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />
|
7
|
+
<META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE7" >
|
8
|
+
|
9
|
+
<SCRIPT SRC="../MathJax.js">
|
10
|
+
MathJax.Hub.Config({
|
11
|
+
extensions: ["tex2jax.js"],
|
12
|
+
jax: ["input/TeX","output/HTML-CSS"],
|
13
|
+
"HTML-CSS": {availableFonts:[], preferredFont: null, webFont: null}
|
14
|
+
});
|
15
|
+
|
16
|
+
//
|
17
|
+
// Do NOT include the following in your own pages. This is only here to
|
18
|
+
// provide an alert rather than MathJax's usual small message in the lower
|
19
|
+
// left-hand corner. Use sample.html as the example for how to call
|
20
|
+
// MathJax in your own pages.
|
21
|
+
//
|
22
|
+
(function (HUB) {
|
23
|
+
|
24
|
+
var MINVERSION = {
|
25
|
+
Firefox: 3.0,
|
26
|
+
Opera: 9.52,
|
27
|
+
MSIE: 6.0,
|
28
|
+
Chrome: 0.3,
|
29
|
+
Safari: 2.0,
|
30
|
+
Konqueror: 4.0,
|
31
|
+
Unknown: 10000.0 // always disable unknown browsers
|
32
|
+
};
|
33
|
+
|
34
|
+
if (!HUB.Browser.versionAtLeast(MINVERSION[HUB.Browser]||0.0)) {
|
35
|
+
HUB.config.jax = []; // don't load any Jax
|
36
|
+
HUB.config.extensions = []; // don't load any extensions
|
37
|
+
alert("The browser you are using does not support MathJax, so we can't test if if is working. Please try a different browser.");
|
38
|
+
}
|
39
|
+
|
40
|
+
if (HUB.Browser.isMSIE && !HUB.Browser.versionAtLeast("7.0")) {
|
41
|
+
alert("Internet Explorer 6 does not display images with alpha-channel transparency very\n" +
|
42
|
+
"well, so this test will not look good. But in practice, IE6 will use web-based\n" +
|
43
|
+
"fonts rather than image fonts (unless the page forces images, as this one does)\n" +
|
44
|
+
"so the poor quality rendering on this test page does not indicate a problem\n" +
|
45
|
+
"with MathJax.");
|
46
|
+
}
|
47
|
+
|
48
|
+
})(MathJax.Hub);
|
49
|
+
|
50
|
+
</SCRIPT>
|
51
|
+
</HEAD>
|
52
|
+
<BODY>
|
53
|
+
|
54
|
+
<NOSCRIPT>
|
55
|
+
<DIV STYLE="color:#CC0000; text-align:center">
|
56
|
+
<B>Warning: <A HREF="http://www.mathjax.org/">MathJax</A>
|
57
|
+
requires JavaScript to process the mathematics on this page.<BR>
|
58
|
+
If your browser supports JavaScript, be sure it is enabled.<B>
|
59
|
+
</DIV>
|
60
|
+
<HR>
|
61
|
+
</NOSCRIPT>
|
62
|
+
|
63
|
+
<BLOCKQUOTE>
|
64
|
+
|
65
|
+
<H1>MathJax Test Page</H1>
|
66
|
+
|
67
|
+
If you see typeset mathematics below, then MathJax is working. If you see
|
68
|
+
TeX code instead, MathJax is not working for you.
|
69
|
+
<p>
|
70
|
+
<!------------------------------------------------------------------------>
|
71
|
+
<HR>
|
72
|
+
|
73
|
+
|
74
|
+
\[
|
75
|
+
\frac{-b\pm\sqrt{b^2-4ac}}{2a}
|
76
|
+
\]
|
77
|
+
<p>
|
78
|
+
|
79
|
+
<DIV STYLE="color:green">
|
80
|
+
<DIV STYLE="text-align:center; color:red; font-size:120%" CLASS="MathJax_Preview">
|
81
|
+
MathJax is not working!
|
82
|
+
</DIV><SCRIPT TYPE="math/tex; mode=display">
|
83
|
+
\bf MathJax\ Image\ Fonts\ Appear\ to\ be\ Working!
|
84
|
+
</SCRIPT>
|
85
|
+
</DIV>
|
86
|
+
|
87
|
+
<!------------------------------------------------------------------------>
|
88
|
+
<HR>
|
89
|
+
<p>
|
90
|
+
|
91
|
+
If the mathematics does not show up properly, you may not have not
|
92
|
+
installed the MathJax web fonts correctly. Follow the instructions in the
|
93
|
+
<A HREF="../README.txt">README file</A>.
|
94
|
+
<p>
|
95
|
+
|
96
|
+
The MathJax-webfonts archive is available from the <A
|
97
|
+
HREF="http://sourceforge.net/projects/mathjax/files/">MathJax SourceForge
|
98
|
+
project</A>. Unpack the archive in the MathJax directory; you should
|
99
|
+
obtain a fonts directory, with a hierarchy of:
|
100
|
+
<PRE>
|
101
|
+
MathJax/
|
102
|
+
fonts/
|
103
|
+
HTML-CSS/
|
104
|
+
TeX/
|
105
|
+
eot/
|
106
|
+
...
|
107
|
+
imagedata.js
|
108
|
+
png/
|
109
|
+
...
|
110
|
+
otf/
|
111
|
+
...
|
112
|
+
svg/
|
113
|
+
...
|
114
|
+
</PRE>
|
115
|
+
|
116
|
+
</BLOCKQUOTE>
|
117
|
+
|
118
|
+
</BODY>
|
119
|
+
</HTML>
|
@@ -0,0 +1,127 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<HTML xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
|
3
|
+
<HEAD>
|
4
|
+
<TITLE>MathJax Test Page</TITLE>
|
5
|
+
<!-- Copyright (c) 2009-2010 Design Science, Inc. -->
|
6
|
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />
|
7
|
+
<META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE7" >
|
8
|
+
|
9
|
+
<SCRIPT SRC="../MathJax.js">
|
10
|
+
MathJax.Hub.Config({
|
11
|
+
extensions: ["tex2jax.js"],
|
12
|
+
jax: ["input/TeX","output/HTML-CSS"],
|
13
|
+
"HTML-CSS": {
|
14
|
+
availableFonts:[],
|
15
|
+
styles: {".MathJax_Preview": {visibility: "hidden"}}
|
16
|
+
}
|
17
|
+
});
|
18
|
+
|
19
|
+
//
|
20
|
+
// Do NOT include the following in your own pages. This is only here to
|
21
|
+
// provide an alert rather than MathJax's usual small message in the lower
|
22
|
+
// left-hand corner. Use sample.html as the example for how to call
|
23
|
+
// MathJax in your own pages.
|
24
|
+
//
|
25
|
+
(function (HUB) {
|
26
|
+
|
27
|
+
var MINVERSION = {
|
28
|
+
Firefox: 3.0,
|
29
|
+
Opera: 9.52,
|
30
|
+
MSIE: 6.0,
|
31
|
+
Chrome: 0.3,
|
32
|
+
Safari: 2.0,
|
33
|
+
Konqueror: 4.0,
|
34
|
+
Unknown: 10000.0 // always disable unknown browsers
|
35
|
+
};
|
36
|
+
|
37
|
+
if (!HUB.Browser.versionAtLeast(MINVERSION[HUB.Browser]||0.0)) {
|
38
|
+
HUB.config.jax = []; // don't load any Jax
|
39
|
+
HUB.config.extensions = []; // don't load any extensions
|
40
|
+
alert("The browser you are using does not support MathJax, " +
|
41
|
+
"so we can't test if MathJax is working.\n\n"+
|
42
|
+
"Please try a different browser, or a newer version of your browser.");
|
43
|
+
}
|
44
|
+
|
45
|
+
})(MathJax.Hub);
|
46
|
+
|
47
|
+
MathJax.Hub.Register.StartupHook("End",function () {
|
48
|
+
var HTMLCSS = MathJax.OutputJax["HTML-CSS"];
|
49
|
+
var MAIN = HTMLCSS.FONTDATA.FONTS["MathJax_Main"];
|
50
|
+
if (MAIN.version < 2) {
|
51
|
+
document.getElementById("version").innerHTML = MAIN.version;
|
52
|
+
document.getElementById("webfonts").style.display="";
|
53
|
+
}
|
54
|
+
});
|
55
|
+
</SCRIPT>
|
56
|
+
</HEAD>
|
57
|
+
<BODY>
|
58
|
+
|
59
|
+
<NOSCRIPT>
|
60
|
+
<DIV STYLE="color:#CC0000; text-align:center">
|
61
|
+
<B>Warning: <A HREF="http://www.mathjax.org/">MathJax</A>
|
62
|
+
requires JavaScript to process the mathematics on this page.<BR>
|
63
|
+
If your browser supports JavaScript, be sure it is enabled.<B>
|
64
|
+
</DIV>
|
65
|
+
<HR>
|
66
|
+
</NOSCRIPT>
|
67
|
+
|
68
|
+
<BLOCKQUOTE>
|
69
|
+
|
70
|
+
<!--
|
71
|
+
| <DIV STYLE="float:right; width:auto; margin-top:.5em">
|
72
|
+
| <INPUT TYPE="button" VALUE="Check for Updates" ONCLICK="CheckVersion()">
|
73
|
+
| </DIV>
|
74
|
+
-->
|
75
|
+
|
76
|
+
<H1>MathJax Test Page</H1>
|
77
|
+
|
78
|
+
If you see typeset mathematics below, then MathJax is working. If you see
|
79
|
+
TeX code instead, MathJax is not working for you.
|
80
|
+
<p>
|
81
|
+
<!------------------------------------------------------------------------>
|
82
|
+
<HR>
|
83
|
+
|
84
|
+
|
85
|
+
\[
|
86
|
+
\frac{-b\pm\sqrt{b^2-4ac}}{2a}
|
87
|
+
\]
|
88
|
+
<p>
|
89
|
+
|
90
|
+
<DIV STYLE="color:green">
|
91
|
+
<DIV STYLE="text-align:center; color:red; font-size:120%" CLASS="MathJax_Preview">
|
92
|
+
MathJax is not working!
|
93
|
+
</DIV><SCRIPT TYPE="math/tex; mode=display">
|
94
|
+
\bf MathJax\ Appears\ to\ be\ Working!
|
95
|
+
</SCRIPT>
|
96
|
+
</DIV>
|
97
|
+
|
98
|
+
<!------------------------------------------------------------------------>
|
99
|
+
<HR>
|
100
|
+
<p>
|
101
|
+
|
102
|
+
<DIV ID="webfonts" STYLE="display:none; color:red">
|
103
|
+
<B>WARNING</B>: Your MathJax web fonts seem to be version <SPAN ID="version">1</SPAN>
|
104
|
+
rather than version 2. Be sure you have downloaded and installed the latest
|
105
|
+
MathJax-webfonts ZIP file from
|
106
|
+
<p>
|
107
|
+
<BLOCKQUOTE>
|
108
|
+
<A HREF="http://sourceforge.net/projects/mathjax/files/">http://sourceforge.net/projects/mathjax/files/</A>
|
109
|
+
</BLOCKQUOTE>
|
110
|
+
before continuing. Failure to install the new versions of the fonts will
|
111
|
+
mean that the data MathJax is using will not match the fonts, and so
|
112
|
+
display errors will occur. You can probably see this in the equation
|
113
|
+
above: the radial will be out of place.
|
114
|
+
<p>
|
115
|
+
<HR>
|
116
|
+
</DIV>
|
117
|
+
|
118
|
+
<p>
|
119
|
+
|
120
|
+
Once you have MathJax working properly, view the <A
|
121
|
+
HREF="index-images.html">image mode test page</A> to make sure that the
|
122
|
+
image fallback mode is working as well.
|
123
|
+
|
124
|
+
</BLOCKQUOTE>
|
125
|
+
|
126
|
+
</BODY>
|
127
|
+
</HTML>
|