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,43 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/extensions/TeX/autobold.js
|
4
|
+
*
|
5
|
+
* Adds \boldsymbol around mathematics that appears in a section
|
6
|
+
* of an HTML page that is in bold.
|
7
|
+
*
|
8
|
+
* Copyright (c) 2009 Design Science, Inc.
|
9
|
+
*
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
* you may not use this file except in compliance with the License.
|
12
|
+
* You may obtain a copy of the License at
|
13
|
+
*
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
*
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
* See the License for the specific language governing permissions and
|
20
|
+
* limitations under the License.
|
21
|
+
*/
|
22
|
+
|
23
|
+
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
24
|
+
var TEX = MathJax.InputJax.TeX;
|
25
|
+
var oldPrefilter = TEX.prefilterMath;
|
26
|
+
|
27
|
+
TEX.prefilterMath = function (math,displaystyle,script) {
|
28
|
+
var span = script.parentNode.insertBefore(document.createElement("span"),script);
|
29
|
+
span.visibility = "hidden";
|
30
|
+
span.style.fontFamily = "Times, serif";
|
31
|
+
span.appendChild(document.createTextNode("ABCXYZabcxyz"));
|
32
|
+
var W = span.offsetWidth;
|
33
|
+
span.style.fontWeight = "bold";
|
34
|
+
if (span.offsetWidth == W) {math = "\\bf {"+math+"}"}
|
35
|
+
span.parentNode.removeChild(span);
|
36
|
+
return oldPrefilter.call(TEX,math,displaystyle,script);
|
37
|
+
};
|
38
|
+
|
39
|
+
MathJax.Hub.Startup.signal.Post("TeX autobold Ready");
|
40
|
+
|
41
|
+
});
|
42
|
+
|
43
|
+
MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/autobold.js");
|
@@ -0,0 +1,109 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/extensions/TeX/boldsymbol.js
|
4
|
+
*
|
5
|
+
* Implements the \boldsymbol{...} command to make bold
|
6
|
+
* versions of all math characters (not just variables).
|
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.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
26
|
+
var MML = MathJax.ElementJax.mml;
|
27
|
+
var TEX = MathJax.InputJax.TeX;
|
28
|
+
var TEXDEF = TEX.Definitions;
|
29
|
+
|
30
|
+
var BOLDVARIANT = {};
|
31
|
+
BOLDVARIANT[MML.VARIANT.NORMAL] = MML.VARIANT.BOLD;
|
32
|
+
BOLDVARIANT[MML.VARIANT.ITALIC] = MML.VARIANT.BOLDITALIC;
|
33
|
+
BOLDVARIANT[MML.VARIANT.FRAKTUR] = MML.VARIANT.BOLDFRAKTUR;
|
34
|
+
BOLDVARIANT[MML.VARIANT.SCRIPT] = MML.VARIANT.BOLDSCRIPT;
|
35
|
+
BOLDVARIANT[MML.VARIANT.SANSSERIF] = MML.VARIANT.BOLDSANSSERIF;
|
36
|
+
BOLDVARIANT["-tex-caligraphic"] = "-tex-caligraphic-bold";
|
37
|
+
BOLDVARIANT["-tex-oldstyle"] = "-tex-oldstyle-bold";
|
38
|
+
|
39
|
+
TEXDEF.macros.boldsymbol = 'Boldsymbol';
|
40
|
+
|
41
|
+
TEX.Parse.Augment({
|
42
|
+
mmlToken: function (token) {
|
43
|
+
if (this.stack.env.boldsymbol) {
|
44
|
+
var variant = token.Get("mathvariant");
|
45
|
+
if (variant == null) {token.mathvariant = MML.VARIANT.BOLD}
|
46
|
+
else {token.mathvariant = (BOLDVARIANT[variant]||variant)}
|
47
|
+
}
|
48
|
+
return token;
|
49
|
+
},
|
50
|
+
|
51
|
+
Boldsymbol: function (name) {
|
52
|
+
var boldsymbol = this.stack.env.boldsymbol,
|
53
|
+
font = this.stack.env.font;
|
54
|
+
this.stack.env.boldsymbol = true;
|
55
|
+
this.stack.env.font = null;
|
56
|
+
var mml = this.ParseArg(name);
|
57
|
+
this.stack.env.font = font;
|
58
|
+
this.stack.env.boldsymbol = boldsymbol;
|
59
|
+
this.Push(mml);
|
60
|
+
}
|
61
|
+
});
|
62
|
+
|
63
|
+
});
|
64
|
+
|
65
|
+
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
|
66
|
+
var HTMLCSS = MathJax.OutputJax["HTML-CSS"];
|
67
|
+
var TEX = MathJax.InputJax.TeX;
|
68
|
+
var FONTS = HTMLCSS.FONTDATA.FONTS;
|
69
|
+
var VARIANT = HTMLCSS.FONTDATA.VARIANT;
|
70
|
+
|
71
|
+
if (HTMLCSS.fontInUse === "TeX") {
|
72
|
+
FONTS["MathJax_Caligraphic-bold"] = "Caligraphic/Bold/Main.js";
|
73
|
+
|
74
|
+
VARIANT["-tex-caligraphic-bold"] =
|
75
|
+
{fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"],
|
76
|
+
offsetA: 0x41, variantA: "bold-italic"};
|
77
|
+
VARIANT["-tex-oldstyle-bold"] =
|
78
|
+
{fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"]};
|
79
|
+
|
80
|
+
if (HTMLCSS.msieCheckGreek && HTMLCSS.Font.testFont({
|
81
|
+
family:"MathJax_Greek", weight:"bold", style:"italic", testString: HTMLCSS.msieCheckGreek
|
82
|
+
})) {
|
83
|
+
VARIANT["bold-italic"].offsetG = 0x391; VARIANT["bold-italic"].variantG = "-Greek-Bold-Italic";
|
84
|
+
VARIANT["-Greek-Bold-Italic"] = {fonts:["MathJax_Greek-bold-italic"]};
|
85
|
+
FONTS["MathJax_Greek-bold-italic"] = "Greek/BoldItalic/Main.js";
|
86
|
+
}
|
87
|
+
|
88
|
+
if (MathJax.Hub.Browser.isChrome && !MathJax.Hub.Browser.versionAtLeast("5.0")) {
|
89
|
+
VARIANT["-tex-caligraphic-bold"].remap = {0x54: [0xE2F0,"-WinChrome"]};
|
90
|
+
}
|
91
|
+
|
92
|
+
} else if (HTMLCSS.fontInUse === "STIX") {
|
93
|
+
VARIANT["-tex-caligraphic-bold"] = {
|
94
|
+
fonts:["STIXGeneral-bold-italic","STIXNonUnicode-bold-italic","STIXNonUnicode","STIXGeneral","STIXSizeOneSym"],
|
95
|
+
offsetA: 0xE247, noLowerCase: 1
|
96
|
+
};
|
97
|
+
VARIANT["-tex-oldstyle-bold"] = {
|
98
|
+
fonts:["STIXGeneral-bold","STIXNonUnicode-bold","STIXGeneral","STIXSizeOneSym"], offsetN: 0xE263,
|
99
|
+
remap: {0xE264: 0xE267, 0xE265: 0xE26B, 0xE266: 0xE26F, 0xE267: 0xE273,
|
100
|
+
0xE268: 0xE277, 0xE269: 0xE27B, 0xE26A: 0xE27F, 0xE26B: 0xE283,
|
101
|
+
0xE26C: 0xE287}
|
102
|
+
};
|
103
|
+
}
|
104
|
+
|
105
|
+
MathJax.Hub.Startup.signal.Post("TeX boldsymbol Ready");
|
106
|
+
|
107
|
+
});
|
108
|
+
|
109
|
+
MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/boldsymbol.js");
|
@@ -0,0 +1,65 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/extensions/TeX/mathchoice.js
|
4
|
+
*
|
5
|
+
* Implements the \mathchoice macro (rarely used)
|
6
|
+
*
|
7
|
+
* ---------------------------------------------------------------------
|
8
|
+
*
|
9
|
+
* Copyright (c) 2009 Design Science, Inc.
|
10
|
+
*
|
11
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
12
|
+
* you may not use this file except in compliance with the License.
|
13
|
+
* You may obtain a copy of the License at
|
14
|
+
*
|
15
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
16
|
+
*
|
17
|
+
* Unless required by applicable law or agreed to in writing, software
|
18
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
19
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
20
|
+
* See the License for the specific language governing permissions and
|
21
|
+
* limitations under the License.
|
22
|
+
*/
|
23
|
+
|
24
|
+
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
25
|
+
var MML = MathJax.ElementJax.mml;
|
26
|
+
var TEX = MathJax.InputJax.TeX;
|
27
|
+
var TEXDEF = TEX.Definitions;
|
28
|
+
|
29
|
+
TEXDEF.macros.mathchoice = 'MathChoice';
|
30
|
+
|
31
|
+
TEX.Parse.Augment({
|
32
|
+
|
33
|
+
MathChoice: function (name) {
|
34
|
+
var D = this.ParseArg(name),
|
35
|
+
T = this.ParseArg(name),
|
36
|
+
S = this.ParseArg(name),
|
37
|
+
SS = this.ParseArg(name);
|
38
|
+
this.Push(MML.TeXmathchoice(D,T,S,SS));
|
39
|
+
}
|
40
|
+
|
41
|
+
});
|
42
|
+
|
43
|
+
MML.TeXmathchoice = MML.mbase.Subclass({
|
44
|
+
type: "TeXmathchoice",
|
45
|
+
choice: function () {
|
46
|
+
var values = this.getValues("displaystyle","scriptlevel");
|
47
|
+
if (values.scriptlevel > 0) {return Math.min(3,values.scriptlevel + 1)}
|
48
|
+
return (values.displaystyle ? 0 : 1);
|
49
|
+
},
|
50
|
+
setTeXclass: function (prev) {return this.Core().setTeXclass(prev)},
|
51
|
+
isSpacelike: function () {return this.Core().isSpacelike()},
|
52
|
+
isEmbellished: function () {return this.Core().isEmbellished()},
|
53
|
+
Core: function () {return this.data[this.choice()]},
|
54
|
+
toHTML: function (span) {
|
55
|
+
span = this.HTMLcreateSpan(span);
|
56
|
+
span.bbox = this.Core().toHTML(span).bbox;
|
57
|
+
return span;
|
58
|
+
}
|
59
|
+
});
|
60
|
+
|
61
|
+
MathJax.Hub.Startup.signal.Post("TeX mathchoice Ready");
|
62
|
+
|
63
|
+
});
|
64
|
+
|
65
|
+
MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/mathchoice.js");
|
@@ -0,0 +1,185 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/extensions/TeX/newcommand.js
|
4
|
+
*
|
5
|
+
* Implements the \newcommand, \newenvironment and \def
|
6
|
+
* macros, and is loaded automatically 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.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
26
|
+
var TEX = MathJax.InputJax.TeX;
|
27
|
+
var TEXDEF = TEX.Definitions;
|
28
|
+
|
29
|
+
MathJax.Hub.Insert(TEXDEF,{
|
30
|
+
macros: {
|
31
|
+
newcommand: 'NewCommand',
|
32
|
+
newenvironment: 'NewEnvironment',
|
33
|
+
def: 'MacroDef'
|
34
|
+
}
|
35
|
+
})
|
36
|
+
|
37
|
+
TEX.Parse.Augment({
|
38
|
+
|
39
|
+
/*
|
40
|
+
* Implement \newcommand{\name}[n]{...}
|
41
|
+
*/
|
42
|
+
NewCommand: function (name) {
|
43
|
+
var cs = this.trimSpaces(this.GetArgument(name)),
|
44
|
+
n = this.trimSpaces(this.GetBrackets(name)),
|
45
|
+
def = this.GetArgument(name);
|
46
|
+
if (n === '') {n = null}
|
47
|
+
if (cs.charAt(0) === "\\") {cs = cs.substr(1)}
|
48
|
+
if (!cs.match(/^(.|[a-z]+)$/i)) {TEX.Error("Illegal control sequence name for "+name)}
|
49
|
+
if (n != null && !n.match(/^[0-9]+$/)) {TEX.Error("Illegal number of parameters specified in "+name)}
|
50
|
+
TEXDEF.macros[cs] = ['Macro',def,n];
|
51
|
+
},
|
52
|
+
|
53
|
+
/*
|
54
|
+
* Implement \newenvironment{name}[n]{begincmd}{endcmd}
|
55
|
+
*/
|
56
|
+
NewEnvironment: function (name) {
|
57
|
+
var env = this.trimSpaces(this.GetArgument(name)),
|
58
|
+
n = this.trimSpaces(this.GetBrackets(name)),
|
59
|
+
bdef = this.GetArgument(name),
|
60
|
+
edef = this.GetArgument(name);
|
61
|
+
if (n === '') {n = null}
|
62
|
+
if (n != null && !n.match(/^[0-9]+$/)) {TEX.Error("Illegal number of parameters specified in "+name)}
|
63
|
+
TEXDEF.environment[env] = ['BeginEnv','EndEnv',bdef,edef,n];
|
64
|
+
},
|
65
|
+
|
66
|
+
/*
|
67
|
+
* Implement \def command
|
68
|
+
*/
|
69
|
+
MacroDef: function (name) {
|
70
|
+
var cs = this.GetCSname(name),
|
71
|
+
params = this.GetTemplate(name,"\\"+cs),
|
72
|
+
def = this.GetArgument(name);
|
73
|
+
if (!(params instanceof Array)) {TEXDEF.macros[cs] = ['Macro',def,params]}
|
74
|
+
else {TEXDEF.macros[cs] = ['MacroWithTemplate',def,params[0],params[1]]}
|
75
|
+
},
|
76
|
+
|
77
|
+
/*
|
78
|
+
* Get a CS name or give an error
|
79
|
+
*/
|
80
|
+
GetCSname: function (cmd) {
|
81
|
+
var c = this.GetNext();
|
82
|
+
if (c !== "\\") {TEX.Error("\\ must be followed by a control sequence")}
|
83
|
+
var cs = this.trimSpaces(this.GetArgument(cmd));
|
84
|
+
return cs.substr(1);
|
85
|
+
},
|
86
|
+
|
87
|
+
/*
|
88
|
+
* Get a \def parameter template
|
89
|
+
*/
|
90
|
+
GetTemplate: function (cmd,cs) {
|
91
|
+
var c, params = [], n = 0;
|
92
|
+
c = this.GetNext(); var i = this.i;
|
93
|
+
while (this.i < this.string.length) {
|
94
|
+
c = this.GetNext();
|
95
|
+
if (c === '#') {
|
96
|
+
if (i !== this.i) {params[n] = this.string.substr(i,this.i-i)}
|
97
|
+
c = this.string.charAt(++this.i);
|
98
|
+
if (!c.match(/^[1-9]$/)) {TEX.Error("Illegal use of # in template for "+cs)}
|
99
|
+
if (parseInt(c) != ++n) {TEX.Error("Parameters for "+cs+" must be numbered sequentially")}
|
100
|
+
i = this.i+1;
|
101
|
+
} else if (c === '{') {
|
102
|
+
if (i !== this.i) {params[n] = this.string.substr(i,this.i-i)}
|
103
|
+
if (params.length > 0) {return [n,params]} else {return n}
|
104
|
+
}
|
105
|
+
this.i++;
|
106
|
+
}
|
107
|
+
TEX.Error("Missing replacement string for definition of "+cmd);
|
108
|
+
},
|
109
|
+
|
110
|
+
/*
|
111
|
+
* Process a macro with a parameter template
|
112
|
+
*/
|
113
|
+
MacroWithTemplate: function (name,text,n,params) {
|
114
|
+
if (n) {
|
115
|
+
var args = [], c = this.GetNext();
|
116
|
+
if (params[0] && !this.MatchParam(params[0]))
|
117
|
+
{TEX.Error("Use of "+name+" doesn't match its definition")}
|
118
|
+
for (var i = 0; i < n; i++) {args.push(this.GetParameter(name,params[i+1]))}
|
119
|
+
text = this.SubstituteArgs(args,text);
|
120
|
+
}
|
121
|
+
this.string = this.AddArgs(text,this.string.slice(this.i));
|
122
|
+
this.i = 0;
|
123
|
+
},
|
124
|
+
|
125
|
+
/*
|
126
|
+
* Process a user-defined environment
|
127
|
+
*/
|
128
|
+
BeginEnv: function (begin,bdef,edef,n) {
|
129
|
+
if (n) {
|
130
|
+
var args = [];
|
131
|
+
for (var i = 0; i < n; i++) {args.push(this.GetArgument("\\begin{"+name+"}"))}
|
132
|
+
bdef = this.SubstituteArgs(args,bdef);
|
133
|
+
edef = this.SubstituteArgs(args,edef);
|
134
|
+
}
|
135
|
+
begin.edef = edef;
|
136
|
+
this.string = this.AddArgs(bdef,this.string.slice(this.i)); this.i = 0;
|
137
|
+
return begin;
|
138
|
+
},
|
139
|
+
EndEnv: function (begin,row) {
|
140
|
+
this.string = this.AddArgs(begin.edef,this.string.slice(this.i)); this.i = 0
|
141
|
+
return row;
|
142
|
+
},
|
143
|
+
|
144
|
+
/*
|
145
|
+
* Find a single parameter delimited by a trailing template
|
146
|
+
*/
|
147
|
+
GetParameter: function (name,param) {
|
148
|
+
if (param == null) {return this.GetArgument(name)}
|
149
|
+
var i = this.i, j = 0, hasBraces = 0;
|
150
|
+
while (this.i < this.string.length) {
|
151
|
+
if (this.string.charAt(this.i) === '{') {
|
152
|
+
if (this.i === i) {hasBraces = 1}
|
153
|
+
this.GetArgument(name); j = this.i - i;
|
154
|
+
} else if (this.MatchParam(param)) {
|
155
|
+
if (hasBraces) {i++; j -= 2}
|
156
|
+
return this.string.substr(i,j);
|
157
|
+
} else {
|
158
|
+
this.i++; j++; hasBraces = 0;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
TEX.Error("Runaway argument for "+name+"?");
|
162
|
+
},
|
163
|
+
|
164
|
+
/*
|
165
|
+
* Check if a template is at the current location.
|
166
|
+
* (The match must be exact, with no spacing differences. TeX is
|
167
|
+
* a little more forgiving than this about spaces after macro names)
|
168
|
+
*/
|
169
|
+
MatchParam: function (param) {
|
170
|
+
if (this.string.substr(this.i,param.length) !== param) {return 0}
|
171
|
+
this.i += param.length;
|
172
|
+
return 1;
|
173
|
+
}
|
174
|
+
|
175
|
+
});
|
176
|
+
|
177
|
+
TEX.Environment = function (name) {
|
178
|
+
TEXDEF.environment[name] = ['BeginEnv','EndEnv'].concat([].slice.call(arguments,1));
|
179
|
+
}
|
180
|
+
|
181
|
+
MathJax.Hub.Startup.signal.Post("TeX newcommand Ready");
|
182
|
+
|
183
|
+
});
|
184
|
+
|
185
|
+
MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/newcommand.js");
|
@@ -0,0 +1,169 @@
|
|
1
|
+
/*************************************************************
|
2
|
+
*
|
3
|
+
* MathJax/extensions/TeX/noErrors.js
|
4
|
+
*
|
5
|
+
* Prevents the TeX error messages from being displayed and shows the
|
6
|
+
* original TeX code instead. You can configure whether the dollar signs
|
7
|
+
* are shown or not for in-line math, and whether to put all the TeX on
|
8
|
+
* one line or use multiple-lines.
|
9
|
+
*
|
10
|
+
* To configure this extension, use
|
11
|
+
*
|
12
|
+
* MathJax.Hub.Configure({
|
13
|
+
* TeX: {
|
14
|
+
* noErrors: {
|
15
|
+
* inlineDelimiters: ["",""], // or ["$","$"] or ["\\(","\\)"]
|
16
|
+
* multiLine: true, // false for TeX on all one line
|
17
|
+
* style: {
|
18
|
+
* "font-family": "serif",
|
19
|
+
* "font-size": "80%",
|
20
|
+
* "color": "black",
|
21
|
+
* "border": "1px solid"
|
22
|
+
* // add any additional CSS styles that you want
|
23
|
+
* // (be sure there is no extra comma at the end of the last item)
|
24
|
+
* }
|
25
|
+
* }
|
26
|
+
* }
|
27
|
+
* });
|
28
|
+
*
|
29
|
+
* Display-style math is always shown in multi-line format, and without
|
30
|
+
* delimiters, as it will already be set off in its own centered
|
31
|
+
* paragraph, like standard display mathematics.
|
32
|
+
*
|
33
|
+
* The default settings place the invalid TeX in a multi-line box with a
|
34
|
+
* black border. If you want it to look as though the TeX is just part of
|
35
|
+
* the paragraph, use
|
36
|
+
*
|
37
|
+
* MathJax.Hub.Configure({
|
38
|
+
* TeX: {
|
39
|
+
* noErrors: {
|
40
|
+
* inlineDelimiters: ["$","$"], // or ["",""] or ["\\(","\\)"]
|
41
|
+
* multiLine: false,
|
42
|
+
* style: {
|
43
|
+
* "font-size": "normal",
|
44
|
+
* "border": ""
|
45
|
+
* }
|
46
|
+
* }
|
47
|
+
* }
|
48
|
+
* });
|
49
|
+
*
|
50
|
+
* You may also wish to set the font family, as the default is "serif"
|
51
|
+
*
|
52
|
+
* ---------------------------------------------------------------------
|
53
|
+
*
|
54
|
+
* Copyright (c) 2009 Design Science, Inc.
|
55
|
+
*
|
56
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
57
|
+
* you may not use this file except in compliance with the License.
|
58
|
+
* You may obtain a copy of the License at
|
59
|
+
*
|
60
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
61
|
+
*
|
62
|
+
* Unless required by applicable law or agreed to in writing, software
|
63
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
64
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
65
|
+
* See the License for the specific language governing permissions and
|
66
|
+
* limitations under the License.
|
67
|
+
*/
|
68
|
+
|
69
|
+
(function () {
|
70
|
+
|
71
|
+
//
|
72
|
+
// The configuration defaults, augmented by the user settings
|
73
|
+
//
|
74
|
+
MathJax.Extension["TeX/noErrors"] = {
|
75
|
+
config: MathJax.Hub.Insert({
|
76
|
+
multiLine: true,
|
77
|
+
inlineDelimiters: ["",""], // or use ["$","$"] or ["\\(","\\)"]
|
78
|
+
style: {
|
79
|
+
"font-family": "serif",
|
80
|
+
"font-size": "80%",
|
81
|
+
"color": "black",
|
82
|
+
"border": "1px solid"
|
83
|
+
}
|
84
|
+
},((MathJax.Hub.config.TeX||{}).noErrors||{}))
|
85
|
+
};
|
86
|
+
|
87
|
+
var CONFIG = MathJax.Extension["TeX/noErrors"].config;
|
88
|
+
var NBSP = String.fromCharCode(0xA0);
|
89
|
+
|
90
|
+
MathJax.Hub.Config({
|
91
|
+
TeX: {
|
92
|
+
Augment: {
|
93
|
+
//
|
94
|
+
// Make error messages be the original TeX code
|
95
|
+
// Mark them as errors and multi-line or not, and for
|
96
|
+
// multi-line TeX, make spaces non-breakable (to get formatting right)
|
97
|
+
//
|
98
|
+
formatError: function (err,math,displaystyle,script) {
|
99
|
+
var delim = CONFIG.inlineDelimiters;
|
100
|
+
var multiLine = (displaystyle || CONFIG.multiLine);
|
101
|
+
if (!displaystyle) {math = delim[0] + math + delim[1]}
|
102
|
+
if (multiLine) {math = math.replace(/ /g,NBSP)} else {math = math.replace(/\n/g," ")}
|
103
|
+
return MathJax.ElementJax.mml.merror(math).With({isError:true, multiLine: multiLine});
|
104
|
+
}
|
105
|
+
}
|
106
|
+
},
|
107
|
+
|
108
|
+
"HTML-CSS": {
|
109
|
+
styles: {
|
110
|
+
".MathJax .merror": MathJax.Hub.Insert({
|
111
|
+
"font-style": null,
|
112
|
+
"background-color": null,
|
113
|
+
"vertical-align": (MathJax.Hub.Browser.isMSIE && CONFIG.multiLine ? "-2px" : "")
|
114
|
+
},CONFIG.style)
|
115
|
+
}
|
116
|
+
}
|
117
|
+
});
|
118
|
+
|
119
|
+
})();
|
120
|
+
|
121
|
+
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
|
122
|
+
var MML = MathJax.ElementJax.mml;
|
123
|
+
var HTMLCSS = MathJax.OutputJax["HTML-CSS"];
|
124
|
+
var CONFIG = MathJax.Extension["TeX/noErrors"].config;
|
125
|
+
|
126
|
+
//
|
127
|
+
// Override math toHTML routine so that error messages
|
128
|
+
// don't have the clipping and other unneeded overhead
|
129
|
+
//
|
130
|
+
var math_toHTML = MML.math.prototype.toHTML;
|
131
|
+
MML.math.Augment({
|
132
|
+
toHTML: function (span) {
|
133
|
+
if (this.data[0] && this.data[0].data[0] && this.data[0].data[0].isError) {
|
134
|
+
return this.data[0].data[0].toHTML(span);
|
135
|
+
}
|
136
|
+
return math_toHTML.call(this,span);
|
137
|
+
}
|
138
|
+
});
|
139
|
+
|
140
|
+
//
|
141
|
+
// Override merror toHTML routine so that it puts out the
|
142
|
+
// TeX code in an inlin-block with line breaks as in the original
|
143
|
+
//
|
144
|
+
MML.merror.Augment({
|
145
|
+
toHTML: function (span) {
|
146
|
+
span = this.HTMLcreateSpan(span);
|
147
|
+
if (this.multiLine) {span.style.display = "inline-block"}
|
148
|
+
var text = this.data[0].data.join("").split(/\n/);
|
149
|
+
for (var i = 0, m = text.length; i < m; i++) {
|
150
|
+
HTMLCSS.addText(span,text[i]);
|
151
|
+
if (i !== m-1) {HTMLCSS.addElement(span,"br")}
|
152
|
+
}
|
153
|
+
var HD = HTMLCSS.getHD(span.parentNode), W = HTMLCSS.getW(span.parentNode);
|
154
|
+
if (m > 1) {
|
155
|
+
var H = (HD.h + HD.d)/2, x = HTMLCSS.TeX.x_height/2;
|
156
|
+
var scale = HTMLCSS.config.styles[".MathJax .merror"]["font-size"];
|
157
|
+
if (scale && scale.match(/%/)) {x *= parseInt(scale)/100}
|
158
|
+
span.parentNode.style.verticalAlign = HTMLCSS.Em(HD.d+(x-H));
|
159
|
+
HD.h = x + H; HD.d = H - x;
|
160
|
+
}
|
161
|
+
span.bbox = {h: HD.h, d: HD.d, w: W, lw: 0, rw: W};
|
162
|
+
return span;
|
163
|
+
}
|
164
|
+
});
|
165
|
+
|
166
|
+
MathJax.Hub.Startup.signal.Post("TeX noErrors Ready");
|
167
|
+
});
|
168
|
+
|
169
|
+
MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js");
|