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.

Files changed (463) hide show
  1. data/HISTORY.md +3 -0
  2. data/LICENSE +21 -0
  3. data/README.md +435 -0
  4. data/Rakefile +146 -0
  5. data/bin/gollum +41 -0
  6. data/docs/sanitization.md +32 -0
  7. data/gollum.gemspec +506 -0
  8. data/lib/gollum.rb +58 -0
  9. data/lib/gollum/albino.rb +17 -0
  10. data/lib/gollum/file.rb +60 -0
  11. data/lib/gollum/frontend/app.rb +154 -0
  12. data/lib/gollum/frontend/public/css/editbar.css +194 -0
  13. data/lib/gollum/frontend/public/css/gollum.css +55 -0
  14. data/lib/gollum/frontend/public/css/screen.css +726 -0
  15. data/lib/gollum/frontend/public/css/syntax.css +61 -0
  16. data/lib/gollum/frontend/public/images/buttons.png +0 -0
  17. data/lib/gollum/frontend/public/images/editbar-buttons.png +0 -0
  18. data/lib/gollum/frontend/public/images/example.png +0 -0
  19. data/lib/gollum/frontend/public/images/twiddle-down.png +0 -0
  20. data/lib/gollum/frontend/public/images/twiddle-right.png +0 -0
  21. data/lib/gollum/frontend/public/images/txt.png +0 -0
  22. data/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt +202 -0
  23. data/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +1704 -0
  24. data/lib/gollum/frontend/public/javascript/MathJax/README.txt +480 -0
  25. data/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +63 -0
  26. data/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +351 -0
  27. data/lib/gollum/frontend/public/javascript/MathJax/config/local/local.js +37 -0
  28. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +376 -0
  29. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +385 -0
  30. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +43 -0
  31. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +109 -0
  32. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +65 -0
  33. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +185 -0
  34. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +169 -0
  35. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +131 -0
  36. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +53 -0
  37. data/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +77 -0
  38. data/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +101 -0
  39. data/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +242 -0
  40. data/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +140 -0
  41. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +1474 -0
  42. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +122 -0
  43. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +58 -0
  44. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +35 -0
  45. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +35 -0
  46. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +35 -0
  47. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +40 -0
  48. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +66 -0
  49. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +35 -0
  50. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +37 -0
  51. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +39 -0
  52. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +228 -0
  53. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +38 -0
  54. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +167 -0
  55. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +38 -0
  56. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +36 -0
  57. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +289 -0
  58. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +162 -0
  59. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +39 -0
  60. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +87 -0
  61. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +114 -0
  62. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +111 -0
  63. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +112 -0
  64. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +88 -0
  65. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +58 -0
  66. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +79 -0
  67. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +82 -0
  68. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +52 -0
  69. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +85 -0
  70. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +36 -0
  71. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +36 -0
  72. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +175 -0
  73. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +61 -0
  74. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +219 -0
  75. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +88 -0
  76. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +79 -0
  77. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +84 -0
  78. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +34 -0
  79. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +134 -0
  80. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +168 -0
  81. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +79 -0
  82. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +82 -0
  83. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +91 -0
  84. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +73 -0
  85. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +35 -0
  86. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +47 -0
  87. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +41 -0
  88. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +39 -0
  89. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +590 -0
  90. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +40 -0
  91. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +1652 -0
  92. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +61 -0
  93. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +98 -0
  94. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +49 -0
  95. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif +0 -0
  96. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +127 -0
  97. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +32 -0
  98. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +109 -0
  99. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +79 -0
  100. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +67 -0
  101. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +98 -0
  102. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +49 -0
  103. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +28 -0
  104. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +31 -0
  105. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +129 -0
  106. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +89 -0
  107. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +67 -0
  108. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +33 -0
  109. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +109 -0
  110. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +85 -0
  111. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +85 -0
  112. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +116 -0
  113. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +123 -0
  114. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +155 -0
  115. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +35 -0
  116. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +59 -0
  117. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +69 -0
  118. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +172 -0
  119. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +89 -0
  120. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +260 -0
  121. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +89 -0
  122. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +31 -0
  123. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +37 -0
  124. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +30 -0
  125. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +42 -0
  126. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +39 -0
  127. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +30 -0
  128. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +87 -0
  129. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +28 -0
  130. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +84 -0
  131. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +32 -0
  132. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +122 -0
  133. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +67 -0
  134. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +28 -0
  135. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +28 -0
  136. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +31 -0
  137. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +129 -0
  138. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +89 -0
  139. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +50 -0
  140. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +119 -0
  141. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +85 -0
  142. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +85 -0
  143. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +116 -0
  144. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +123 -0
  145. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +155 -0
  146. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +35 -0
  147. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +59 -0
  148. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +56 -0
  149. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +56 -0
  150. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +79 -0
  151. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +79 -0
  152. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +29 -0
  153. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +79 -0
  154. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +54 -0
  155. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +32 -0
  156. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +67 -0
  157. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +47 -0
  158. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +28 -0
  159. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +31 -0
  160. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +129 -0
  161. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +89 -0
  162. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +50 -0
  163. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +78 -0
  164. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +85 -0
  165. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +116 -0
  166. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +123 -0
  167. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +154 -0
  168. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +35 -0
  169. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +58 -0
  170. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +56 -0
  171. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +192 -0
  172. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +78 -0
  173. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +29 -0
  174. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +79 -0
  175. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +68 -0
  176. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +54 -0
  177. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +29 -0
  178. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +32 -0
  179. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +106 -0
  180. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +82 -0
  181. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +35 -0
  182. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +79 -0
  183. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +72 -0
  184. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +29 -0
  185. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +86 -0
  186. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +50 -0
  187. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +28 -0
  188. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +31 -0
  189. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +129 -0
  190. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +57 -0
  191. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +89 -0
  192. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +74 -0
  193. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +68 -0
  194. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +118 -0
  195. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +109 -0
  196. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +85 -0
  197. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +85 -0
  198. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +85 -0
  199. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +85 -0
  200. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +85 -0
  201. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +28 -0
  202. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +118 -0
  203. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +115 -0
  204. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +154 -0
  205. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +35 -0
  206. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +63 -0
  207. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +28 -0
  208. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +82 -0
  209. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +380 -0
  210. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +89 -0
  211. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +79 -0
  212. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +79 -0
  213. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +78 -0
  214. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +207 -0
  215. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +89 -0
  216. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +90 -0
  217. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +79 -0
  218. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +79 -0
  219. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +68 -0
  220. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +88 -0
  221. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +66 -0
  222. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +154 -0
  223. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +74 -0
  224. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +91 -0
  225. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +80 -0
  226. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +39 -0
  227. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +36 -0
  228. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +79 -0
  229. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +28 -0
  230. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +28 -0
  231. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +271 -0
  232. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +35 -0
  233. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +155 -0
  234. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +29 -0
  235. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +55 -0
  236. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +54 -0
  237. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +36 -0
  238. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +55 -0
  239. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +54 -0
  240. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +36 -0
  241. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +55 -0
  242. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +54 -0
  243. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +36 -0
  244. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +55 -0
  245. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +54 -0
  246. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +36 -0
  247. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +55 -0
  248. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +54 -0
  249. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +36 -0
  250. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +29 -0
  251. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +35 -0
  252. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +182 -0
  253. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +29 -0
  254. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +36 -0
  255. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +215 -0
  256. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +29 -0
  257. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +60 -0
  258. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +242 -0
  259. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +29 -0
  260. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +57 -0
  261. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +387 -0
  262. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +51 -0
  263. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +43 -0
  264. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +46 -0
  265. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +63 -0
  266. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +62 -0
  267. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +28 -0
  268. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +52 -0
  269. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +77 -0
  270. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +105 -0
  271. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +46 -0
  272. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +63 -0
  273. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +62 -0
  274. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +46 -0
  275. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +64 -0
  276. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +63 -0
  277. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +60 -0
  278. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +44 -0
  279. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +120 -0
  280. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +49 -0
  281. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +373 -0
  282. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +1403 -0
  283. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +65 -0
  284. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +55 -0
  285. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +33 -0
  286. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +29 -0
  287. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +29 -0
  288. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +28 -0
  289. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +28 -0
  290. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +36 -0
  291. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +29 -0
  292. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +31 -0
  293. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +28 -0
  294. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +34 -0
  295. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +51 -0
  296. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +138 -0
  297. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +28 -0
  298. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +28 -0
  299. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +29 -0
  300. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +43 -0
  301. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +29 -0
  302. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +50 -0
  303. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +96 -0
  304. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +95 -0
  305. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +109 -0
  306. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +36 -0
  307. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +30 -0
  308. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +34 -0
  309. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +109 -0
  310. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +35 -0
  311. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +30 -0
  312. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +35 -0
  313. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +43 -0
  314. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +110 -0
  315. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +109 -0
  316. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +42 -0
  317. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +51 -0
  318. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +39 -0
  319. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +28 -0
  320. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +44 -0
  321. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +32 -0
  322. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +38 -0
  323. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +36 -0
  324. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +28 -0
  325. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +28 -0
  326. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +33 -0
  327. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +161 -0
  328. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +94 -0
  329. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +29 -0
  330. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +34 -0
  331. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +33 -0
  332. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +36 -0
  333. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +30 -0
  334. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +34 -0
  335. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +38 -0
  336. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +33 -0
  337. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +38 -0
  338. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +28 -0
  339. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +28 -0
  340. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +28 -0
  341. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +28 -0
  342. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +137 -0
  343. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +51 -0
  344. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +39 -0
  345. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +28 -0
  346. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +38 -0
  347. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +32 -0
  348. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +38 -0
  349. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +32 -0
  350. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +28 -0
  351. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +28 -0
  352. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +33 -0
  353. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +304 -0
  354. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +94 -0
  355. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +31 -0
  356. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +34 -0
  357. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +35 -0
  358. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +28 -0
  359. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +30 -0
  360. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +34 -0
  361. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +205 -0
  362. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +204 -0
  363. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +115 -0
  364. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +38 -0
  365. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +36 -0
  366. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +47 -0
  367. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +115 -0
  368. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +38 -0
  369. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +36 -0
  370. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +47 -0
  371. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +115 -0
  372. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +38 -0
  373. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +35 -0
  374. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +47 -0
  375. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +54 -0
  376. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +62 -0
  377. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +28 -0
  378. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +74 -0
  379. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +66 -0
  380. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +50 -0
  381. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +77 -0
  382. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +123 -0
  383. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +36 -0
  384. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +35 -0
  385. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +44 -0
  386. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +43 -0
  387. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +56 -0
  388. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +82 -0
  389. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +111 -0
  390. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +1691 -0
  391. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +185 -0
  392. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +1991 -0
  393. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +51 -0
  394. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +230 -0
  395. data/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +119 -0
  396. data/lib/gollum/frontend/public/javascript/MathJax/test/index.html +127 -0
  397. data/lib/gollum/frontend/public/javascript/MathJax/test/sample.html +99 -0
  398. data/lib/gollum/frontend/public/javascript/gollum.js +244 -0
  399. data/lib/gollum/frontend/public/javascript/jquery-1.4.2.min.js +154 -0
  400. data/lib/gollum/frontend/public/javascript/jquery.previewable_comment_form.js +57 -0
  401. data/lib/gollum/frontend/public/javascript/jquery.tabs.js +59 -0
  402. data/lib/gollum/frontend/public/javascript/jquery.text_selection-1.0.0.min.js +1 -0
  403. data/lib/gollum/frontend/templates/compare.mustache +33 -0
  404. data/lib/gollum/frontend/templates/create.mustache +39 -0
  405. data/lib/gollum/frontend/templates/edit.mustache +38 -0
  406. data/lib/gollum/frontend/templates/editbar.mustache +1196 -0
  407. data/lib/gollum/frontend/templates/history.mustache +37 -0
  408. data/lib/gollum/frontend/templates/layout.mustache +33 -0
  409. data/lib/gollum/frontend/templates/page.mustache +27 -0
  410. data/lib/gollum/frontend/views/compare.rb +90 -0
  411. data/lib/gollum/frontend/views/create.rb +21 -0
  412. data/lib/gollum/frontend/views/edit.rb +13 -0
  413. data/lib/gollum/frontend/views/editable.rb +13 -0
  414. data/lib/gollum/frontend/views/history.rb +44 -0
  415. data/lib/gollum/frontend/views/layout.rb +14 -0
  416. data/lib/gollum/frontend/views/page.rb +38 -0
  417. data/lib/gollum/markup.rb +331 -0
  418. data/lib/gollum/page.rb +354 -0
  419. data/lib/gollum/pagination.rb +61 -0
  420. data/lib/gollum/wiki.rb +335 -0
  421. data/templates/formatting.html +92 -0
  422. data/test/examples/lotr.git/HEAD +1 -0
  423. data/test/examples/lotr.git/config +5 -0
  424. data/test/examples/lotr.git/description +1 -0
  425. data/test/examples/lotr.git/hooks/applypatch-msg.sample +15 -0
  426. data/test/examples/lotr.git/hooks/commit-msg.sample +24 -0
  427. data/test/examples/lotr.git/hooks/post-commit.sample +8 -0
  428. data/test/examples/lotr.git/hooks/post-receive.sample +15 -0
  429. data/test/examples/lotr.git/hooks/post-update.sample +8 -0
  430. data/test/examples/lotr.git/hooks/pre-applypatch.sample +14 -0
  431. data/test/examples/lotr.git/hooks/pre-commit.sample +46 -0
  432. data/test/examples/lotr.git/hooks/pre-rebase.sample +169 -0
  433. data/test/examples/lotr.git/hooks/prepare-commit-msg.sample +36 -0
  434. data/test/examples/lotr.git/hooks/update.sample +128 -0
  435. data/test/examples/lotr.git/info/exclude +6 -0
  436. data/test/examples/lotr.git/info/refs +1 -0
  437. data/test/examples/lotr.git/objects/06/131480411710c92a82fe2d1e76932c70feb2e5 +0 -0
  438. data/test/examples/lotr.git/objects/0a/de1e2916346d4c1f2fb63b863fd3c16808fe44 +0 -0
  439. data/test/examples/lotr.git/objects/0e/d8cbe0a25235bd867e65193c7d837c66b328ef +3 -0
  440. data/test/examples/lotr.git/objects/24/49c2681badfd3c189e8ed658dacffe8ba48fe5 +0 -0
  441. data/test/examples/lotr.git/objects/2c/b9156ad383914561a8502fc70f5a1d887e48ad +4 -0
  442. data/test/examples/lotr.git/objects/5d/cac289a8603188d2c5caf481dcba2985126aaa +0 -0
  443. data/test/examples/lotr.git/objects/60/f12f4254f58801b9ee7db7bca5fa8aeefaa56b +0 -0
  444. data/test/examples/lotr.git/objects/71/4323c104239440a5c66ab12a67ed07a83c404f +0 -0
  445. data/test/examples/lotr.git/objects/93/6b83ee0dd8837adb82511e40d5e4ebe59bb675 +0 -0
  446. data/test/examples/lotr.git/objects/94/523d7ae48aeba575099dd12926420d8fd0425d +2 -0
  447. data/test/examples/lotr.git/objects/96/97dc65e095658bbd1b8e8678e08881e86d32f1 +0 -0
  448. data/test/examples/lotr.git/objects/aa/b61fe89d56f8614c0a8151da34f939dcedfa68 +0 -0
  449. data/test/examples/lotr.git/objects/c3/b43e9f08966b088e7a0192e436b7a884542e05 +0 -0
  450. data/test/examples/lotr.git/objects/dc/596d6b2dd89ab05c66f4abd7d5eb706bc17f19 +0 -0
  451. data/test/examples/lotr.git/objects/ec/da3205bee14520aab5a7bb307392064b938e83 +0 -0
  452. data/test/examples/lotr.git/objects/fa/e7ef5344202bba4129abdc13060d9297d99465 +3 -0
  453. data/test/examples/lotr.git/objects/info/packs +2 -0
  454. data/test/examples/lotr.git/objects/pack/pack-dcbeaf3f6ff6c5eb08ea2b0a2d83626e8763546b.idx +0 -0
  455. data/test/examples/lotr.git/objects/pack/pack-dcbeaf3f6ff6c5eb08ea2b0a2d83626e8763546b.pack +0 -0
  456. data/test/examples/lotr.git/packed-refs +2 -0
  457. data/test/examples/lotr.git/refs/heads/master +1 -0
  458. data/test/helper.rb +38 -0
  459. data/test/test_file.rb +18 -0
  460. data/test/test_markup.rb +348 -0
  461. data/test/test_page.rb +112 -0
  462. data/test/test_wiki.rb +201 -0
  463. metadata +626 -0
@@ -0,0 +1,376 @@
1
+ /*************************************************************
2
+ *
3
+ * MathJax/extensions/TeX/AMSmath.js
4
+ *
5
+ * Implements AMS math environments and macros.
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
+ var STACKITEM = TEX.Stack.Item;
29
+
30
+ var COLS = function (W) {return W.join("em ") + "em"};
31
+
32
+ MathJax.Hub.Insert(TEXDEF,{
33
+ macros: {
34
+ mathring: ['Accent','2DA'], // or 0x30A
35
+
36
+ nobreakspace: 'Tilde',
37
+ negmedspace: ['Spacer',MML.LENGTH.NEGATIVEMEDIUMMATHSPACE],
38
+ negthickspace: ['Spacer',MML.LENGTH.NEGATIVETHICKMATHSPACE],
39
+
40
+ intI: ['Macro','\\mathchoice{\\!}{}{}{}\\!\\!\\int'],
41
+ // iint: ['MultiIntegral','\\int\\intI'], // now in core TeX input jax
42
+ // iiint: ['MultiIntegral','\\int\\intI\\intI'], // now in core TeX input jax
43
+ iiiint: ['MultiIntegral','\\int\\intI\\intI\\intI'],
44
+ idotsint: ['MultiIntegral','\\int\\cdots\\int'],
45
+
46
+ dddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}}',1],
47
+ ddddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}\\mathord{.}}',1],
48
+
49
+ sideset: ['Macro','\\mathop{\\mathop{\\rlap{\\phantom{#3}}}\\nolimits#1\\!\\mathop{#3}\\nolimits#2}',3],
50
+
51
+ boxed: ['Macro','\\fbox{$\\displaystyle{#1}$}',1],
52
+
53
+ tag: 'HandleTag',
54
+ notag: 'HandleNoTag',
55
+
56
+ substack: ['Macro','\\begin{subarray}{c}#1\\end{subarray}',1],
57
+
58
+ injlim: ['Macro','\\mathop{\\rm inj\\,lim}'],
59
+ projlim: ['Macro','\\mathop{\\rm proj\\,lim}'],
60
+ varliminf: ['Macro','\\mathop{\\underline{\\rm lim}}'],
61
+ varlimsup: ['Macro','\\mathop{\\overline{\\rm lim}}'],
62
+ varinjlim: ['Macro','\\mathop{\\underrightarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'],
63
+ varprojlim: ['Macro','\\mathop{\\underleftarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'],
64
+
65
+ DeclareMathOperator: 'HandleDeclareOp',
66
+ operatorname: 'HandleOperatorName',
67
+
68
+ genfrac: 'Genfrac',
69
+ frac: ['Genfrac',"","","",""],
70
+ tfrac: ['Genfrac',"","","",1],
71
+ dfrac: ['Genfrac',"","","",0],
72
+ binom: ['Genfrac',"(",")","0em",""],
73
+ tbinom: ['Genfrac',"(",")","0em",1],
74
+ dbinom: ['Genfrac',"(",")","0em",0],
75
+
76
+ cfrac: 'CFrac',
77
+
78
+ shoveleft: ['HandleShove',MML.ALIGN.LEFT],
79
+ shoveright: ['HandleShove',MML.ALIGN.RIGHT],
80
+
81
+ xrightarrow: ['xArrow',0x2192,5,6],
82
+ xleftarrow: ['xArrow',0x2190,7,3]
83
+ },
84
+
85
+ environment: {
86
+ align: ['AMSarray',null,true,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],
87
+ 'align*': ['AMSarray',null,false,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],
88
+ multline: ['Multline',null,true],
89
+ 'multline*': ['Multline',null,false],
90
+ split: ['AMSarray',null,false,false,'rl',COLS([5/18])],
91
+ gather: ['AMSarray',null,true,true, 'c'],
92
+ 'gather*': ['AMSarray',null,false,true, 'c'],
93
+
94
+ alignat: ['AlignAt',null,true,true],
95
+ 'alignat*': ['AlignAt',null,false,true],
96
+ alignedat: ['AlignAt',null,false,false],
97
+
98
+ aligned: ['Array',null,null,null,'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18]),".5em",'D'],
99
+ gathered: ['Array',null,null,null,'c',null,".5em",'D'],
100
+
101
+ subarray: ['Array',null,null,null,null,COLS([0,0,0,0]),"0.1em",'S',1],
102
+ smallmatrix: ['Array',null,null,null,'c',COLS([1/3]),".2em",'S',1]
103
+ },
104
+
105
+ delimiter: {
106
+ '\\lvert': ['2223',{texClass:MML.TEXCLASS.OPEN}],
107
+ '\\rvert': ['2223',{texClass:MML.TEXCLASS.CLOSE}],
108
+ '\\lVert': ['2225',{texClass:MML.TEXCLASS.OPEN}],
109
+ '\\rVert': ['2225',{texClass:MML.TEXCLASS.CLOSE}]
110
+ }
111
+ });
112
+
113
+
114
+ TEX.Parse.Augment({
115
+
116
+ /*
117
+ * Add the tag to the environment to be added to the table row later
118
+ */
119
+ HandleTag: function (name) {
120
+ var arg = this.trimSpaces(this.GetArgument(name));
121
+ if (arg === "*") {arg = this.GetArgument(name)} else {arg = "("+arg+")"}
122
+ if (this.stack.global.notag)
123
+ {TEX.Error(name+" not allowed in "+this.stack.global.notag+" environment")}
124
+ if (this.stack.global.tag) {TEX.Error("Multiple "+name)}
125
+ this.stack.global.tag = MML.mtd.apply(MML,this.InternalMath(arg));
126
+ },
127
+ HandleNoTag: function (name) {
128
+ if (this.stack.global.tag) {delete this.stack.global.tag}
129
+ },
130
+
131
+ /*
132
+ * Handle \DeclareMathOperator
133
+ */
134
+ HandleDeclareOp: function (name) {
135
+ var limits = "";
136
+ var cs = this.trimSpaces(this.GetArgument(name));
137
+ if (cs == "*") {
138
+ limits = "\\limits";
139
+ cs = this.trimSpaces(this.GetArgument(name));
140
+ }
141
+ if (cs.charAt(0) == "\\") {cs = cs.substr(1)}
142
+ var op = this.GetArgument(name);
143
+ op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
144
+ TEX.Definitions.macros[cs] = ['Macro','\\mathop{\\rm '+op+'}'+limits];
145
+ },
146
+
147
+ HandleOperatorName: function (name) {
148
+ var limits = "\\nolimits";
149
+ var op = this.trimSpaces(this.GetArgument(name));
150
+ if (op == "*") {
151
+ limits = "\\limits";
152
+ op = this.trimSpaces(this.GetArgument(name));
153
+ }
154
+ op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
155
+ this.string = '\\mathop{\\rm '+op+'}'+limits+" "+this.string.slice(this.i);
156
+ this.i = 0;
157
+ },
158
+
159
+ /*
160
+ * Record presence of \shoveleft and \shoveright
161
+ */
162
+ HandleShove: function (name,shove) {
163
+ var top = this.stack.Top();
164
+ if (top.type !== "multline" || top.data.length) {TEX.Error(name+" must come at the beginning of the line")}
165
+ top.data.shove = shove;
166
+ },
167
+
168
+ /*
169
+ * Handle \cfrac
170
+ */
171
+ CFrac: function (name) {
172
+ var lr = this.trimSpaces(this.GetBrackets(name)),
173
+ num = this.GetArgument(name),
174
+ den = this.GetArgument(name);
175
+ var frac = MML.mfrac(TEX.Parse('\\strut\\textstyle{'+num+'}',this.stack.env).mml(),
176
+ TEX.Parse('\\strut\\textstyle{'+den+'}',this.stack.env).mml());
177
+ lr = ({l:MML.ALIGN.LEFT, r:MML.ALIGN.RIGHT,"":""})[lr];
178
+ if (lr == null) {TEX.Error("Illegal alignment specified in "+name)}
179
+ if (lr) {frac.numalign = frac.denomalign = lr}
180
+ this.Push(frac);
181
+ },
182
+
183
+ /*
184
+ * Implement AMS generalized fraction
185
+ */
186
+ Genfrac: function (name,left,right,thick,style) {
187
+ if (left == null) {left = this.GetDelimiterArg(name)} else {left = this.convertDelimiter(left)}
188
+ if (right == null) {right = this.GetDelimiterArg(name)} else {right = this.convertDelimiter(right)}
189
+ if (thick == null) {thick = this.GetArgument(name)}
190
+ if (style == null) {style = this.trimSpaces(this.GetArgument(name))}
191
+ var num = this.ParseArg(name);
192
+ var den = this.ParseArg(name);
193
+ var frac = MML.mfrac(num,den);
194
+ if (thick !== "") {frac.linethickness = thick}
195
+ if (left || right) {frac = MML.mfenced(frac).With({open: left, close: right})}
196
+ if (style !== "") {
197
+ var STYLE = (["D","T","S","SS"])[style];
198
+ if (STYLE == null) {TEX.Error("Bad math style for "+name)}
199
+ frac = MML.mstyle(frac);
200
+ if (STYLE === "D") {frac.displaystyle = true; frac.scriptlevel = 0}
201
+ else {frac.displaystyle = false; frac.scriptlevel = style - 1}
202
+ }
203
+
204
+ this.Push(frac);
205
+ },
206
+
207
+ /*
208
+ * Implements multline environment (mostly handled through STACKITEM below)
209
+ */
210
+ Multline: function (begin,numbered) {
211
+ this.Push(begin);
212
+ return STACKITEM.multline().With({
213
+ arraydef: {
214
+ displaystyle: true,
215
+ rowspacing: ".5em",
216
+ width: TEX.config.MultLineWidth, columnwidth:"100%",
217
+ side: TEX.config.TagSide,
218
+ minlabelspacing: TEX.config.TagIndent
219
+ }
220
+ });
221
+ },
222
+
223
+ /*
224
+ * Handle AMS aligned environments
225
+ */
226
+ AMSarray: function (begin,numbered,taggable,align,spacing) {
227
+ this.Push(begin);
228
+ align = align.replace(/[^clr]/g,'').split('').join(' ');
229
+ align = align.replace(/l/g,'left').replace(/r/g,'right').replace(/c/g,'center');
230
+ return STACKITEM.AMSarray(begin.name,numbered,taggable,this.stack).With({
231
+ arraydef: {
232
+ displaystyle: true,
233
+ rowspacing: ".5em",
234
+ columnalign: align,
235
+ columnspacing: (spacing||"1em"),
236
+ rowspacing: "3pt",
237
+ side: TEX.config.TagSide,
238
+ minlabelspacing: TEX.config.TagIndent
239
+ }
240
+ });
241
+ },
242
+
243
+ AlignAt: function (begin,numbered,taggable) {
244
+ var n = this.GetArgument("\\begin{"+begin.name+"}");
245
+ if (n.match(/[^0-9]/)) {TEX.Error("Argument to \\begin{"+begin.name+"} must me a positive integer")}
246
+ align = ""; spacing = [];
247
+ while (n > 0) {align += "rl"; spacing.push("0em 0em"); n--}
248
+ spacing = spacing.join(" ");
249
+ if (taggable) {return this.AMSarray(begin,numbered,taggable,align,spacing)}
250
+ return this.Array(begin,null,null,align,spacing,".5em",'D');
251
+ },
252
+
253
+ /*
254
+ * Handle multiple integrals (make a mathop if followed by limits)
255
+ */
256
+ MultiIntegral: function (name,integral) {
257
+ var next = this.GetNext();
258
+ if (next === "\\") {
259
+ var i = this.i; next = this.GetArgument(name); this.i = i;
260
+ if (next === "\\limits") {
261
+ if (name === "\\idotsint") {integral = "\\!\\!\\mathop{\\,\\,"+integral+"}"}
262
+ else {integral = "\\!\\!\\!\\mathop{\\,\\,\\,"+integral+"}"}
263
+ }
264
+ }
265
+ this.string = integral + " " + this.string.slice(this.i);
266
+ this.i = 0;
267
+ },
268
+
269
+ xArrow: function (name,chr,l,r) {
270
+ var def = {width: "+"+(l+r)+"mu", lspace: l+"mu"};
271
+ var bot = this.GetBrackets(name),
272
+ top = this.ParseArg(name);
273
+ var arrow = MML.mo(MML.chars(String.fromCharCode(chr))).With({
274
+ stretchy: true, texClass: MML.TEXCLASS.REL
275
+ });
276
+ var mml = MML.munderover(arrow);
277
+ mml.SetData(mml.over,MML.mpadded(top).With(def).With({voffset:".15em"}));
278
+ if (bot) {
279
+ bot = TEX.Parse(bot,this.stack.env).mml()
280
+ mml.SetData(mml.under,MML.mpadded(bot).With(def).With({voffset:"-.24em"}));
281
+ }
282
+ this.Push(mml);
283
+ },
284
+
285
+ /*
286
+ * Get a delimiter or empty argument
287
+ */
288
+ GetDelimiterArg: function (name) {
289
+ var c = this.trimSpaces(this.GetArgument(name));
290
+ if (c == "") {return null}
291
+ if (!TEXDEF.delimiter[c]) {TEX.Error("Missing or unrecognized delimiter for "+name)}
292
+ return this.convertDelimiter(c);
293
+ }
294
+ });
295
+
296
+ /*
297
+ * Implement multline environment via a STACKITEM
298
+ */
299
+ STACKITEM.multline = STACKITEM.array.Subclass({
300
+ type: "multline",
301
+ EndEntry: function () {
302
+ var mtd = MML.mtd.apply(MML,this.data);
303
+ if (this.data.shove) {mtd.columnalign = this.data.shove}
304
+ this.row.push(mtd);
305
+ this.data = [];
306
+ },
307
+ EndRow: function () {
308
+ if (this.row.length != 1) {TEX.Error("multline rows must have exactly one column")}
309
+ this.table.push(this.row); this.row = [];
310
+ },
311
+ EndTable: function () {
312
+ this.SUPER(arguments).EndTable.call(this);
313
+ if (this.table.length) {
314
+ var m = this.table.length-1, i;
315
+ if (!this.table[0][0].columnalign) {this.table[0][0].columnalign = MML.ALIGN.LEFT}
316
+ if (!this.table[m][0].columnalign) {this.table[m][0].columnalign = MML.ALIGN.RIGHT}
317
+ var mtr = MML.mtr;
318
+ if (this.global.tag) {
319
+ this.table[0] = [this.global.tag].concat(this.table[0]);
320
+ delete this.global.tag; mtr = MML.mlabeledtr;
321
+ }
322
+ this.table[0] = mtr.apply(MML,this.table[0]);
323
+ for (i = 1, m = this.table.length; i < m; i++)
324
+ {this.table[i] = MML.mtr.apply(MML,this.table[i])}
325
+ }
326
+ }
327
+ });
328
+
329
+ STACKITEM.AMSarray = STACKITEM.array.Subclass({
330
+ type: "AMSarray",
331
+ Init: function (name,numbered,taggable,stack) {
332
+ this.SUPER(arguments).Init.apply(this);
333
+ this.numbered = numbered;
334
+ this.save_notag = stack.global.notag;
335
+ stack.global.notag = (taggable ? null : name);
336
+ },
337
+ EndRow: function () {
338
+ var mtr = MML.mtr;
339
+ if (this.global.tag) {
340
+ this.row = [this.global.tag].concat(this.row);
341
+ mtr = MML.mlabeledtr;
342
+ delete this.global.tag;
343
+ }
344
+ this.table.push(mtr.apply(MML,this.row)); this.row = [];
345
+ },
346
+ EndTable: function () {
347
+ this.SUPER(arguments).EndTable.call(this);
348
+ this.global.notag = this.save_notag;
349
+ }
350
+ });
351
+
352
+ //
353
+ // Look for \tag on a formula and make an mtable to include it
354
+ //
355
+ STACKITEM.start.Augment({
356
+ oldCheckItem: STACKITEM.start.prototype.checkItem,
357
+ checkItem: function (item) {
358
+ if (item.type === "stop") {
359
+ var mml = this.mmlData();
360
+ if (this.global.tag) {
361
+ mml = MML.mtable(MML.mlabeledtr(this.global.tag,MML.mtd(mml)));
362
+ mml.side = TEX.config.TagSide;
363
+ mml.minlabelspacing = TEX.config.TagIndent;
364
+ delete this.global.tag;
365
+ }
366
+ return STACKITEM.mml(mml);
367
+ }
368
+ return this.SUPER(arguments).checkItem.call(this,item);
369
+ }
370
+ });
371
+
372
+ MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready");
373
+
374
+ });
375
+
376
+ MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js");
@@ -0,0 +1,385 @@
1
+ /*************************************************************
2
+ *
3
+ * MathJax/extensions/TeX/AMSsymbols.js
4
+ *
5
+ * Implements macros for accessing the AMS symbol fonts.
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
+ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
24
+ var MML = MathJax.ElementJax.mml;
25
+
26
+ MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions,{
27
+
28
+ mathchar0mi: {
29
+ // Lowercase Greek letters
30
+ digamma: '03DD',
31
+ varkappa: '03F0',
32
+
33
+ // Uppercase Greek letters
34
+ varGamma: ['0393',{mathvariant: MML.VARIANT.ITALIC}],
35
+ varDelta: ['0394',{mathvariant: MML.VARIANT.ITALIC}],
36
+ varTheta: ['0398',{mathvariant: MML.VARIANT.ITALIC}],
37
+ varLambda: ['039B',{mathvariant: MML.VARIANT.ITALIC}],
38
+ varXi: ['039E',{mathvariant: MML.VARIANT.ITALIC}],
39
+ varPi: ['03A0',{mathvariant: MML.VARIANT.ITALIC}],
40
+ varSigma: ['03A3',{mathvariant: MML.VARIANT.ITALIC}],
41
+ varUpsilon: ['03A5',{mathvariant: MML.VARIANT.ITALIC}],
42
+ varPhi: ['03A6',{mathvariant: MML.VARIANT.ITALIC}],
43
+ varPsi: ['03A8',{mathvariant: MML.VARIANT.ITALIC}],
44
+ varOmega: ['03A9',{mathvariant: MML.VARIANT.ITALIC}],
45
+
46
+ // Hebrew letters
47
+ beth: '2136',
48
+ gimel: '2137',
49
+ daleth: '2138',
50
+
51
+ // Miscellaneous symbols
52
+ // hbar: '0127', // in MathJax_Main
53
+ backprime: ['2035',{variantForm: true}],
54
+ hslash: ['210F',{variantForm: true}],
55
+ varnothing: ['2205',{variantForm: true}],
56
+ blacktriangle: '25B2',
57
+ triangledown: '25BD',
58
+ blacktriangledown: '25BC',
59
+ square: '25A1',
60
+ Box: '25A1',
61
+ blacksquare: '25A0',
62
+ lozenge: '25CA',
63
+ Diamond: '25CA',
64
+ blacklozenge: '29EB',
65
+ circledS: ['24C8',{mathvariant: MML.VARIANT.NORMAL}],
66
+ bigstar: '2605',
67
+ // angle: '2220', // in MathJax_Main
68
+ sphericalangle: '2222',
69
+ measuredangle: '2221',
70
+ nexists: '2204',
71
+ complement: '2201',
72
+ mho: '2127',
73
+ eth: ['00F0',{mathvariant: MML.VARIANT.NORMAL}],
74
+ Finv: '2132',
75
+ diagup: '2571',
76
+ Game: '2141',
77
+ diagdown: '2572',
78
+ Bbbk: ['006B',{mathvariant: MML.VARIANT.DOUBLESTRUCK}],
79
+
80
+ yen: '00A5',
81
+ circledR: '00AE',
82
+ checkmark: '2713',
83
+ maltese: '2720'
84
+ },
85
+
86
+ mathchar0mo: {
87
+ // Binary operators
88
+ dotplus: '2214',
89
+ ltimes: '22C9',
90
+ smallsetminus: ['2216',{variantForm: true}],
91
+ rtimes: '22CA',
92
+ Cap: '22D2',
93
+ doublecap: '22D2',
94
+ leftthreetimes: '22CB',
95
+ Cup: '22D3',
96
+ doublecup: '22D3',
97
+ rightthreetimes: '22CC',
98
+ barwedge: '22BC',
99
+ curlywedge: '22CF',
100
+ veebar: '22BB',
101
+ curlyvee: '22CE',
102
+ doublebarwedge: '2A5E',
103
+ boxminus: '229F',
104
+ circleddash: '229D',
105
+ boxtimes: '22A0',
106
+ circledast: '229B',
107
+ boxdot: '22A1',
108
+ circledcirc: '229A',
109
+ boxplus: '229E',
110
+ centerdot: '22C5',
111
+ divideontimes: '22C7',
112
+ intercal: '22BA',
113
+
114
+ // Binary relations
115
+ leqq: '2266',
116
+ geqq: '2267',
117
+ leqslant: '2A7D',
118
+ geqslant: '2A7E',
119
+ eqslantless: '2A95',
120
+ eqslantgtr: '2A96',
121
+ lesssim: '2272',
122
+ gtrsim: '2273',
123
+ lessapprox: '2A85',
124
+ gtrapprox: '2A86',
125
+ approxeq: '224A',
126
+ lessdot: '22D6',
127
+ gtrdot: '22D7',
128
+ lll: '22D8',
129
+ llless: '22D8',
130
+ ggg: '22D9',
131
+ gggtr: '22D9',
132
+ lessgtr: '2276',
133
+ gtrless: '2277',
134
+ lesseqgtr: '22DA',
135
+ gtreqless: '22DB',
136
+ lesseqqgtr: '2A8B',
137
+ gtreqqless: '2A8C',
138
+ doteqdot: '2251',
139
+ Doteq: '2251',
140
+ eqcirc: '2256',
141
+ risingdotseq: '2253',
142
+ circeq: '2257',
143
+ fallingdotseq: '2252',
144
+ triangleq: '225C',
145
+ backsim: '223D',
146
+ thicksim: ['223C',{variantForm: true}],
147
+ backsimeq: '22CD',
148
+ thickapprox: '2248',
149
+ subseteqq: '2AC5',
150
+ supseteqq: '2AC6',
151
+ Subset: '22D0',
152
+ Supset: '22D1',
153
+ sqsubset: '228F',
154
+ sqsupset: '2290',
155
+ preccurlyeq: '227C',
156
+ succcurlyeq: '227D',
157
+ curlyeqprec: '22DE',
158
+ curlyeqsucc: '22DF',
159
+ precsim: '227E',
160
+ succsim: '227F',
161
+ precapprox: '2AB7',
162
+ succapprox: '2AB8',
163
+ vartriangleleft: '22B2',
164
+ lhd: '22B2',
165
+ vartriangleright: '22B3',
166
+ rhd: '22B3',
167
+ trianglelefteq: '22B4',
168
+ unlhd: '22B4',
169
+ trianglerighteq: '22B5',
170
+ unrhd: '22B5',
171
+ vDash: '22A8',
172
+ Vdash: '22A9',
173
+ Vvdash: '22AA',
174
+ smallsmile: '2323',
175
+ shortmid: ['2223',{variantForm: true}],
176
+ smallfrown: '2322',
177
+ shortparallel: ['2225',{variantForm: true}],
178
+ bumpeq: '224F',
179
+ between: '226C',
180
+ Bumpeq: '224E',
181
+ pitchfork: '22D4',
182
+ varpropto: '221D',
183
+ backepsilon: '220D',
184
+ blacktriangleleft: '25C0',
185
+ blacktriangleright: '25B6',
186
+ therefore: '2234',
187
+ because: '2235',
188
+ eqsim: '2242',
189
+ vartriangle: ['25B3',{variantForm: true}],
190
+ Join: '22C8',
191
+
192
+ // Negated relations
193
+ nless: '226E',
194
+ ngtr: '226F',
195
+ nleq: '2270',
196
+ ngeq: '2271',
197
+ nleqslant: ['2A87',{variantForm: true}],
198
+ ngeqslant: ['2A88',{variantForm: true}],
199
+ nleqq: ['2270',{variantForm: true}],
200
+ ngeqq: ['2271',{variantForm: true}],
201
+ lneq: '2A87',
202
+ gneq: '2A88',
203
+ lneqq: '2268',
204
+ gneqq: '2269',
205
+ lvertneqq: ['2268',{variantForm: true}],
206
+ gvertneqq: ['2269',{variantForm: true}],
207
+ lnsim: '22E6',
208
+ gnsim: '22E7',
209
+ lnapprox: '2A89',
210
+ gnapprox: '2A8A',
211
+ nprec: '2280',
212
+ nsucc: '2281',
213
+ npreceq: ['22E0',{variantForm: true}],
214
+ nsucceq: ['22E1',{variantForm: true}],
215
+ precneqq: '2AB5',
216
+ succneqq: '2AB6',
217
+ precnsim: '22E8',
218
+ succnsim: '22E9',
219
+ precnapprox: '2AB9',
220
+ succnapprox: '2ABA',
221
+ nsim: '2241',
222
+ ncong: '2246',
223
+ nshortmid: ['2224',{variantForm: true}],
224
+ nshortparallel: ['2226',{variantForm: true}],
225
+ nmid: '2224',
226
+ nparallel: '2226',
227
+ nvdash: '22AC',
228
+ nvDash: '22AD',
229
+ nVdash: '22AE',
230
+ nVDash: '22AF',
231
+ ntriangleleft: '22EA',
232
+ ntriangleright: '22EB',
233
+ ntrianglelefteq: '22EC',
234
+ ntrianglerighteq: '22ED',
235
+ nsubseteq: '2288',
236
+ nsupseteq: '2289',
237
+ nsubseteqq: ['2288',{variantForm: true}],
238
+ nsupseteqq: ['2289',{variantForm: true}],
239
+ subsetneq: '228A',
240
+ supsetneq: '228B',
241
+ varsubsetneq: ['228A',{variantForm: true}],
242
+ varsupsetneq: ['228B',{variantForm: true}],
243
+ subsetneqq: '2ACB',
244
+ supsetneqq: '2ACC',
245
+ varsubsetneqq: ['2ACB',{variantForm: true}],
246
+ varsupsetneqq: ['2ACC',{variantForm: true}],
247
+
248
+
249
+ // Arrows
250
+ leftleftarrows: '21C7',
251
+ rightrightarrows: '21C9',
252
+ leftrightarrows: '21C6',
253
+ rightleftarrows: '21C4',
254
+ Lleftarrow: '21DA',
255
+ Rrightarrow: '21DB',
256
+ twoheadleftarrow: '219E',
257
+ twoheadrightarrow: '21A0',
258
+ leftarrowtail: '21A2',
259
+ rightarrowtail: '21A3',
260
+ looparrowleft: '21AB',
261
+ looparrowright: '21AC',
262
+ leftrightharpoons: '21CB',
263
+ rightleftharpoons: ['21CC',{variantForm: true}],
264
+ curvearrowleft: '21B6',
265
+ curvearrowright: '21B7',
266
+ circlearrowleft: '21BA',
267
+ circlearrowright: '21BB',
268
+ Lsh: '21B0',
269
+ Rsh: '21B1',
270
+ upuparrows: '21C8',
271
+ downdownarrows: '21CA',
272
+ upharpoonleft: '21BF',
273
+ upharpoonright: '21BE',
274
+ downharpoonleft: '21C3',
275
+ restriction: '21BE',
276
+ multimap: '22B8',
277
+ downharpoonright: '21C2',
278
+ leftrightsquigarrow: '21AD',
279
+ rightsquigarrow: '21DD',
280
+ leadsto: '21DD',
281
+ dashrightarrow: '21E2',
282
+ dashleftarrow: '21E0',
283
+
284
+ // Negated arrows
285
+ nleftarrow: '219A',
286
+ nrightarrow: '219B',
287
+ nLeftarrow: '21CD',
288
+ nRightarrow: '21CF',
289
+ nleftrightarrow: '21AE',
290
+ nLeftrightarrow: '21CE'
291
+ },
292
+
293
+ delimiter: {
294
+ // corners
295
+ "\\ulcorner": '250C',
296
+ "\\urcorner": '2510',
297
+ "\\llcorner": '2514',
298
+ "\\lrcorner": '2518'
299
+ },
300
+
301
+ macros: {
302
+ implies: ['Macro','\\;\\Longrightarrow\\;'],
303
+ impliedby: ['Macro','\\;\\Longleftarrow\\;']
304
+ }
305
+
306
+ });
307
+
308
+ var REL = MML.mo.OPTYPES.REL;
309
+
310
+ MathJax.Hub.Insert(MML.mo.prototype,{
311
+ OPTABLE: {
312
+ infix: {
313
+ '\u2322': REL, // smallfrown
314
+ '\u2323': REL, // smallsmile
315
+ '\u25B3': REL, // vartriangle
316
+ '\uE006': REL, // nshortmid
317
+ '\uE007': REL, // nshortparallel
318
+ '\uE00C': REL, // lvertneqq
319
+ '\uE00D': REL, // gvertneqq
320
+ '\uE00E': REL, // ngeqq
321
+ '\uE00F': REL, // ngeqslant
322
+ '\uE010': REL, // nleqslant
323
+ '\uE011': REL, // nleqq
324
+ '\uE016': REL, // nsubseteqq
325
+ '\uE017': REL, // varsubsetneqq
326
+ '\uE018': REL, // nsupseteqq
327
+ '\uE019': REL, // varsupsetneqq
328
+ '\uE01A': REL, // varsubsetneq
329
+ '\uE01B': REL, // varsupsetneq
330
+ '\uE04B': REL, // npreceq
331
+ '\uE04F': REL // nsucceq
332
+ }
333
+ }
334
+ });
335
+
336
+ if (MathJax.Hub.Browser.isMSIE) {
337
+ MathJax.InputJax.TeX.Definitions.mathchar0mi.digamma = ['03DC',{variantForm: true}];
338
+ MathJax.InputJax.TeX.Definitions.mathchar0mi.varkappa = ['03F0',{variantForm: true}];
339
+ }
340
+ });
341
+
342
+ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
343
+ var HTMLCSS = MathJax.OutputJax["HTML-CSS"];
344
+ var TEXDEF = MathJax.InputJax.TeX.Definitions;
345
+ var VARIANT = HTMLCSS.FONTDATA.VARIANT;
346
+ if (HTMLCSS.fontInUse === "TeX") {
347
+ VARIANT["-TeX-variant"] = {
348
+ fonts: ["MathJax_AMS","MathJax_Main","MathJax_Size1"],
349
+ remap: {0x2268: 0xE00C, 0x2269: 0xE00D, 0x2270: 0xE011, 0x2271: 0xE00E,
350
+ 0x2A87: 0xE010, 0x2A88: 0xE00F, 0x2224: 0xE006, 0x2226: 0xE007,
351
+ 0x2288: 0xE016, 0x2289: 0xE018, 0x228A: 0xE01A, 0x228B: 0xE01B,
352
+ 0x2ACB: 0xE017, 0x2ACC: 0xE019, 0x03DC: 0xE008, 0x03F0: 0xE009}
353
+ };
354
+ if (HTMLCSS.msieIE6) {
355
+ MathJax.Hub.Insert(VARIANT["-TeX-variant"].remap,{
356
+ 0x2190:[0xE2C1,"-WinIE6"], 0x2192:[0xE2C0,"-WinIE6"],
357
+ 0x2223:[0xE2C2,"-WinIE6"], 0x2225:[0xE2C3,"-WinIE6"],
358
+ 0x223C:[0xE2C4,"-WinIE6"], 0x25B3:[0xE2D3,"-WinIE6"]
359
+ });
360
+ }
361
+ }
362
+ if (HTMLCSS.fontInUse === "STIX") {
363
+ TEXDEF.mathchar0mi.varnothing = '2205';
364
+ TEXDEF.mathchar0mi.hslash = '210F';
365
+ TEXDEF.mathchar0mi.blacktriangle = '25B4';
366
+ TEXDEF.mathchar0mi.blacktriangledown = '25BE';
367
+ TEXDEF.mathchar0mi.square = '25FB';
368
+ TEXDEF.mathchar0mi.blacksquare = '25FC';
369
+ TEXDEF.mathchar0mi.vartriangle = ['25B3',{mathsize:"71%"}];
370
+ TEXDEF.mathchar0mi.triangledown = ['25BD',{mathsize:"71%"}];
371
+ TEXDEF.mathchar0mo.blacktriangleleft = '25C2';
372
+ TEXDEF.mathchar0mo.blacktriangleright = '25B8';
373
+ TEXDEF.mathchar0mo.smallsetminus = '2216';
374
+ MathJax.Hub.Insert(VARIANT["-STIX-variant"],{
375
+ remap: {0x2A87: 0xE010, 0x2A88: 0xE00F, 0x2270: 0xE011, 0x2271: 0xE00E,
376
+ 0x22E0: 0xE04B, 0x22E1: 0xE04F, 0x2288: 0xE016, 0x2289: 0xE018}
377
+ });
378
+ }
379
+
380
+ MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready");
381
+
382
+ });
383
+
384
+
385
+ MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js");