Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' into code_with_multibyte

Conflicts:
	lib/gollum/markup.rb
	test/test_markup.rb
  • Loading branch information...
commit eed9b2695a55555a28a35f4750f7ece905e0dfb1 2 parents 5b84ecf + 337a9b1
@atmos atmos authored
Showing with 125 additions and 5,954 deletions.
  1. +0 −1  Gemfile
  2. +0 −3  README.md
  3. +2 −2 gollum.gemspec
  4. +1 −0  lib/gollum.rb
  5. +7 −1 lib/gollum/frontend/app.rb
  6. +12 −16 lib/gollum/frontend/public/css/gollum.css
  7. +103 −38 lib/gollum/frontend/public/css/template.css
  8. +0 −43 lib/gollum/frontend/public/javascript/MathJax/MathJax.js
  9. +0 −18 lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js
  10. +0 −590 lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js
  11. +0 −37 lib/gollum/frontend/public/javascript/MathJax/config/local/local.js
  12. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/FontWarnings.js
  13. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/MathMenu.js
  14. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/MathZoom.js
  15. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js
  16. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js
  17. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js
  18. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js
  19. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js
  20. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js
  21. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js
  22. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js
  23. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js
  24. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js
  25. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js
  26. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js
  27. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js
  28. +0 −18 lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js
  29. +0 −19 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js
  30. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js
  31. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js
  32. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js
  33. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js
  34. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js
  35. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js
  36. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js
  37. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js
  38. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js
  39. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js
  40. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js
  41. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js
  42. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js
  43. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js
  44. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js
  45. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js
  46. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js
  47. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js
  48. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js
  49. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js
  50. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js
  51. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js
  52. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js
  53. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js
  54. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js
  55. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js
  56. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js
  57. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js
  58. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js
  59. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js
  60. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js
  61. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js
  62. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js
  63. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js
  64. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js
  65. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js
  66. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js
  67. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js
  68. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js
  69. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js
  70. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js
  71. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js
  72. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js
  73. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js
  74. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js
  75. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js
  76. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js
  77. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js
  78. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js
  79. +0 −19 lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js
  80. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/maction.js
  81. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js
  82. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js
  83. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js
  84. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js
  85. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mtable.js
  86. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/multiline.js
  87. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js
  88. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js
  89. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js
  90. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js
  91. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js
  92. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js
  93. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js
  94. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js
  95. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js
  96. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js
  97. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js
  98. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js
  99. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js
  100. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js
  101. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js
  102. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js
  103. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js
  104. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js
  105. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js
  106. +0 −18 ...m/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js
  107. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js
  108. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js
  109. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js
  110. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js
  111. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js
  112. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js
  113. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js
  114. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js
  115. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js
  116. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js
  117. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js
  118. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js
  119. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js
  120. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js
  121. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js
  122. +0 −18 ...m/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js
  123. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js
  124. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js
  125. +0 −18 ...frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js
  126. +0 −18 ...lum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js
  127. +0 −18 ...lum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js
  128. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js
  129. +0 −18 ...um/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js
  130. +0 −18 .../frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js
  131. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js
  132. +0 −18 ...lum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js
  133. +0 −18 ...m/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js
  134. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js
  135. +0 −18 ...um/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js
  136. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js
  137. +0 −18 ...tend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js
  138. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js
  139. +0 −18 ...m/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js
  140. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js
  141. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js
  142. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js
  143. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js
  144. +0 −18 ...um/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js
  145. +0 −18 ...m/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js
  146. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js
  147. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js
  148. +0 −18 ...lum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js
  149. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js
  150. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js
  151. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js
  152. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js
  153. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js
  154. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js
  155. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js
  156. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js
  157. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js
  158. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js
  159. +0 −18 ...frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js
  160. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js
  161. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js
  162. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js
  163. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js
  164. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js
  165. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js
  166. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js
  167. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js
  168. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js
  169. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js
  170. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js
  171. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js
  172. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js
  173. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js
  174. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js
  175. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js
  176. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js
  177. +0 −18 ...um/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js
  178. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js
  179. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js
  180. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js
  181. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js
  182. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js
  183. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js
  184. +0 −18 ...lum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js
  185. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js
  186. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js
  187. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js
  188. +0 −18 ...gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js
  189. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js
  190. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js
  191. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js
  192. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js
  193. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js
  194. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js
  195. +0 −18 ...rontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js
  196. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js
  197. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js
  198. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js
  199. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js
  200. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js
  201. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js
  202. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js
  203. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js
  204. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js
  205. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js
  206. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js
  207. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js
  208. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js
  209. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js
  210. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js
  211. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js
  212. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js
  213. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js
  214. +0 −18 ...m/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js
  215. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js
  216. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js
  217. +0 −18 ...lum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js
  218. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js
  219. +0 −18 ...lum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js
  220. +0 −18 ...llum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js
  221. +0 −18 ...um/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js
  222. +0 −18 ...um/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js
  223. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js
  224. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js
  225. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js
  226. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js
  227. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js
  228. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js
  229. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js
  230. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js
  231. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js
  232. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js
  233. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js
  234. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js
  235. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js
  236. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js
  237. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js
  238. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js
  239. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js
  240. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js
  241. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js
  242. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js
  243. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js
  244. +0 −18 ...ollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js
  245. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js
  246. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js
  247. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js
  248. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js
  249. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js
  250. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js
  251. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js
  252. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js
  253. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js
  254. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js
  255. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js
  256. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js
  257. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js
  258. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js
  259. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js
  260. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js
  261. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js
  262. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js
  263. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js
  264. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js
  265. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js
  266. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js
  267. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js
  268. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js
  269. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js
  270. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js
  271. +0 −19 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js
  272. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js
  273. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js
  274. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js
  275. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js
  276. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js
  277. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js
  278. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js
  279. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js
  280. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js
  281. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js
  282. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js
  283. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js
  284. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js
  285. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js
  286. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js
  287. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js
  288. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js
  289. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js
  290. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js
  291. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js
  292. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js
  293. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js
  294. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js
  295. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js
  296. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js
  297. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js
  298. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js
  299. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js
  300. +0 −18 lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js
Sorry, we could not display the entire diff because too many files (395) changed.
View
1  Gemfile
@@ -2,4 +2,3 @@ source "http://rubygems.org"
gemspec
gem "rake", "~> 0.9.2"
-gem "grit", :git => "git://github.com/mojombo/grit.git"
View
3  README.md
@@ -320,9 +320,6 @@ inline with regular text. For example:
The Pythagorean theorem is \( a^2 + b^2 = c^2 \).
-Gollum uses [MathJax](http://www.mathjax.org/) to convert the TeX syntax into
-output suitable for display in web browsers.
-
## API DOCUMENTATION
View
4 gollum.gemspec
@@ -23,8 +23,9 @@ Gem::Specification.new do |s|
s.extra_rdoc_files = %w[README.md LICENSE]
s.add_dependency('grit', "~> 2.4.1")
- s.add_dependency('github-markup', [">= 0.4.0", "< 1.0.0"])
+ s.add_dependency('github-markup', [">= 0.7.0", "< 1.0.0"])
s.add_dependency('pygments.rb', "~> 0.2.0")
+ s.add_dependency('posix-spawn', "~> 0.3.0")
s.add_dependency('sinatra', "~> 1.0")
s.add_dependency('mustache', [">= 0.11.2", "< 1.0.0"])
s.add_dependency('sanitize', "~> 2.0.0")
@@ -34,7 +35,6 @@ Gem::Specification.new do |s|
s.add_development_dependency('RedCloth')
s.add_development_dependency('mocha')
s.add_development_dependency('org-ruby')
- s.add_development_dependency('rdiscount')
s.add_development_dependency('shoulda')
s.add_development_dependency('rack-test')
s.add_development_dependency('wikicloth', '~> 0.6.3')
View
1  lib/gollum.rb
@@ -17,6 +17,7 @@
require File.expand_path('../gollum/file', __FILE__)
require File.expand_path('../gollum/markup', __FILE__)
require File.expand_path('../gollum/sanitization', __FILE__)
+require File.expand_path('../gollum/tex', __FILE__)
module Gollum
VERSION = '1.3.1'
View
8 lib/gollum/frontend/app.rb
@@ -144,6 +144,12 @@ class App < Sinatra::Base
mustache :compare
end
+ get '/_tex.png' do
+ content_type 'image/png'
+ formula = Base64.decode64(params[:data])
+ Gollum::Tex.render_formula(formula)
+ end
+
get %r{^/(javascript|css|images)} do
halt 404
end
@@ -199,7 +205,7 @@ def show_page_or_file(name)
end
def update_wiki_page(wiki, page, content, commit_message, name = nil, format = nil)
- return if !page ||
+ return if !page ||
((!content || page.raw_data == content) && page.format == format)
name ||= page.name
format = (format || page.format).to_sym
View
28 lib/gollum/frontend/public/css/gollum.css
@@ -1,3 +1,10 @@
+#wiki-wrapper #template blockquote {
+ margin: 1em 0;
+ border-left: 4px solid #ddd;
+ padding-left: .8em;
+ color: #555;
+}
+
/*
gollum.css
A basic stylesheet for Gollum
@@ -6,7 +13,7 @@
/* @section core */
body, html {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 10px; /* -> 1em */
+ font-size: 10px;
margin: 0;
padding: 0;
}
@@ -30,18 +37,13 @@ a:hover, a:visited {
/* @section head */
#head {
- border-bottom: 1px solid #ccc;
margin: 4.5em 0 0.5em;
padding: 0.5em 0;
overflow: hidden;
}
#head h1 {
- font-size: 3.3em;
- float: left;
- line-height: normal;
- margin: 0;
- padding: 0.08em 0 0 0;
+ display: none;
}
#head ul.actions {
@@ -206,12 +208,11 @@ a:hover, a:visited {
/* @section page-footer */
.page #footer {
- border-top: 1px solid #ccc;
margin: 1em 0 7em;
}
#footer p#last-edit {
- font-size: 1.2em;
+ font-size: .9em;
line-height: 1.6em;
color: #999;
margin: 0.9em 0;
@@ -647,18 +648,13 @@ ul.actions {
text-indent: -5000px;
width: 28px;
}
-
+
.ff #head #searchbar #searchbar-fauxtext #search-submit span,
.ie #head #searchbar #searchbar-fauxtext #search-submit span {
height: 2.2em;
}
-
+
#head #searchbar #searchbar-fauxtext #search-submit:hover span {
background-position: -431px -28px;
padding: 0;
}
-
-
-#MathJax_Message {
- display: none;
-}
View
141 lib/gollum/frontend/public/css/template.css
@@ -2,9 +2,29 @@
Gollum v3 Template
*/
+/* margin & padding reset*/
+* {
+ margin: 0;
+ padding: 0;
+}
+
+
+html, body {
+ color: black;
+}
+
+body {
+ font: 13.34px helvetica,arial,freesans,clean,sans-serif;
+ line-height: 1.4;
+}
+
+img {
+ border: 0;
+}
+
#template {
- font-size: 13px;
- line-height: 23px;
+ font-size: 14px;
+ line-height: 1.4;
margin-bottom: 40px;
}
@@ -15,7 +35,7 @@ a.absent {
/* Primary Body Copy */
#template p {
- margin: 16px 0 0;
+ margin: 1em 0;
padding: 0;
}
@@ -32,15 +52,14 @@ a.absent {
}
#template h1 {
- border-top: 4px solid #ccc;
- font-size: 32px;
+ border-bottom: 1px solid #ccc;
+ font-size: 33px; /* was 32, GH is 33px */
line-height: normal;
- padding: 10px 0 0;
- margin: 30px 0 0;
+ padding: .08em 0 0 0;
+ margin: 0;
}
#template h2 {
- border-top: 4px solid #ccc;
font-size: 22px;
line-height: normal;
margin: 22px 0 0;
@@ -91,7 +110,6 @@ a.absent {
/* Border Reset for headers with horizontal rules */
#template > h2:first-child,
#template > h1:first-child {
- border: 0;
margin: 12px 0 0;
padding: 10px 0 0;
}
@@ -100,19 +118,21 @@ a.absent {
/* Lists, Blockquotes & Such */
#template ul,
#template ol {
- margin: 0;
- padding: 20px 0 0;
- list-style-position: inside;
+ margin-top: 1.5em;
+ margin-left: 2.6em;
}
/* Nested Lists */
+ #template ul li,
+ #template ol li,
#template ul li ul,
#template ol li ol,
#template ul li ol,
#template ol li ul,
#template ul ul,
#template ol ol {
- padding: 0 0 0 14px;
+ padding: 0;
+ margin: .5em 0;
}
#template dl {
@@ -266,7 +286,7 @@ a.absent {
background-color: #f8f8f8;
border: 1px solid #dedede;
font-size: 13px;
- padding: 1px 5px;
+ padding: 0;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
@@ -279,38 +299,83 @@ a.absent {
font-size: 13px;
line-height: 19px;
overflow: auto;
- padding: 6px;
+ padding: 6px 10px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
+pre, code {
+ font: 12px 'Bitstream Vera Sans Mono','Courier',monospace
+}
+
#template pre code, #template pre tt {
background-color: transparent;
border: none;
}
-#template .highlight { background: #ffffff; }
-#template .highlight .c { color: #999988; font-style: italic }
-#template .highlight .err { color: #a61717; background-color: #e3d2d2 }
-#template .highlight .k { font-weight: bold }
-#template .highlight .o { font-weight: bold }
-#template .highlight .cm { color: #999988; font-style: italic }
-#template .highlight .cp { color: #999999; font-weight: bold }
-#template .highlight .c1 { color: #999988; font-style: italic }
-#template .highlight .cs { color: #999999; font-weight: bold; font-style: italic }
-#template .highlight .gd { color: #000000; background-color: #ffdddd }
-#template .highlight .gd .x { color: #000000; background-color: #ffaaaa }
-#template .highlight .ge { font-style: italic }
-#template .highlight .gr { color: #aa0000 }
-#template .highlight .gh { color: #999999 }
-#template .highlight .gi { color: #000000; background-color: #ddffdd }
-#template .highlight .gi .x { color: #000000; background-color: #aaffaa }
-#template .highlight .gc { color: #999; background-color: #EAF2F5 }
-#template .highlight .go { color: #888888 }
-#template .highlight .gp { color: #555555 }
-#template .highlight .gs { font-weight: bold }
-#template .highlight .gu { color: #aaaaaa }
-#template .highlight .gt { color: #aa0000 }
-
+/*
+ Highlight rules from pull req 191
+ https://github.com/eboto/gollum/commit/5df09477abf4a04c82c7fcaa2bd7ee2a85e7ec82
+*/
+#template .highlight { background:#fff; }
+#template .highlight .c { color:#998;font-style:italic; }
+#template .highlight .err { color:#a61717;background-color:#e3d2d2; }
+#template .highlight .k { font-weight:bold; }
+#template .highlight .o { font-weight:bold; }
+#template .highlight .cm { color:#998;font-style:italic; }
+#template .highlight .cp { color:#999;font-weight:bold; }
+#template .highlight .c1 { color:#998;font-style:italic; }
+#template .highlight .cs { color:#999;font-weight:bold;font-style:italic; }
+#template .highlight .gd { color:#000;background-color:#fdd; }
+#template .highlight .gd .x { color:#000;background-color:#faa; }
+#template .highlight .ge { font-style:italic; }
+#template .highlight .gr { color:#a00; }
+#template .highlight .gh { color:#999; }
+#template .highlight .gi { color:#000;background-color:#dfd; }
+#template .highlight .gi .x { color:#000;background-color:#afa; }
+#template .highlight .go { color:#888; }
+#template .highlight .gp { color:#555; }
+#template .highlight .gs { font-weight:bold; }
+#template .highlight .gu { color:#800080;font-weight:bold; }
+#template .highlight .gt { color:#a00; }
+#template .highlight .kc { font-weight:bold; }
+#template .highlight .kd { font-weight:bold; }
+#template .highlight .kp { font-weight:bold; }
+#template .highlight .kr { font-weight:bold; }
+#template .highlight .kt { color:#458;font-weight:bold; }
+#template .highlight .m { color:#099; }
+#template .highlight .s { color:#d14; }
+#template .highlight .na { color:#008080; }
+#template .highlight .nb { color:#0086B3; }
+#template .highlight .nc { color:#458;font-weight:bold; }
+#template .highlight .no { color:#008080; }
+#template .highlight .ni { color:#800080; }
+#template .highlight .ne { color:#900;font-weight:bold; }
+#template .highlight .nf { color:#900;font-weight:bold; }
+#template .highlight .nn { color:#555; }
+#template .highlight .nt { color:#000080; }
+#template .highlight .nv { color:#008080; }
+#template .highlight .ow { font-weight:bold; }
+#template .highlight .w { color:#bbb; }
+#template .highlight .mf { color:#099; }
+#template .highlight .mh { color:#099; }
+#template .highlight .mi { color:#099; }
+#template .highlight .mo { color:#099; }
+#template .highlight .sb { color:#d14; }
+#template .highlight .sc { color:#d14; }
+#template .highlight .sd { color:#d14; }
+#template .highlight .s2 { color:#d14; }
+#template .highlight .se { color:#d14; }
+#template .highlight .sh { color:#d14; }
+#template .highlight .si { color:#d14; }
+#template .highlight .sx { color:#d14; }
+#template .highlight .sr { color:#009926; }
+#template .highlight .s1 { color:#d14; }
+#template .highlight .ss { color:#990073; }
+#template .highlight .bp { color:#999; }
+#template .highlight .vc { color:#008080; }
+#template .highlight .vg { color:#008080; }
+#template .highlight .vi { color:#008080; }
+#template .highlight .il { color:#099; }
View
43 lib/gollum/frontend/public/javascript/MathJax/MathJax.js
@@ -1,43 +0,0 @@
-/*************************************************************
- *
- * MathJax.js
- *
- * The main code for the MathJax math-typesetting library. See
- * http://www.mathjax.org/ for details.
- *
- * ---------------------------------------------------------------------
- *
- * Copyright (c) 2009-2010 Design Science, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-if (!window.MathJax) {window.MathJax = {}}
-
-MathJax.Unpack = function (data) {
- var k, d, n, m, i;
- for (k = 0, m = data.length; k < m; k++) {
- d = data[k];
- for (i = 0, n = d.length; i < n; i++)
- {if (typeof(d[i]) == 'number') {d[i] = d[d[i]]}}
- data[k] = d.join('');
- }
- eval(data.join(''));
-};
-MathJax.isPacked = true;
-
-MathJax.Unpack([
- ['if(','document.','getElementById','&&',1,'childNodes&&',1,'createElement','){','if(!','window.MathJax','){',10,'={}}',9,'MathJax.Hub','){MathJax.version="1.0.1";(','function(','d){','var b=','window[d];if(!','b){b','=window[d]={}}var ','f','=[];','var c=',17,'g','){var h=','g.','constructor',';if(!','h){h=','new Function','("")}','for(var ','i in g){if(i!=="',30,'"&&g','.hasOwnProperty','(i)){h[i]=g[i]}}','return ','h};var a=','function(){',41,33,'("',41,'arguments','.callee','.Init','.call(this,',48,')")};var e=a();e','.prototype','={bug_test:1};',9,'e',54,'.bug_test){a=',43,41,43,41,48,49,50,51,48,')}}}b.','Object','=c({',30,':a(),Subclass:',17,'g,i',28,'a();h.SUPER=this;h',50,'=this',50,';h','.Subclass','=this',82,';h.Augment=this.Augment;h.','protoFunction','=this.',86,';h.can=this.can;h.has=this.has;h.isa=this.isa;h',54,'=new this(f);h',54,'.',30,'=h;h.Augment(g,i);',41,'h},Init:',17,'g',28,'this;if(g','.length===','1&&g[0]===f','){return ','h}if(!(h ','instanceof ','g',49,')){h=new g',49,'(f)}',41,'h',50,'.apply(','h,g)||h},Augment:',17,'g,h){var i;if(g','!=null){for(i in ','g){if(g',39,'(i)){this','.',86,'(i,g[i','])}}if(g.toString!==this.prototype.toString&&g.toString!=={}.toString){this.protoFunction("toString",g.toString)}}','if(h',119,'h){if(','h',39,122,'[i]=h[i]}}}',41,'this},',86,':',17,'h,g){this',54,'[h]=g;','if(typeof',' g','==="function"){','g.SUPER=this.SUPER',54,'}},prototype:{Init',':function(){},','SUPER:',17,'g',104,'g',49,'.SUPER},can:',17,'g',104,'typeof(this[g','])==="function"},has:',17,'g',104,159,'])!=="undefined','"},isa:',17,'g){return(g ',106,70,')&&(this ',106,'g)}},can:',17,'g',104,'this',54,'.can',51,'g)},has:',17,'g',104,'this',54,'.has',51,'g)},isa:',17,'h){var g=this;while(',120,'===h',104,'true}else{g=g.SUPER}}',41,'false},SimpleSUPER:c({',30,':',17,'g',104,'this.SimpleSUPER.define(g)},define:',17,'g){var i={};if(g!=null){',35,'h in ',120,39,'(h)){this.',86,'(h,g[h',126,41,'i},wrap:',17,'i,h){',142,'(h',')==="function"&&','h','.toString','().match(/\\.\\s*SUPER\\s*\\(/)){var g=',33,'(this.wrapper);g.label=i;g','.original','=h;h=g;g',222,'=this.stringify}',41,'h},wrapper:',43,'var h=',48,49,';this.SUPER=h.SUPER[h.label];try{var g=h',226,'.apply(this',',',48,')}catch(i){','delete this.','SUPER;','throw i}',242,243,41,'g}.','toString().replace','(/^\\s*function \\(\\)\\s*\\{\\s*/i,"").replace(/\\s*\\}\\s*$/i,""),toString:',43,41,'this',226,222,238,226,',',48,')}})})})("MathJax");(',17,'BASENAME){var ','BASE=window[BASENAME','];',9,'BASE){',263,']={}}var ','CALLBACK','=',17,'data){var cb=',33,'("',41,48,49,'.execute',115,48,49,',',48,')");',35,'id in ','CALLBACK.prototype','){if(',287,39,'(id)){',142,'(data[id',165,'"){cb[id]=data[id]}else{cb[id]=',287,'[id]}}}cb',222,'=',287,222,';',41,'cb};',287,'={isCallback:true,hook',148,'data:[],object:window,execute:',43,9,'this.called||this.autoReset){this.called=!this.autoReset;',41,'this.hook',238,'.object,this','.data.concat([].slice.call(',48,',0)))}},reset:',43,242,'called},toString:',43,41,313,222,238,'.hook,',48,')}};var ISCALLBACK=',17,'f){return(typeof(f',220,'f.isCallback)};var EVAL=',17,'code',104,'eval.call(window,code)};EVAL("var __TeSt_VaR__ = 1','");if(','window.__TeSt_VaR__','){delete ',339,'}else{if(','window.execScript','){EVAL=',17,'code){BASE.__code=code;code="try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}";',343,'(code',');var result=BASE.__result;delete BASE.__result;delete BASE.__code;if(result instanceof Error){throw result}return result','}}else{EVAL=',17,346,'var head=(',1,'getElementsByTagName("head"))[0];if(!','head){head=',1,'body}var script=',1,7,'("script");','script','.appendChild(',1,'createTextNode','(code));head',363,'script);','head.removeChild(','script',349,'}}}var USING=',17,'args,i','){if(',48,'.length','>1){if(',48,102,'2&&!(typeof ',48,'[0]==="function")&&',48,'[0] ',106,'Object&&typeof ',48,'[1]==="number"){','args=[].slice.call(',374,')}else{',390,48,',0)}}if(args ',106,'Array&&args',102,'1){args=args[0]}',142,' args',144,'if(args',278,'===',287,278,104,'args}',41,269,'({hook:args})}else{if(args ',106,'Array){',142,'(args[0])==="string"&&args[1] ',106,387,'args[1][args[0]]==="','function"){return CALLBACK({hook:args[','1][args[0]],object:args[1','],data:args.slice(','2)})}else{',142,' args[0]==="',420,'0',422,'1)})}else{',142,' args[1]==="',420,'1],object:args[0',422,'2)})}}}}else{',142,'(args)==="','string"){',41,269,'({hook:EVAL,data:[args]})}else{if(args ',106,70,104,269,'(args',392,142,437,'undefined"){',41,269,'({})}}}}}','throw Error("Can\'t ','make ','callback',' from given data")};var DELAY=',17,'time,',456,'){callback=USING(callback);',456,'.timeout=','setTimeout(',456,',time);','return callback','};var WAITFOR=',17,456,',signal',461,9,456,'.called){','WAITSIGNAL(',456,471,');signal.pending++}};var WAITEXECUTE=',43,'var ','signals','=this','.signal',';',242,'signal;this',278,'=this.','oldExecute;',242,490,'var result=','this',278,238,',',48,');','if(ISCALLBACK(result)&&!result.called){',476,'result,',482,392,'for(var i=0,m=',482,'.length;i<m;i++){','signals[i].pending','--;if(',508,'<=0){',482,'[i].call()}}}};var WAITSIGNAL=',17,456,',',482,'){if(!(',482,' ',106,'Array)){',482,'=[',482,']}',9,456,484,'){',456,'.oldExecute=',456,278,';',456,278,'=WAITEXECUTE;',456,484,'=',482,342,482,102,'1){',456,484,'.push(',482,'[0','])}else{',456,484,'=',456,484,'.concat(',482,')}}};var AFTER=',17,456,461,456,'.pending=0;',35,'i=1,m=',48,507,'if(',48,'[i]){WAITFOR(',48,'[i],',456,')}}if(',456,'.pending===0){',493,456,'();','if(ISCALLBACK(result',')){',456,'=result}}',467,'};var HOOKS=',17,'hooks,data,reset){',9,'hooks',104,'null}if(!(hooks ',106,522,'hooks=[hooks]}if(!(data ',106,522,'data=(data==null?[]:[data])}var ','callbacks','=[{}];',505,'hooks',507,'if(reset){hooks[i].reset()}',493,'hooks[i].apply(window,data);',500,600,549,'result)}}if(',600,102,'1',104,'null}if(',600,102,'2',104,600,'[1]}',41,'AFTER.apply({},',600,')};var QUEUE=BASE.',70,82,'({Init:',43,'this.pending','=0;','this.running','=0;','this.queue',24,'this.Push',238,',',48,')},Push:',43,'var ',456,';',505,48,507,456,'=USING(',48,'[i]);if(',456,'===',48,'[i]&&!',456,475,456,'=USING(["wait",this,',456,'])}',635,549,456,')}',9,633,'&&!',631,'){','this.Process','()}',467,'},Process:',17,'queue){while(!',633,'&&!',631,'&&',635,377,'){var ',456,'=',635,'[0];queue=',635,'.slice(1);',635,24,'this.Suspend();',493,456,'();','this.Resume();','if(queue',377,'){',635,'=queue',558,635,')}',500,'WAITFOR(result,this',')}}},','Suspend:',43,633,'++},Resume:',43,'if(',633,'){',633,'--}},call:',43,672,238,',',48,')},wait:',17,456,'){',467,'}});var SIGNAL=QUEUE',82,'({Init:',17,'name){','QUEUE',54,50,'.call(this',');this.name=name;','this.posted',24,'this.listeners','=[]},Post:',17,'message,',456,',forget',461,'if(this.posting||this.pending){',637,'(["Post",this,message,',456,746,552,'this.',456,'=',456,';',456,'.reset();',9,'forget){',739,549,'message)}',693,'this.posting=1;',505,741,507,741,'[i].reset();var result=(',741,'[i])(','message);',500,707,')}}',697,242,'posting',31,631,'){this.call()}}',467,'},Clear:',17,456,461,748,456,'=',637,'(["Clear",this,',456,552,739,24,456,'()}',467,'},call:',43,'this.',456,'(this);',672,'()},Interest:',17,456,',ignorePast',461,741,'[',741,377,']=',456,31,'ignorePast){',505,739,507,456,760,493,456,'(',739,'[i]);',582,')&&i===',739,377,'-1){',707,')}}}',467,'},NoInterest:',17,456,'){',505,741,507,'if(',741,'[i]===',456,'){',741,'.splice(i,1);return}}},MessageHook:',17,'msg,',456,461,9,'this.hooks','){',858,'={};this.Interest(["ExecuteHooks",this])}',9,'this.hooks[msg',']){',863,']=[]}',863,'].push(',456,');',505,739,507,'if(',739,'[i]==msg){',456,760,456,'(',739,'[i])}}',467,'},ExecuteHooks:',17,'msg,more){var type=((msg ',106,'Array)?msg[0]:msg);',41,'HOOKS(',858,'[type],[msg],true)}},{',482,':{},find:',17,733,9,'SIGNAL.signals[name',']){',898,']=new SIGNAL(name)}',41,898,']}});BASE.Callback=BASE.CallBack=USING',';BASE.Callback.','Delay=DELAY',905,'After=AFTER',905,'Queue=QUEUE',905,'Signal=SIGNAL.find;BASE','.Callback.ExecuteHooks','=HOOKS})("MathJax");(',17,'d','){var a=',20,'a){a',22,'c=(','navigator.vendor==="Apple Computer, Inc."&&typeof navigator.vendorSub==="undefined','");var f=0;var g=',17,129,1,'styleSheets','&&',1,927,377,'>f){f=',1,927,377,'}',9,'h){h=(',1,355,32,1,'body}}',41,'h};var e',24,19,43,35,'j=0,h=e',377,';j<h;j++){','a.Ajax.',369,'e[j])}e=[]};a.Ajax={loaded:{},loading:{},loadHooks:{},timeout:15*1000,styleDelay:1,config:{root:""},STATUS:{OK:1,ERROR:-1},rootPattern:new RegExp("^\\\\["+d+"\\\\]"),fileURL:',17,'h',104,'h.replace(this.rootPattern,this.config.root)},Require:',17,'j,m){m','=a.Callback(','m',');var k;if(j instanceof Object){for(var h in j){}k=h.toUpperCase();j=j[h]}else{k=j.split(/\\./).pop().toUpperCase()}j=this.fileURL(j);if(this.','loaded[j]){m','(this.loaded[j])}else{','var l={};l[k]=j;this.Load(l,m)}',41,'m},Load:',17,'j,l){l',962,'l',964,'loading[j]){','this.loading','[j].',600,549,'l',392,'this.head=g(this.head);','if(this.loader[k]){this.loader[k].call(this,j,l',392,454,'load files of type "+k)}}',41,'l},LoadHook:',17,'j,k){k',962,'k);if(j ',106,70,'){',35,207,'j){j=j[h]}}j=','this.fileURL(','j);if(this.loaded[j]){k',966,9,'this.loadHooks[','j]){',1003,'j]=[]}',1003,'j].push(k)}',41,'k},loader:{JS:',17,'i,k',28,1,7,361,'var j=','a.Callback','(["','loadTimeout','",this,i]);',976,'[i]={',600,':[k','],message:a.Message.File(','i),timeout:',464,'j,','this.timeout','),status:this.STATUS.OK',',script:h};h.onerror=j;h.type="text/javascript";h.src=i;','this.head',363,'h)},CSS:',17,'h,j){var i=',1,7,'("link");i.rel="stylesheet";','i.type="text/css";','i.href=h;',976,'[h]={',600,':[j',1026,'h',1031,'};',1033,363,'i);this.timer.create',737,',[this.timer.file,h],i)}},timer:{create:',17,217,'i',962,'i);if(','h.nodeName==="STYLE','"&&h','.styleSheet&&typeof(','h','.styleSheet.cssText)!=="undefined"){i','(this','.STATUS.OK)}else{','if(window.chrome&&typeof(window.sessionStorage)!=="undefined"&&',1061,'"){i(this',1067,'if(c){','this.timer.start(this,[this.timer.','checkSafari2',',f++,','i],this.styleDelay',392,1073,'checkLength,h,',1076,')}}}',41,'i},start:',17,'i,h,j){h',962,'h);h',278,'=this',278,';h.time=this.time;h.STATUS=i.STATUS;h',463,'i.timeout',';h.delay=h.total=0;',464,'h,j)},time:',17,'h){this.total+=this.delay;this.delay=Math.floor(this.delay*1.05+5);if(this.total>=',1030,'){h(','this.STATUS.ERROR',');',41,'1}',41,'0},file:',17,'i,',129,'h<0){',953,1020,'(i',392,953,'loadComplete','(i)}},execute:',43,313,737,315,',this.data[0],this.data[1])},',1074,':',17,'h,i,j){if(h.time(j)){return}if(',1,927,377,'>i&&',1,927,'[i].cssRules','&&',1,927,1133,377,'){j(h',1067,464,'h,h.delay',')}},checkLength:',17,'h,k,m){if(h.time(m)){return}var l=0;var i=(k.sheet||k.styleSheet);try{if((i.cssRules||i.rules||[]).length>0){l=1}}catch(j){','if(j.message.match(/','protected variable|restricted URI/)){l=1}else{',1146,'Security error/)){l=1}}}if(l){',464,1018,'([m,h.STATUS.OK]),0',392,464,1142,708,1116,':',17,32,999,'h);var i=',976,'[h];if(','i){a.Message.Clear(i.',775,'clearTimeout(',1093,');if(i.script){if(e',102,'0){',464,'b,0)}e',549,'i.script)}this.loaded[h]=i.status;delete ',976,1164,1003,'h]){',1018,'.Queue([a',913,',',1003,'h],i.status],[a',913,',i.',600,',i.status',552,'a',913,'(i.',600,1189,708,1020,':',17,129,976,'[h].timeout','){',1167,976,1202,')}',976,'[h].status=',1101,';this.loadError(h);this.',1116,'(h)},loadError:',17,'h){a.Message.Set("File failed to load: "+h,null,2000)},Styles:',17,'j,k',28,'this.StyleString(','j);if(h===""){k',962,'k);k()}else{var i=',1,7,'("style");',1041,982,1033,363,1060,'i',1063,'i',1065,'.styleSheet.cssText=h}else{i',363,1,365,'(h))}k=this.timer.create',51,'k,i)}',41,'k},StyleString:',17,'m){',142,'(m)==="',438,41,'m}var j="",n,l;for(n in m){if(m',39,'(n)){',142,' m[n]==="',438,'j+=n+" {"+','m[n]+"}\\n"}else{if(m[n] ',106,414,35,'k=0;k<m[n].length;k++){l={};l[n]=m[n][k];j+=',1219,'l)}}else{if(n.substr(0,6)==="@media"){',1256,1219,'m[n])+"}\\n"}else{if(m[n]!=null){l',24,35,207,'m[n]){if(m[n][h]!=null){l[l',377,']=h+": "+m[n][h]}}',1256,'l.join("; ")+"}\\n"}}}}}}',41,'j}}})("MathJax");MathJax.HTML={Element:',17,'c,e,d){var f=',1,7,'(c);if(e){if(e.style){',19,'e.style;e.style={};',35,'g in b){if(b',39,'(g)){e.style[g.replace(/-([a-z])/g,this.ucMatch)]=b[g]}}}',15,'.Insert(f,e)}if(d){',35,'a=0;a<d',377,';a++){if(d[a] ',106,414,'f',363,'this.Element(','d[a][0],d[a][1],d[a][2]))}else{f',363,1,365,'(d[a]))}}}',41,'f},ucMatch:',17,'a,b',104,'b.toUpperCase()},addElement:',17,'b,a,d,c',104,'b',363,1298,'a,d,c))},TextNode:',17,'a',104,1,365,'(a)},addText:',17,'a,b',104,'a',363,'this.TextNode(b))},Cookie:{prefix:"mjx",expires:365,Set:',17,'a,d){var c',24,'if(d){',35,'f in d){if(d',39,'(f)){c',549,'f+":"+d[f].',249,'(/&/g,"&&"))}}}',19,'this.prefix+":"+','a+"="+escape(c.join("&;"));if(this.expires){var e=new Date();e.setDate(e.getDate()+this.expires);b+="; expires="+e.toGMTString()}',1,'cookie=b+"; path=/"},Get:',17,'c,h){',9,'h){h={}}var g=new RegExp("(?:^|;\\\\s*)"+',1342,'c+"=([^;]*)(?:;|$)");',19,'g.exec(',1,'cookie);if(b&&b[1]!==""){var e=unescape(b[1]).split("&;");',35,'d=0,a=e',377,';d<a;d++){b=e[d].match(/([^:]+):(.*)/);var f=b[2].replace(/&&/g,"&");if(f==="true"){f=true',342,'f==="false"){f=false',342,'f.match(/^-?(\\d+(\\.\\d+)?|\\.\\d+)$/)){f=parseFloat(f)}}}h[b[1]]=f}}',41,'h}}};','MathJax.Message','={log:[{}],current:null,textNodeBug:(',922,'")||(window',39,'&&window',39,'("konqueror")),styles:{"#','MathJax_Message','":{position:"','fixed",left:"1px",bottom:"2px","background-color":"#E6E6E6",border:"1px solid #959595','",margin:"0px",padding:"','2px 8px","z-index":"102",color:"black","font-size":"80%",width:"auto","white-space":"nowrap"},"#','MathJax_MSIE_Frame',1375,'absolute",top:0,left:0,width:"0px","z-index":101,border:"0px',1377,'0px"}},browsers:{MSIE:',17,'a){','MathJax.Hub.config.styles["#MathJax_Message"].','position="absolute";',1366,'.quirks=(',1,'compatMode==="BackCompat")},Chrome:',17,'a){',1386,'bottom="1.5em";',1386,'left="1em"}},Init:',43,9,1,'body',104,'false}if(','this.div','&&',1404,'.parentNode==null){',1404,'=',1,2,'("',1374,338,1404,'){this.text=',1404,'.firstChild','}}',9,1404,917,1,'body;if(',15,'.Browser.isMSIE){a=this.frame','=this.addDiv(',1,'body);a.style.',1387,'a.style.border=a.style.margin=a.style.padding="0px";a.style.zIndex="101";a.style.height="0px";a',1427,'a);a.id="',1379,'";','window.attachEvent("','onscroll",','this.MoveFrame',');',1436,'onresize",',1438,');',1438,'()}',1404,1427,'a);',1404,'.style.display="none";this.text=',1404,363,1,365,'(""))}',41,'true},addDiv:',17,'a){',19,1,7,'("div");b.id="',1374,'";if(a',1418,'){a.insertBefore(b,a',1418,392,'a',363,'b)}',41,'b},MoveFrame:',43,'var a=(',1366,'.quirks?',1,'body:',1,'documentElement);',19,1366,'.frame;b.style.left=a.scrollLeft+"px";b.style.top=a.scrollTop+"px";b.style.width=a.clientWidth+"px";b=b',1418,';b.style.height=a.clientHeight+"px"},filterText:',17,'a,b){if(',15,'.config.messageStyle==="simple"){if(a.match(/^Loading /)){',9,976,'){',976,'="Loading "}a=',976,';',976,'+="."}else{if(a.match(/^Processing /)){',9,'this.processing','){',1502,'="Processing "}a=',1502,';this.processi'],
- ['ng+="."}}}','return ','a},Set',':function','(b,c',',a','){if(this.timer){clearTimeout(this.timer',');','delete ','this.timeout}if(c','==null','){c','=this','.log','.length',';','this.log[','c]={}}',16,'c','].text','=b;b',12,'.filterText(','b,c);','if(typeof','(',16,'c].next',')==="undefined"){',16,28,'=','this.current',';if(',33,'!=null){',16,33,'].prev=','c}',33,'=c}if(',33,'===c&&','MathJax.Hub.config.','messageStyle','!=="none"){','if(this.','Init()){','if(this.textNodeBug){this.div.innerHTML=','b','}else{','this.text','.nodeValue','=b}','this.div.style.display','="";','if(this.status){window.status="";delete this.status}}else{','window.status','=b;this.status=true}}if(a){setTimeout(','MathJax.Callback','(["Clear','",this,','c]),a)}',1,'c},Clear',3,'(b,a){if','(',16,'b].prev',36,16,16,71,'].next=',16,'b].next','}if(',16,78,36,16,16,78,39,16,71,'}if(',33,'===b){',33,'=',16,78,34,53,'){',48,'div','.parentNode',10,'){this.','Init()}if(',33,10,6,')}this.timer=setTimeout(',61,'(["Remove",this]),(a||600))}else{',50,16,33,20,52,53,54,'=',16,33,20,'}}',58,48,'status){',59,'=(',33,10,'?"":',16,33,20,')}}}',8,16,78,';',8,16,71,'},Remove',3,'(){',53,54,57,56,'="none"},File',3,'(b){var a=','MathJax.','Ajax','.config.','root',34,'b','.substr(0,','a',14,')===a){b="[MathJax]"+b.substr(a',14,')}',1,'this.Set("Loading "+b)},Log',3,'(){var b=[];','for(var ','c=1,a',12,13,14,';c<a;c++){b[c]=',16,'c',20,'}',1,'b.join("\\n")}};',152,'Hub={config:{root:"",config',':[],','styleSheets',182,'styles',':{},jax',182,'extensions',182,'preJax',':null,','postJax',191,'displayAlign:"center",displayIndent:"0",','preRemoveClass',':"MathJax_Preview",showProcessingMessages:true,',46,':"normal",','delayStartupUntil',':"none",','skipStartupTypeset',':false,','preProcessors',182,'inputJax',':{},','outputJax',':{},','menuSettings',':{zoom:"None",CTRL:false,ALT:false,CMD:false,Shift:false,zscale:"200%",renderer:"",font:"Auto",context:"MathJax"},','errorSettings',':{message:["[Math Processing Error]"],style:{color:"#CC0000","font-style":"italic"}}},','processUpdateTime',':500,signal:',61,'.Signal("','Hub"),','Config',3,'(a){this','.Insert(','this.config',',a);if(','this.config.','Augment',103,225,'(',224,225,')}},','Register',':{PreProcessor',3,'(a){',45,203,'.push(',61,'(a))},','MessageHook',3,'(){',1,152,'Hub','.signal.',241,'.apply(',152,'Hub','.signal,arguments)},','StartupHook',3,'(){',1,'MathJax.Hub.Startup',247,241,249,257,252,'LoadHook',3,'(){',1,152,'Ajax.',263,249,152,'Ajax,','arguments',231,'getAllJax',3,'(','e){var c=[],b=this.elementScripts(e);for(var d=0,a=b.length;d<a;d++){if(b[d].MathJax&&b[d].MathJax.elementJax','){c.push(b[d].','MathJax.elementJax',')}}',1,'c},getJaxByType',3,'(f,',278,'&&b[d].',280,'.mimeType===f){c.push(b[d].',280,')}}',1,'c},getJaxByInputType',3,'(f,',278,287,'type',287,'type.replace(/ *;(.|\\','s)*/,"")===f){c.push(b[d].',280,')}}',1,'c},getJaxFor',3,'(a){','if(typeof(a)==="string"){a=document.getElementById(a',')}','if(a.MathJax){',1,'a.',280,'}',1,'null},isJax',3,'(a){',308,')}','if(a.tagName!=null&&a.tagName.toLowerCase()==="script"){',310,'return(a','.MathJax.state','===',152,'ElementJax.STATE','.PROCESSED','?1:-1)}if(a.type&&',224,205,'[a.',300,'s)*/,"")]){return -1}}',1,'0},Queue',3,'(){',1,'this.queue','.Push',249,340,',',273,')},','Typeset',3,4,'){if(!',152,'isReady){',1,'null}var ','a','=this.elementCallback(',24,1,61,'.Queue(["','PreProcess',63,'a.element','],["','Process',63,363,']).','Push(a.callback)},',361,3,4,'){var a',356,24,1,61,360,'Post",this.signal',',"Begin ',361,'"],["','ExecuteHooks",',61,',(','arguments.callee.disabled','?[]:',224,203,'),',363,',true','],["Post",this.signal,"End ',361,'"]).',369,365,3,'(a,b){',1,'this.takeAction("',365,'",a,b)},','Update',3,399,1,401,404,403,'Reprocess',3,399,1,401,411,403,'takeAction',3,'(d,c,e){var b',356,'c,e);var a=[];',1,61,360,'Clear",this.signal],["',379,',["Begin "+','d,b.element',']],["','prepareScripts',63,429,',a],["','processScripts',63,'a],["',379,',["End "+',429,']]).Push(b.callback)},','scriptAction',':{',365,3,'(a){},',404,3,151,'b.',280,34,'a&&a.','originalText','===(b.text==""?b.innerHTML:b.text)){b',324,'=a.STATE',328,52,'a','.outputJax.Remove(','a);b',324,'=a','.STATE.UPDATE','}},',411,3,151,'b.',280,34,'a){a',461,'a);b',324,'=a',465,'}}},',431,3,'(h,e,f){if(',386,'){return}var b=this.','elementScripts','(e);var g=',152,327,';',168,'d=0,a=b',14,';d<a;d++){var c=b[d];if(c.type&&',224,205,'[c.',300,'n)*/,"")]){if(c.MathJax&&c',324,'!==g.PENDING',103,442,'[h](c)}if(!c.MathJax){c.MathJax={state:g.PENDING}}if(c',324,'!==g',328,'){f.push(c)}}}},','checkScriptSiblings',3,'(a){if(a.MathJax&&a.',152,'checked',484,'config;var g=a','.previousSibling',34,'g&&g.nodeName=="#text"){var d,f;var c=a.nextSibling',34,'c&&c.nodeName!="#text"){c=null}if','(b.preJax','){',25,520,')==="string"){b.',190,'=new RegExp',520,'+"$")}d=g',54,'.match',520,')}if','(b.postJax','&&c){',25,533,524,192,526,'("^"+b.',192,')}f=c',54,'.match',533,')}if(d&&(!b.',192,'||f)){g',54,'=g',54,'.replace',520,',(d',14,'>1?d[1]:""));g=null}if(f&&(!b.',190,'||d)){c',54,'=c',54,552,533,',(f',14,'>1?f[1]:""))}if(g&&!g',54,'.match(/\\S/)){','g=g',515,'}}if(b.',195,'&&g&&g.className==b.',195,'){try{g.innerHTML=""}catch(e){}g.style.display="none"}',310,'a.',152,512,'=1}},',435,3,'(h,b,d){if(',386,'){',1,354,'q,o=',152,327,';var p=',224,205,',c=',224,207,';try{if(!b){b=','new Date().getTime','()}var j=0,l,f;while(j<h',14,'){l=h[j];if(!l){continue}f=l',515,34,'f&&f.className==="','MathJax_Error','"){f',101,'.removeChild(f)}var k=l.',300,'s)*/,"");if(!l.MathJax||l',324,'===o',328,'){continue}if(!l.',280,'||l',324,'===o.UPDATE',103,508,'(l);q=p[k].','Translate(l);if(typeof q==="function"){','if(q.called){continue}this.RestartAfter(q)}','q.Attach(l,p[k])}var a=l.',280,';if(!c[a.mimeType]){l',324,'=o.UPDATE;','throw Error("No ','output jax registered for "+a.mimeType)}a.',207,'=c[a.mimeType][0];q=a.',207,'.',622,'l',324,628,623,'l',324,'=o',328,';this',247,'Post(["New Math",a.inputID]);j++;if(',598,'()-b>this.',213,'&&j<h',14,'){b=0;this.','RestartAfter','(',61,'.Delay(1))}}}catch(g){if(!g.restart){if(!',224,211,'.message){throw g}this.formatError(l,g);j++}if(!d){d=0}var e=Math.floor((d+j)/(d+h',14,')*100);d+=j',34,224,'showProcessingMessages){MathJax.Message.Set("Processing ','math: "+e+"%",0)}',1,61,'.After(["',435,63,'h.slice(j),b,d],g.restart)}if((d||h',14,')&&',224,664,'Math: 100%",0);',152,'Message.','Clear(0)}',1,'null},formatError',3,'(a,c){var b=',152,'HTML.Element("span",{className:"',605,'"},',224,211,'.message);a',101,'.insertBefore(b,a);this.lastError=c},',653,3,'(a){throw this',221,'Error("restart"),{restart:',61,'(a)})},elementCallback',3,399,'if(b',10,'&&(a ','instanceof Array','||typeof a==="','function','")){b=a;a=','document.','body',52,'if(a==null){a=document.body}','else{',308,')}}}if(!a){',629,'such element")}if(!b){b={}}return{element:a,callback:b}},',485,3,'(a){',308,')}',712,321,'return[a]}',1,'a.','getElementsByTagName("','script")},Insert',3,'(c,a){',168,'b in a){if(a','.hasOwnProperty','(b)){',25,' a[b]==="object"&&!(a[b] ',705,')&&(','typeof c[b]==="','object"||',740,707,'")){this',221,'c[b],a[b])}else{c[b]=a[b]}}}',1,'c}};',152,'Hub',221,45,185,',',152,678,185,');',152,'Hub',221,45,185,',{".',605,'":',45,211,'.style});',152,'Extension={};',257,'={script:"",queue:',61,'.Queue(),','signal:',61,216,'Startup','"),',218,3,'(){','this.queue.Push(["Post",this.signal,"Begin ',218,'"]);var a=',152,'HTML.Cookie','.Get("user");if(a.URL||a.',218,'){if(confirm("MathJax has found a user-configuration cookie that includes code to be run. Do you want to run it?\\n\\n(You should press Cancel unless you set up the cookie yourself.)")){if(a.URL){',340,'.Push(["Require",MathJax.Ajax,','a.URL])}if(a.',218,'){',152,'userConfig=new Function(a.',218,')}}else{',152,788,'.Set("user",{})}}',48,'script',568,340,'.Push(this.script+";\\n1;")}else{',340,793,'this.URL("config","',152,'js")])}',1,340,'.Push([',707,4,'){if(b.',199,'.isCallback){',1,'b.',199,'}if(b.',199,'==="onload"){',1,'c}',1,707,'(){}},',152,'Hub.config,this.onload','],[function(','b){',1,'b.','loadArray','(',45,'config,"config",null,true)},this',393,218,'"])},','Cookie',3,'(){',1,784,846,382,'Get",',152,788,',"menu",',45,209,835,'f,c){if(f','.renderer','){var d="output/"+f',861,';',168,'e=0,b=c',14,',a=0;e<b;e++){if(c[e]===d){c.splice(e,1);a=0;break}if(c[e].substr(0,7)==="output/"){a=(a?0:e+1)}}c.unshift(d);if(a){c.splice(a,1)}}},',45,209,',',45,'jax',393,846,845,'Styles',3,'(){',1,784,877,382,839,63,45,183,',"config',382,877,'",',152,272,45,185,393,877,845,'Jax',3,'(){',1,784,'Jax',382,839,63,45,'jax,"jax","config.js",true',393,'Jax',845,'Extensions',3,'(){',1,784,913,382,839,63,45,188,',"',188,382,379,',"End ',913,845,'onLoad',3,'(a){var b',12,'.onload=',61,'(','function(){',257,247,'Post("onLoad")});if(','window.addEventListener','){',942,'("load",b,false)}else{if(','window.attachEvent','){',946,'("onload",b)}else{window.onload=b}}',1,'b},',347,3,399,'if(',45,201,'){',1,707,'(){}}',1,784,347,382,347,'",',152,'Hub,a,b',393,347,845,'URL',3,68,'(!a.match(/^([a-z]+:\\/\\/|\\[|\\/)/)){a="[MathJax]/"+b+"/"+a}',1,'a},',839,3,'(b,f,c,a){if(b){if(!(b ',705,')){b=[b]}if(b',14,'){var h=',61,775,'j={},e;',168,'g=0,d=b',14,';g<d;g++){e',12,'.URL(f,b[g]);if(c){e+="/"+c}if(a){h',793,'e,j])}else{h.Push(',152,'Ajax.Require(e,j))}}',1,'h.Push({})}}',1,'null}};(',707,'(d','){var b=window[','d],e="["+d+"]";var c=b.Hub,a=b.',272,'f=b.Callback;var g=',152,'Object','.Subclass','({require',191,'config:{},Init',3,'(i,h){','if(',273,14,'===0){',1,'this}return(','this.constructor',1011,'(i,h))()},',225,3,'(k,j','){var i=',1023,',h={};if(k',36,168,'l in k){if(k',734,'(l)){',25,' k[l]==="',707,'"){','i.protoFunction','(l,k[l])}else{h[l]=k[l]}}}if(k.toString!==i','.prototype.','toString&&k.toString!=={}.toString){',1041,'("toString",k.toString)}}c',221,'i.prototype,h);i.',225,'(null,j);',1,'this},','Translate',3,'(h){',1023,1043,1053,12,'.noTranslate;',1,'a.Require(','this.directory','+"/jax.js','")},noTranslate',3,'(h){throw Error(',1063,1064,' failed to redefine the ',1053,'() method")},',232,3,'(h){},',218,3,'(){c',221,222,',(c.config[this.name]||{}));if(',224,225,103,225,'(',224,225,231,779,3,'(){},','loadComplete',3,'(n){if(n==="jax.js"){var j=f.Queue();','j.Push(["Post",c.Startup.signal,this.name+" Jax ',218,'"]);','j.Push(["',218,'",this]);',1096,'Require"]);',48,'require){var k',12,'.require;if(!(k ',705,')){k=[k]}',168,'l=0,h=k',14,';l<h;l++){j.Push(',1062,'k[l]))}',1099,839,'",',257,',',224,'require,"config"])}',1096,779,'"]);',1099,779,'",this]);',1096,'Ready"]);',1,1099,1093,'",a,',1063,'+"/"+n])}else{',1,'a.',1093,'(',1063,'+"/"+n)}}},{name:"unknown",version:"1.0",directory:e+"/jax",extensionDir:e+"/',188,'"});b.InputJax=g',1011,'({',232,3,'(h){if(!','b.Hub',154,205,'){c',154,205,'={}}c',154,205,'[h]=this}},{','version:"1.0",directory:g.directory+"/','input','",extensionDir:g.extensionDir','});b.OutputJax=g',1011,'({',232,3,1149,'c.config.outputJax','){',1169,'={}}if(!',1169,'[h]){',1169,'[h]=[];if(!c',154,209,861,'){c',154,209,861,12,'.name}}',1169,'[h].push(this)},Remove',3,'(h){}},{',1160,'output',1162,',fontDir:e+(b.isPacked?"":"/..")+"/fonts"});','b.ElementJax','=g',1011,'({Init',3,1016,1,1023,1011,'(i,h)},',205,191,207,191,'inputID',191,454,':"",mimeType:"",Text',3,'(j,k){','var h=this.SourceElement();','if(','h.firstChild','){if(',1216,'.nodeName!=="#text"){h.text=j',52,1216,54,'=j}}else{try{h.innerHTML=j}catch(i){h.text=j}}h',324,12,465,';',1,'c.',404,'(h,k)},',411,3,'(i){',1214,'h',324,12,465,';',1,'c.',411,'(h,i)},Remove',3,'(){this',461,'this);c',247,'Post(["Remove Math",this.inputID]);this.Detach()},SourceElement',3,'(){',1,709,'getElementById(this.inputID)},Attach',3,'(i,j){var h=i.',280,34,'i',324,'===this',465,'){h.Clone(this)}else{h=i.',280,12,34,'i.id',103,'inputID=',1268,52,1268,12,'.',1270,1194,'.GetID();this.newID=1}}h.',454,'=(i.text==""?i.innerHTML:i.text);h.',205,'=j},Detach',3,'(){',1214,'if(!h){return}try{',8,'h.MathJax}catch(i){h.MathJax=null}',48,'newID){h.id=""}},Clone',3,'(h){var i;for(i in this){if(!this',734,'(i)){continue}if(typeof(','h','[i])==="undefined','"&&i!=="newID"){',8,'this[i]}}for(i in h){if(!this',734,1294,'this',1296,'"||(this[i]!==h[i]&&i!=="inputID")){this[i]=h[i]}}}},{',1160,'element',1162,',ID:0,STATE:{PENDING:1,PROCESSED:2,UPDATE:3},GetID',3,'(){this.ID++;return"MathJax-Element-"+this.ID},Subclass',3,'(){var h=g',1011,249,'this,',273,');h.',1093,12,1043,1093,';',1,'h}});',1194,1043,'STATE=b.',327,'})("MathJax");(',707,'(l',1005,'l];if(!b){b=window[l]={}}var d=b.Hub;var n=d.',779,';var m=d.config;var k=',709,728,'head")[0];if(!k){k=',709,'childNodes[0]}var f=(',709,'documentElement||document).',728,'script");var e',526,'("(^|/)"+l+"\\\\.js$");',168,'g=f',14,'-1;g>=0;g--){if(f[g].src.match(e)){n.script=f[g].innerHTML;m.root=f[g].src',552,'(/(^|\\/)[^\\/]*$/,"");break}}b.Ajax.config=m;var j={isMac',':(navigator.platform.substr(0,3)==="','Mac"),isPC',1353,'Win"),isMSIE:(',709,'all!=null&&!','window.opera','),isFirefox:(',709,'ATTRIBUTE_NODE!=null&&window.directories!=null),isSafari',':(navigator.vendor!=null&&navigator.vendor.match(/','Apple/)!=null&&!navigator.omniWebString),isOpera:(',1359,'!=null&&',1359,'.version!=null),isChrome',1363,'Google/)!=null),isKonqueror:(window',734,'&&window',734,'("konqueror")),versionAtLeast',3,'(r){var q=(this','.version).split','(".");r=(','new String','(r)).split(".");',168,'s=0,p=r',14,';s<p;s++){if(q[s]!=r[s]){',1,'parseInt(q[s]||"0")>=parseInt(r[s])}}',1,'true},Select',3,'(p',1029,'p[d.Browser];if(i){',1,'i(d.Browser)}',1,'null}};var a=navigator.userAgent',552,'(/^Mozilla\\/(\\d+\\.)+\\d+ /,"").replace(/[a-z][-a-z0-9._: ]+\\/\\d+[^ ]*-[^ ]*\\.([a-z][a-z])?\\d+ /i,"").replace(/Gentoo |Ubuntu\\/(\\d+\\.)*\\d+ (\\([^)]*\\) )?/,"");d.Browser=d',221,'d',221,1379,'("Unknown"),{version:"0.0"}),j);',168,'h in j){if(j',734,'(h)){if(j[h]&&h',158,'2)==="is"){h=h.slice(2);if(h==="Mac"||h==="PC"){continue}d.Browser=d',221,1379,'(h),j);var o',526,'(".*(Version',')/((?:\\\\d+\\\\.)+\\\\d','+)|.*("+h+")"+(h=="MSIE"?" ":"/")+"((?:\\\\d+\\\\.)*\\\\d+)|(?:^|\\\\(| )([a-z][-a-z0-9._: ]+|WebKit',1415,'+)");var c=o.exec(a)||["","","","unknown","0.0"];d.Browser.name=(c[1]=="Version"?h:(c[3]||c[5]));d.Browser.version=c[2]||c[4]||c[6];break}}}','d.Browser.Select','({Safari',3,'(p',1029,'parseInt((String(p',1377,'("."))[0]);if(i>=526){','p.version="','4.0','"}else{if(i','>=525){',1427,'3.1',1429,'>500){',1427,'3.0',1429,'>400){',1427,'2.0',1429,'>85){',1427,'1.0"}}}}}},Firefox',3,'(p){if(p.version==="0.0"&&navigator.product==="Gecko"&&','navigator.productSub',1029,1447,158,'8);if(i>="20090630"){',1427,'3.5',1429,'>="20080617"){',1427,'3.0',1429,'>="20061024"){',1427,'2.0"}}}}},Opera',3,'(i){i.version=opera.version()}});',1419,'(',152,678,'browsers);d.queue=b.Callback.Queue();d.queue.Push(["','Post",n.signal,"','Begin',382,218,'",n],["',846,1473,877,1473,'Jax',1473,913,'",n],n.onLoad(),',938,152,'isReady=true},["',347,1473,1469,'End"])})("MathJax")}};']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/config/MMLorHTML.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['(function(c){var i="1.0";var g=','MathJax.Hub','.Insert({prefer:{MSIE:"MML",Firefox:"MML",Opera:"HTML",other:"HTML"}},(',1,'.config.MMLorHTML||{}));var e={Firefox:3,Opera:9.52,MSIE:6,Chrome:0.3,Safari:2,Konqueror:4};var h=(c','.Browser','.version==="0.0"||','c.Browser.versionAtLeast','(e[c',5,']||0));var b;try{new ActiveXObject("MathPlayer.Factory.1");b=true}catch(d){b=false}var f=(c',5,'.isFirefox&&',7,'("1.5"))||(c',5,'.isMSIE&&b)||(c',5,'.isOpera&&',7,'("9.52"));var a=(g.prefer&&typeof(g.prefer)==="object"?g.prefer[',1,5,']||g.prefer.other||"HTML":g.prefer);if(h||f){if(f&&(a==="MML"||!h)){','c.config.jax.unshift("output/','NativeMML")}else{',24,'HTML-CSS")}}else{c.PreProcess','.disabled=true;','c.prepareScripts',28,'MathJax.Message.Set("Your browser does not support MathJax",null,4000);c.Startup.signal.Post("MathJax not supported")}})(',1,');MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js");']
-]);
-
View
590 lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js
@@ -1,590 +0,0 @@
-/*************************************************************
- *
- * MathJax/config/MathJax.js
- *
- * This configuration file is loaded when there is no explicit
- * configuration script in the <script> tag that loads MathJax.js
- *
- * Use it to customize the MathJax settings. See comments below.
- *
- * ---------------------------------------------------------------------
- *
- * Copyright (c) 2009-10 Design Science, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-MathJax.Hub.Config({
-
- //
- // A comma-separated list of configuration files to load
- // when MathJax starts up. E.g., to define local macros, etc.
- // The default directory is the MathJax/config directory.
- //
- // Example: config: ["local/local.js"],
- // Example: config: ["local/local.js","MMLtoHTML.js"],
- //
- config: [],
-
- //
- // A comma-separated list of CSS stylesheet files to be loaded
- // when MathJax starts up. The default directory is the
- // MathJax/config directory.
- //
- // Example: styleSheets: ["MathJax.css"],
- //
- styleSheets: [],
-
- //
- // Styles to be defined dynamically at startup time.
- //
- // Example:
- // styles: {
- // ".MathJax .merror": {
- // color: "blue",
- // "background-color": "green"
- // }
- // },
- //
- styles: {},
-
- //
- // A comma-separated list of input and output jax to initialize at startup.
- // Their main code is loaded only when they are actually used, so it is not
- // inefficient to include jax that may not actually be used on the page. These
- // are found in the MathJax/jax directory.
- //
- jax: ["input/TeX","output/HTML-CSS"],
-
- //
- // A comma-separated list of extensions to load at startup. The default
- // directory is MathJax/extensions.
- //
- // Example: extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
- //
- extensions: ["tex2jax.js"],
-
- //
- // Patterns to remove from before and after math script tags. If you are not
- // using one of the preprocessors (e.g., tex2jax), you need to insert something
- // extra into your HTML file in order to avoid a bug in Internet Explorer. IE
- // removes spaces from the DOM that it thinks are redundent, and since a SCRIPT
- // tag usually doesn't add content to the page, if there is a space before and after
- // a MathJax SCRIPT tag, IE will remove the first space. When MathJax inserts
- // the typeset mathematics, this means there will be no space before it and the
- // preceeding text. In order to avoid this, you should include some "guard characters"
- // before or after the math SCRIPT tag; define the patterns you want to use below.
- // Note that these are used as regular expressions, so you will need to quote
- // special characters. Furthermore, since they are javascript strings, you must
- // quote javascript special characters as well. So to obtain a backslash, you must
- // use \\ (doubled for javascript). For example, "\\[" is the pattern \[ in the
- // regular expression. That means that if you want an actual backslash in your
- // guard characters, you need to use "\\\\" in order to get \\ in the regular
- // expression, and \ in the actual text. If both preJax and postJax are defined,
- // both must be present in order to be removed.
- //
- // See also the preRemoveClass comments below.
- //
- // Example:
- // preJax: "\\\\\\\\", // makes a double backslash the preJax text
- // or
- // preJax: "\\[\\[", // jax scripts must be enclosed in double brackets
- // postJax: "\\]\\]",
- //
- preJax: null,
- postJax: null,
-
- //
- // The CSS class for a math preview to be removed preceeding a MathJax
- // SCRIPT tag. If the tag just before the MathJax SCRIPT tag is of this
- // class, its contents are removed when MathJax processes the SCRIPT
- // tag. This allows you to include a math preview in a form that will
- // be displayed prior to MathJax performing its typesetting. It also
- // avoids the Internet Explorer space-removal bug, and can be used in
- // place of preJax and postJax if that is more convenient.
- //
- // For example
- //
- // <span class="MathJax_Preview">[math]</span><script type="math/tex">...</script>
- //
- // would display "[math]" in place of the math until MathJax is able to typeset it.
- //
- preRemoveClass: "MathJax_Preview",
-
- //
- // This value controls whether the "Processing Math: nn%" message are displayed
- // in the lower left-hand corner. Set to "false" to prevent those messages (though
- // file loading and other messages will still be shown).
- //
- showProcessingMessages: true,
-
- //
- // This value controls the verbosity of the messages in the lower left-hand corner.
- // Set it to "none" to eliminate all messages, or set it to "simple" to show
- // "Loading..." and "Processing..." rather than showing the full file name and the
- // percentage of the mathematics processed.
- //
- messageStyle: "normal",
-
- //
- // These two parameters control the alignment and shifting of displayed equations.
- // The first can be "left", "center", or "right", and determines the alignment of
- // displayed equations. When the alignment is not "center", the second determines
- // an indentation from the left or right side for the displayed equations.
- //
- displayAlign: "center",
- displayIndent: "0em",
-
- //
- // Normally MathJax will perform its starup commands (loading of
- // configuration, styles, jax, and so on) as soon as it can. If you
- // expect to be doing additional configuration on the page, however, you
- // may want to have it wait until the page's onload hander is called. If so,
- // set this to "onload".
- //
- delayStartupUntil: "none",
-
- //
- // Normally MathJax will typeset the mathematics on the page as soon as
- // the page is loaded. If you want to delay that process, in which case
- // you will need to call MathJax.Hub.Typeset() yourself by hand, set
- // this value to true.
- //
- skipStartupTypeset: false,
-
- //============================================================================
- //
- // These parameters control the tex2jax preprocessor (when you have included
- // "tex2jax.js" in the extensions list above).
- //
- tex2jax: {
-
- //
- // The Id of the element to be processed (defaults to full document)
- //
- element: null,
-
- //
- // The delimiters that surround in-line math expressions. The first in each
- // pair is the initial delimiter and the second is the terminal delimiter.
- // Comment out any that you don't want, but be sure there is no extra
- // comma at the end of the last item in the list -- some browsers won't
- // be able to handle that.
- //
- inlineMath: [
-// ['$','$'], // uncomment this for standard TeX math delimiters
- ['\\(','\\)']
- ],
-
- //
- // The delimiters that surround displayed math expressions. The first in each
- // pair is the initial delimiter and the second is the terminal delimiter.
- // Comment out any that you don't want, but be sure there is no extra
- // comma at the end of the last item in the list -- some browsers won't
- // be able to handle that.
- //
- displayMath: [
- ['$$','$$'],
- ['\\[','\\]']
- ],
-
- //
- // This array lists the names of the tags whose contents should not be
- // processed by tex2jax (other than to look for ignore/process classes
- // as listed below). You can add to (or remove from) this list to prevent
- // MathJax from processing mathematics in specific contexts.
- //
- skipTags: ["script","noscript","style","textarea","pre","code"],
-
- //
- // This is the class name used to mark elements whose contents should
- // not be processed by tex2jax (other than to look for the
- // processClass pattern below). Note that this is a regular
- // expression, and so you need to be sure to quote any regexp special
- // characters. The pattern is automatically preceeded by '(^| )(' and
- // followed by ')( |$)', so your pattern will have to match full words
- // in the class name. Assigning an element this class name will
- // prevent `tex2jax` from processing its contents.
- //
- ignoreClass: "tex2jax_ignore",
-
- //
- // This is the class name used to mark elements whose contents SHOULD
- // be processed by tex2jax. This is used to turn on processing within
- // tags that have been marked as ignored or skipped above. Note that
- // this is a regular expression, and so you need to be sure to quote
- // any regexp special characters. The pattern is automatically
- // preceeded by '(^| )(' and followed by ')( |$)', so your pattern
- // will have to match full words in the class name. Use this to
- // restart processing within an element that has been marked as
- // ignored above.
- //
- processClass: "tex2jax_process",
-
- //
- // Set to "true" to allow \$ to produce a dollar without starting in-line
- // math mode. If you uncomment the ['$','$'] line above, you should change
- // this to true so that you can insert plain dollar signs into your documents
- //
- processEscapes: false,
-
- //
- // Controls whether tex2jax processes LaTeX environments outside of math
- // mode. Set to "false" to prevent processing of environments except within
- // math mode.
- //
- processEnvironments: true,
-
- //
- // Controls whether tex2jax inserts MathJax_Preview spans to make a
- // preview available, and what preview to use, when it locates in-line
- // and display mathetics on the page. The default is "TeX", which
- // means use the TeX code as the preview (until it is processed by
- // MathJax). Set to "none" to prevent the previews from being
- // inserted (the math will simply disappear until it is typeset). Set
- // to an array containing the description of an HTML snippet in order
- // to use the same preview for all equations on the page (e.g., you
- // could have it say "[math]" or load an image).
- //
- // E.g., preview: ["[math]"],
- // or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]
- //
- preview: "TeX"
-
- },
-
- //============================================================================
- //
- // These parameters control the mml2jax preprocessor (when you have included
- // "mml2jax.js" in the extensions list above).
- //
- mml2jax: {
-
- //
- // The Id of the element to be processed (defaults to full document)
- //
- element: null,
-
- //
- // Controls whether mml2jax inserts MathJax_Preview spans to make a
- // preview available, and what preview to use, whrn it locates
- // mathematics on the page. The default is "alttext", which means use
- // the <math> tag's alttext attribute as the preview (until it is
- // processed by MathJax), if the tag has one. Set to "none" to
- // prevent the previews from being inserted (the math will simply
- // disappear until it is typeset). Set to an array containing the
- // description of an HTML snippet in order to use the same preview for
- // all equations on the page (e.g., you could have it say "[math]" or
- // load an image).
- //
- // E.g., preview: ["[math]"],
- // or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]
- //
- preview: "alttext"
-
- },
-
- //============================================================================
- //
- // These parameters control the jsMath2jax preprocessor (when you have included
- // "jsMath2jax.js" in the extensions list above).
- //
- jsMath2jax: {
-
- //
- // The Id of the element to be processed (defaults to full document)
- //
- element: null,
-
- //
- // Controls whether jsMath2jax inserts MathJax_Preview spans to make a
- // preview available, and what preview to use, when it locates
- // mathematics on the page. The default is "TeX", which means use the
- // TeX code as the preview (until it is processed by MathJax). Set to
- // "none" to prevent the previews from being inserted (the math will
- // simply disappear until it is typeset). Set to an array containing
- // the description of an HTML snippet in order to use the same preview
- // for all equations on the page (e.g., you could have it say "[math]"
- // or load an image).
- //
- // E.g., preview: ["[math]"],
- // or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]
- //
- preview: "TeX"
-
- },
-
- //============================================================================
- //
- // These parameters control the TeX input jax.
- //
- TeX: {
-
- //
- // This specifies the side on which \tag{} macros will place the tags.
- // Set to "left" to place on the left-hand side.
- //
- TagSide: "right",
-
- //
- // This is the amound of indentation (from right or left) for the tags.
- //
- TagIndent: ".8em",
-
- //
- // This is the width to use for the multline environment
- //
- MultLineWidth: "85%",
-
- //
- // List of macros to define. These are of the form
- // name: value
- // where 'value' is the replacement text for the macro \name.
- // The 'value' can also be [value,n] where 'value' is the replacement
- // text and 'n' is the number of parameters for the macro.
- // Note that backslashes must be doubled in the replacement string.
- //
- // E.g.,
- //
- // Macros: {
- // RR: '{\\bf R}',
- // bold: ['{\\bf #1}', 1]
- // }
- //
- Macros: {}
-
- },
-
- //============================================================================
- //
- // These parameters control the MathML inupt jax.
- //
- MathML: {
- //
- // This specifies whether to use TeX spacing or MathML spacing when the
- // HTML-CSS output jax is used.
- //
- useMathMLspacing: false
- },
-
- //============================================================================
- //
- // These parameters control the HTML-CSS output jax.
- //
- "HTML-CSS": {
-
- //
- // This controls the global scaling of mathematics as compared to the
- // surrounding text. Values between 100 and 133 are usually good choices.
- //
- scale: 100,
-
- //
- // This is a list of the fonts to look for on a user's computer in
- // preference to using MathJax's web-based fonts. These must
- // correspond to directories available in the jax/output/HTML-CSS/fonts
- // directory, where MathJax stores data about the characters available
- // in the fonts. Set this to ["TeX"], for example, to prevent the
- // use of the STIX fonts, or set it to an empty list, [], if
- // you want to force MathJax to use web-based or image fonts.
- //
- availableFonts: ["STIX","TeX"],
-
- //
- // This is the preferred font to use when more than one of those
- // listed above is available.
- //
- preferredFont: "TeX",
-
- //
- // This is the web-based font to use when none of the fonts listed
- // above are available on the user's computer. Note that currently
- // only the TeX font is available in a web-based form. Set this to
- //
- // webFont: null,
- //
- // if you want to prevent the use of web-based fonts.
- //
- webFont: "TeX",
-
- //
- // This is the font to use for image fallback mode (when none of the
- // fonts listed above are available and the browser doesn't support
- // web-fonts via the @font-face CSS directive). Note that currently
- // only the TeX font is available as an image font. Set this to
- //
- // imageFont: null,
- //
- // if you want to prevent the use of image fonts (e.g., you have not
- // installed the image fonts on your server). In this case, only
- // browsers that support web-based fonts will be able to view your pages
- // without having the fonts installed on the client computer. The browsers
- // that support web-based fonts include: IE6 and later, Chrome, Safari3.1
- // and above, Firefox3.5 and later, and Opera10 and later. Note that
- // Firefox3.0 is NOT on this list, so without image fonts, FF3.0 users
- // will be required to to download and install either the STIX fonts or the
- // MathJax TeX fonts.
- //
- imageFont: "TeX",
-
- //
- // This controls whether the MathJax contextual menu will be available
- // on the mathematics in the page. If true, then right-clicking (on
- // the PC) or control-clicking (on the Mac) will produce a MathJax
- // menu that allows you to get the source of the mathematics in
- // various formats, change the size of the mathematics relative to the
- // surrounding text, and get information about MathJax.
- //
- // Set this to false to disable the menu. When true, the MathMenu
- // items below configure the actions of the menu.
- //
- showMathMenu: true,
-
- //
- // This allows you to define or modify the styles used to display
- // various math elements created by MathJax.
- //
- // Example:
- // styles: {
- // ".MathJax_Preview": {
- // "font-size": "80%", // preview uses a smaller font
- // color: "red" // and is in red
- // }
- // }
- //
- styles: {},
-
- //
- // Configuration for <maction> tooltips
- // (see also the #MathJax_Tooltip CSS in MathJax/jax/output/HTML-CSS/config.js,
- // which can be overriden using the styles values above).
- //
- tooltip: {
- delayPost: 600, // milliseconds delay before tooltip is posted after mouseover
- delayClear: 600, // milliseconds delay before tooltip is cleared after mouseout
- offsetX: 10, offsetY: 5 // pixels to offset tooltip from mouse position
- }
- },
-
- //============================================================================
- //
- // These parameters control the NativeMML output jax.
- //
- NativeMML: {
-
- //
- // This controls the global scaling of mathematics as compared to the
- // surrounding text. Values between 100 and 133 are usually good choices.
- //
- scale: 100,
-
- //
- // This controls whether the MathJax contextual menu will be available
- // on the mathematics in the page. If true, then right-clicking (on
- // the PC) or control-clicking (on the Mac) will produce a MathJax
- // menu that allows you to get the source of the mathematics in
- // various formats, change the size of the mathematics relative to the
- // surrounding text, and get information about MathJax.
- //
- // Set this to false to disable the menu. When true, the MathMenu
- // items below configure the actions of the menu.
- //
- // There is a separate setting for MSIE, since the code to handle that
- // is a bit delicate; if it turns out to have unexpected consequences,
- // you can turn it off without turing off other browser support.
- //
- showMathMenu: true,
- showMathMenuMSIE: true,
-
- //
- // This allows you to define or modify the styles used to display
- // various math elements created by MathJax.
- //
- // Example:
- // styles: {
- // ".MathJax_MathML": {
- // color: "red" // MathML is in red
- // }
- // }
- //
- styles: {}
- },
-
- //============================================================================
- //
- // These parameters control the contextual menus that are available on the
- // mathematics within the page (provided the showMathMenu value is true above).
- //
- MathMenu: {
- //
- // This is the hover delay for the display of submenus in the
- // contextual menu. When the mouse is still over a submenu label for
- // this long, the menu will appear. (The menu also will appear if you
- // click on the label.) It is in milliseconds.
- //
- delay: 400,
-
- //
- // This is the URL for the MathJax Help menu item.
- //
- helpURL: "http://www.mathjax.org/help/user/",
-
- //
- // These control whether the "Math Renderer", "Font Preferences",
- // and "Contextual Menu" submenus will be displayed or not.
- //
- showRenderer: true,
- showFontMenu: false,
- showContext: false,
-
- //
- // These are the settings for the Show Source window. The initial
- // width and height will be reset after the source is shown in an
- // attempt to make the window fit the output better.
- //
- windowSettings: {
- status: "no", toolbar: "no", locationbar: "no", menubar: "no",
- directories: "no", personalbar: "no", resizable: "yes", scrollbars: "yes",
- width: 100, height: 50
- },
-
- //
- // This allows you to change the CSS that controls the menu
- // appearance. See the extensions/MathMenu.js file for details
- // of the default settings.
- //
- styles: {}
-
- },
-
- //============================================================================
- //
- // These parameters control the MMLorHTML configuration file.
- // NOTE: if you add MMLorHTML.js to the config array above,
- // you must REMOVE the output jax from the jax array.
- //
- MMLorHTML: {
- //
- // The output jax that is to be preferred when both are possible
- // (set to "MML" for native MathML, "HTML" for MathJax's HTML-CSS output jax).
- //
- prefer: {
- MSIE: "MML",
- Firefox: "MML",
- Opera: "HTML",
- other: "HTML"
- }
- }
-});
-
-MathJax.Ajax.loadComplete("[MathJax]/config/MathJax.js");
View
37 lib/gollum/frontend/public/javascript/MathJax/config/local/local.js
@@ -1,37 +0,0 @@
-/*************************************************************
- *
- * MathJax/config/local/local.js
- *
- * Include changes and configuration local to your installation
- * in this file. For example, common macros can be defined here
- * (see below). To use this file, add "local/local.js" to the
- * config array in MathJax.js or your MathJax.Hub.Config() call.
- *
- * ---------------------------------------------------------------------
- *
- * Copyright (c) 2009 Design Science, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
- var TEX = MathJax.InputJax.TeX;
-
- // place macros here. E.g.:
- // TEX.Macro("R","{\\bf R}");
- // TEX.Macro("op","\\mathop{\\rm #1}",1); // a macro with 1 parameter
-
-});
-
-MathJax.Ajax.loadComplete("[MathJax]/config/local/local.js");
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/FontWarnings.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/FontWarnings.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['(','function','(d,g){var f="1.0";var b=d.Insert({','messageStyle',':{position:"','fixed",bottom:"4em",left:"3em",width:"40em",border:"3px solid #880000','","background-color":"#','E0E0E0",padding:"1em","font-size":"small","white-space":"normal","','border-radius":".','75em','","-webkit-',8,9,'","-moz-',8,9,'","-khtml-',8,9,'","','box-shadow":"4px 4px 10px #AAAAAA',10,20,13,20,16,20,'",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=3, OffY=3, Color=\'gray\', Positive=\'true\')"},Message:{webFont',':[["closeBox"],"MathJax is ','using',' web-based fonts',' to display',' the mathematics',' ","on this page. These take time to download, so the page would","render faster if you installed math fonts directly in your ","system\'s font folder.",["fonts"]],imageFonts',28,'using its',' image fonts',' rather than local or',30,'. ","This will render slower than usual, and',32,' may not print ","at the full resolution of your printer','.",["fonts"],["webfonts','"]],noFonts',28,'unable to locate a font to use',31,' ","its mathematics, and',36,' are not available, so it ","is falling back on generic unicode characters in hopes that ","your browser will be able',31,' them. Some characters ","may not show up properly, or possibly not at all',42,'"]]},HTML:{closeBox:[["div",{style',4,'absolute",overflow:"hidden",top:".1em",right:".1em",border:"1px outset",width:"1em",height:"1em","text-align":"center",cursor:"pointer',6,'EEEEEE",color:"#606060","',8,'5em',10,8,'5em',13,8,'5em',16,8,'5em"},onclick:',1,'(){if(c.div&&c.fade===0){if(c.timer){clearTimeout(c.timer)}','c.div.style.display="none','"}}},[["span",{style',4,'relative",bottom:".2em"}},["x"]]]]],webfonts:[["p"],"Most modern browsers allow for fonts to be downloaded over the web. ","Updating to a more recent version of your browser (or changing browsers) ","could improve the quality of',32,' on this page."],fonts:[["p"],"MathJax can use either',' the ",["a",{href:"http://www.stixfonts.org/",target:"_blank"},"STIX fonts','"]," or',' the ",["a",{href:"http://www.mathjax.org/help/fonts/",target:"_blank"},["MathJax TeX fonts"]],". Download and install ','either one',' to improve your MathJax experience','."],STIXfonts:[["p"],"This page is designed to use',77,'"],". Download and install those fonts',81,'."],TeXfonts:[["p"],"This page is designed to use',79,'those fonts',81,'."]},','removeAfter',':12*1000,','fadeoutSteps',':10,','fadeoutTime',':1.5*1000},(d.config.FontWarnings||{}));var c={div:null,fade:0};var a=',1,'(k){if(c.div){return}','var h=MathJax.OutputJax["HTML-CSS"],l=','document.body',';if(d.Browser.isMSIE){if(b.',3,'.position','==="fixed"){MathJax.Message.Init();l=document.getElementById("MathJax_MSIE_frame");b.',3,103,'="absolute"}}else{delete b.',3,'.filter}b.',3,'.maxWidth=(',100,'.clientWidth-75)+"px";var j=0;while(j<k.length){if(k[j] instanceof Array&&b.HTML[k[j][0]]){k.splice.apply(k,[j,1].concat(b.HTML[k[j][0]]))}else{j++}}c.div=h.addElement(l,"div",{id:"MathJax_FontWarning",style:b.',3,'},k);if(b.',91,'){d.Register.StartupHook("End",',1,'(){c.timer=','setTimeout(e,b.',91,')})}g.Cookie.Set("fontWarn",{warned:true})};var e=',1,'(){c.fade++;if(c.timer){delete c.timer}if(c.fade<b.',93,'){var h=1-c.fade/b.',93,';c.div.style.','opacity=h',128,'filter="alpha(opacity="+Math.floor(100*h)+")";',120,95,'/b.',93,')}else{',71,'"}};if(!g.Cookie.Get("fontWarn").warned){d.Startup.signal.Interest(',1,'(k){if(k.match(/HTML-CSS Jax - /)&&!c.div){',99,'h.config.availableFonts,j;var i=(l&&l.length);if(!i){b.HTML.fonts=[""]}else{if(l.length===1){b.HTML.fonts=b.HTML[l[0]+"fonts"]}}if(h.allowWebFonts){b.HTML.webfonts=[""]}','if(k.match(/- ','Web-Font/)){if(i){j="webFont"}}else{',143,'using',36,'/)){j="imageFonts"}else{',143,'no valid font/)){j="noFonts"}}}if(j&&b.Message[j]){a(b.Message[j])}}})}})(MathJax.Hub,MathJax.HTML);MathJax.Ajax.loadComplete("[MathJax]/extensions/FontWarnings.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/MathMenu.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/MathMenu.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['(','function(','b,c,f','){var ','k="1.0.1";var i=','b.Browser.','isPC,g=',5,'isMSIE;var e=(i?null:"5px");var j=b.Insert({delay:150,helpURL',':"http://www.mathjax.org','/help/user/",','showRenderer',':true,','showFontMenu',':false,','showContext',14,'windowSettings',':{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:100,height:50},styles:{".','MathJax_Menu','":{','position:"absolute','","','background-color','":"white",color:"black",width:"auto",','padding:(i?"2px','":"5px 0px"),border:"','1px solid #CCCCCC','",margin:0,','cursor:"default','",font:"menu","','text-align":"','left","text-indent":0,"text-transform','":"none","','line-height','":"normal","','letter-','spacing":"normal","word-',37,'wrap',35,'white-space":"nowrap","float',33,'z-index":','201,"','border-radius":e',',"-webkit-',45,',"-moz-',45,',"-khtml-',45,',"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color=\'gray\', Positive=\'true','\')"},".','MathJax_MenuItem','":{',25,' 2em":"1px 2em"),background:"transparent','"},".','MathJax_MenuTitle','":{"',23,'":"#CCCCCC",margin:(i?"-1px -1px 1px -1px":"-5px 0 0 0"),"',31,'center","','font-style":"italic','","font-size":"','80%",color:"#444444",padding:"2px 0",overflow:"hidden',58,'MathJax_MenuArrow','":{',21,'",right:".5em",color:"#666666','","font-family":(g?"\'Arial unicode MS\'":null)},".','MathJax_MenuActive',' .',69,'":{color:"','white',58,'MathJax_MenuCheck','":{',21,'",left:".7em',73,'MathJax_MenuRadioCheck','":{',21,'",left:(i?"1em":".7em")},".','MathJax_MenuLabel','":{',25,' 2em 4px 1.33em":"1px 2em 3px 1.33em"),"',65,58,'MathJax_MenuRule',60,'border-top":(i?"',27,'":"1px solid #DDDDDD"),margin:(i?"4px 1px 0px":"4px 3px")},".','MathJax_MenuDisabled',77,'GrayText',58,74,60,23,'":(i?"Highlight":"#606872"),color:(i?"HighlightText":"white")}}},(b.config.MathMenu||{}));var d=',1,'l){if(!l){l=window.event}if(','l){if(','l.preventDefault','){',111,'()}if(','l.stopPropagation','){',115,'()}l.cancelBubble=true;l.returnValue=false}','return ','false};var a=','MathJax.','Menu','=MathJax.Object.Subclass({','version:k,items:[],posted',14,'title:null,margin:5,Init:',1,'l){this.items=[].','slice.call(arguments,','0)},With:',1,'l){if(l){b.Insert(this,l)}return this},','Post:',1,'n,v','){if(!n){n=window.event}','var t=(!this.title?null:[["div",{','className:"',59,'"},[this.','title]]]);var l','=document.getElementById("MathJax_MenuFrame','");if(!l){l','=a.Background(','this)}var o=c','.addElement(','l',',"div",{','onmouseup:a.Mouseup,','ondblclick',':this.False,ondragstart:this.False,onselectstart:this.False,','oncontextmenu',':this.False,','menuItem',':this,',138,19,'"},t);for(var q=0,p=this.items.length;q<p;q++){this.items[q].Create(o)}this.posted=true;o','.style.width','=(o.','offsetWidth','+2)+"px";var u=n.pageX,s=n.pageY;if(!u&&!s){u=n.clientX+','document.body.','scrollLeft+','document.documentElement','.scrollLeft;s=n.clientY+',163,'scrollTop','+',165,'.',168,'}if(!v){if(u+o.',161,'>',163,161,'-this.margin','){u=',163,161,'-o.',161,178,'}a.skipUp=true}else{var r="left",w=v.',161,';u=v.',161,'-2;s=0;while(v&&v!==l){u+=v.offsetLeft;s+=v.offsetTop;v=v.parentNode}if(u+o.',161,'>',163,161,178,'){r="right";u=Math.max(this.margin,u-w-o.',161,'+6)}if(!i){o.style["borderRadiusTop','"+r]=0;o.style["','WebkitBorderRadiusTop',198,'MozBorderRadiusTop',198,'KhtmlBorderRadiusTop"+r]=0}}o.style.left=u+"px";o.style.top=s+"px";if(','document.selection','&&',204,'.empty){',204,'.empty()}','return this.False(','n)},Remove:',1,'l,m){','var n',142,'");if(n){n.','parentNode.removeChild(','n',');if(this.','msieBackgroundBug','){detachEvent("onresize",a.Resize)}}},Mouseup:',1,213,'if(a.skipUp){','delete ','a.skipUp}else{','this.Remove(l,m',')}},False:d},{config:j,div:null,Remove:',1,'l){a.Event(l,this,"','Remove")},Mouseover:',1,230,'Mouseover")},Mouseout:',1,230,'Mouseout")},Mousedown:',1,230,'Mousedown")},Mouseup:',1,230,'Mouseup")},Mousemove:',1,230,'Mousemove")},Event:',1,'n,o,l',136,'var m=o.',154,';if(m&&m[l]){',119,'m[l](n,o)}',119,'null},BGSTYLE:{',21,'",left:0,top:0,"',43,'200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:',1,'m',3,'n=c',146,'document.','body,"','div",{style:this.BGSTYLE,','id:"MathJax_MenuFrame"},[["',268,154,':m,','onmousedown',':this.Remove}]]);var l=n.','firstChild',';if(m.',220,'){l.style.backgroundColor="white";l.style.filter="alpha(opacity=0)";n.width=n.height=0;this.Resize();attachEvent("onresize",this.Resize)}else{l','.style.position="','fixed"}',119,'n},Resize:','function(){','setTimeout(','a.SetWH,0)},SetWH:','function(){var ','l',142,'");if(l){l=l.',275,';l',159,'=l.style.height="1px";l',159,'=',163,'scrollWidth+"px";l.style.height=',163,'scrollHeight','+"px"}},saveCookie:',283,'c.Cookie.Set("menu",this.cookie)},getCookie:',283,'this.cookie=c.Cookie.Get("menu")}});var h=a.ITEM',123,'name:"",Create:',1,'m){if(!','this.hidden',3,'l={onmouseover:a.Mouseover,onmouseout:a.Mouseout,',149,273,151,'onselectend',153,138,54,'",',154,':this};if(this.disabled){','l.className+=" ',100,'"}c',146,'m,"div",l,this.Label(l,m))}},Mouseover:',1,'q,s','){if(!this.disabled){','this.Activate(s)}','if(!this.menu||!this.menu.posted){','var r',142,'").childNodes,','n=s','.parentNode.childNodes;for(var ','o=0,l=n.length;o<l;o++){var p=n[o].',154,';if(p&&p.menu&&p','.menu.posted){','p.Deactivate(n[o])}}l=r','.length-1;while(l>=0','&&s','.parentNode.',154,'!==r[l].',154,'){r[l].',154,'.posted=false;','r[l].',217,'r[l]);l--}if(this.Timer){this.Timer(q,s)}}},Mouseout:',1,213,331,'this.Deactivate(','m)}','if(this.timer){clearTimeout(this.timer',');delete this.timer','}},Mouseup:',1,213,119,227,')},Remove:',1,213,'m=m',344,154,';',119,'m.Remove(l,m)},Activate:',1,'l){',357,'l);',322,74,'"},Deactivate:',1,'l){l.className=l.className.replace(/ ',74,'/,"")},With:',1,132,'False:d});a.ITEM.COMMAND','=a.ITEM.Subclass({','action:function(){},Init:',1,'l,n',',m){this.name=l;this.','action=n;this.With(m)},Label:',1,213,'return[this.name',']},Mouseup:',1,'l,m',329,227,');this.action.call(this,l)}',210,'l',')}});a.ITEM.','SUBMENU',389,'menu:null,marker:(i&&!',5,'isSafari?"\\u25B6":"\\u25B8"),Init:',1,'l,n){this.name=l;var m=1;if(!(n instanceof a.ITEM)){this.With(n),m++}this.menu=a.apply(a,[].',129,'m))},Label:',1,213,'l.onmousemove=a.Mousemove;this.menu',350,397,'+" ",["span",{',138,69,140,'marker]]]},Timer:',1,213,359,')}l={clientX:l.clientX,clientY:l.clientY};this.timer=',284,121,'Callback(["Mouseup",this,l,m]),j.delay)},Mouseup:',1,'n,p',329,'if(!this',340,359,360,'}this.menu.Post(n,p)}else{var o',142,334,'l=o',342,3,'q=o[l];q.',154,350,'q.',217,'q);if(q.',154,'===this.menu){break}l--}}}',210,'n',406,'RADIO',389,'variable:null,marker',':(i?"\\u25CF":"\\u2713"),Init:',1,'m,l,n){this.name=m;this.variable=l;this.With(n',219,'value==null){this.value=this.name}},Label:',1,'m,n){var l={className:"',85,'"};if(','j.settings[this.variable',']!==this.value){l={','style:{display:"','none"}}}return[["span",l,[this.marker]]," "+this.name]},Mouseup:',1,'p,q',329,'var r=q',336,'n=0,l=r.length;n<l;n++){var o=r[n].',154,';if(o&&o.variable===this.variable){r[n].',275,'.style.display="none"}}q.',275,'.display="";',469,']=this.value;a.cookie','[this.variable]=',469,'];a.saveCookie();if(this.action){this.action.call(a)}}this.Remove(','p,q);',210,'p',406,'CHECKBOX',389,459,':"\\u2713",Init:',1,462,')},Label:',1,466,80,'"};if(!',469,']){l={',471,'none"}}}return[["span",l,[this.marker]]," "+this.name]},Mouseup:',1,'l,m',329,'m.',275,'.display=(',469,']?"none":"");',469,']=!',469,'];a.cookie',487,469,489,'l,m);',210,'l',406,'LABEL',389,'Init:',1,'l',393,'With(m)},Label:',1,'l,m){delete l.onmouseover,delete l.onmouseout;delete l.onmousedown;l.className+=" ',89,'";',397,']}});a.ITEM.RULE',389,'Label:',1,536,95,'";',119,'null}});a.About=',286,'o=','MathJax.OutputJax','["HTML-CSS','"]||{fontInUse:""};var q=(o.webFonts?"":"local "),m=(o.webFonts?" web":"");var n=(o.imgFonts?"Image":q+o.fontInUse+m);var l=[];','a.About.GetJax','(l,',121,'InputJax,"Input");',554,'(l,',551,',"Output");',554,'(l,',121,'ElementJax',',"Element");','a.About.div',144,'a.About);var r=',121,'HTML',146,567,148,'style:{position:"fixed",left:"50%",width:"auto","',31,'center",border:"3px outset",padding:"1em 2em","',23,'":"#DDDDDD",',29,'","font-family":"message-box',66,'120%","font-style',35,'text-indent":0,"text-transform',33,'line-height',35,'letter-',37,37,'wrap',35,'white-space":"nowrap","float',33,43,'201',52,'\')"},onclick:a.About.Remove},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+',121,'version,["br','"],"using "+n+" fonts",["br"],["br"],["span",{',471,'inline-block","',31,'left',66,'80%","',23,'":"#E4E4E4",padding:".4em .6em",border:"1px inset"}},l],["br"],["br"],["a",{href',9,'/"},["wwww.mathjax.org"]]]);var s=(',165,'||{});var p=window.innerHeight||s.clientHeight||s.',299,'||0;if(a.prototype.msieAboutBug){r',159,'="20em";r',279,'absolute";r.style.left=Math.floor((',165,'.scrollWidth-r.',161,')/','2)+"px";r.style.top','=(','Math.floor((p-r.offsetHeight)/3',')+',163,168,')+"px"}else{r.style.marginLeft=Math.floor(-r.',161,'/',625,'=',627,')+"px"}};a.About.Remove=',1,110,567,'){',163,'removeChild(',567,');',225,567,'}};',554,'=',1,'l,n,m){','for(var o in ','n){if(n[o].isa&&n[o].isa(n)){l.push(n[o].name+" "+m+" Jax v"+n[o].',601,'"])}}',119,'l};a.Help=',283,'window.open(j.helpURL,"MathJaxHelp")};a.ShowSource=',1,'n',136,'if(!a.jax){return}if(','j.settings.','format==="MathML"){var l=',121,565,'.mml;if(l&&typeof(l.mbase.prototype.toMathML)!=="undefined"){','a.ShowSource.','Text(a.jax.root.toMathML(),n)}else{if(!','f.loadingToMathML','){',672,'=true;var m={screenX:n.screenX,screenY:n.screenY};',670,'Window(n);','MathJax.Callback.Queue','(','f.Require("[MathJax]/extensions/','toMathML.js"),',283,225,672,'},[this,arguments.callee,m]);return}}}else{if','(a.jax.originalText','==null){alert("No TeX form available");return}',670,'Text',686,',n)}};',670,'Window=',1,308,670,'w',3,'n=[],l=j.',17,';',653,110,'l.hasOwnProperty(o)){n.push(o+"="+l[o])}}',670,'w=window.open("","_blank",n.join(","))}',119,670,'w};',670,'Text=',1,'r,q',3,'n=',670,'Window(q);r=r.replace(/^\\s*/,"").replace(/\\s*$/,"");r=r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");n.',266,'open();','n.document.write','("<html><head><title>MathJax Equation Source</title></head><body style=\'font-size:85%\'>");',720,'("<table><tr><td><pre>"+r+"</pre></td></tr></table>");',720,'("</body></html>");n.',266,'close();var p=n.',163,275,';var o=(n.outerHeight-n.innerHeight)||30,m=(n.outerWidth-n.innerWidth)||30;m','=Math.min(Math.floor(0.5*screen.','width),p.',161,'+m+25);o',731,'height),p.offsetHeight+o+25);n.resizeTo(m,o);if(q&&q.screenX!=null',3,'l','=Math.max(0,Math.min(q.','screenX-Math.floor(m/2),screen.width-m-20)),s',739,'screenY-Math.floor(o/2),screen.height-o-20));n.moveTo(l,s)}',225,670,'w};a.Scale=',286,'m=',551,552,'"],l=',551,'.NativeMML;var o=(m?m','.config.scale',':l',753,');var n=prompt("Scale all mathematics (compared to surrounding text) by",o+"%");if(n){if(n.match(/^\\s*\\d+\\s*%?\\s*$/)){n=parseInt(n);if(n){if(n!==o){if(m){m',753,'=n}if(l){l',753,'=n}a.cookie.scale=n;a.saveCookie();b.Reprocess()}}','else{alert("The scale should ','not be zero")}}',761,'be a perentage (e.g., 120%)")}}};a.Zoom=',283,'if(!',121,'Extension.MathZoom){',680,'MathZoom.js")}};a.Renderer=',286,'l=b.config.outputJax["jax/mml"];if(l[0]!==',665,'renderer','){',678,'(["Require','",f,"[MathJax]/','jax/output/"+',665,774,'+"/config.js"],[',286,'p=',551,'[',665,774,'];for(var o=0,n=l.length;o<n;o++){if(l[o]===p){l.splice(o,1);break}}l.unshift(p)}],["Reprocess",b])}};a.Font=',286,'l=',551,552,'"];if(!l){return}',266,'location.reload()};',5,'Select({MSIE:',1,'l',3,'m=(',266,'compatMode==="BackCompat");var n=l.versionAtLeast("8.0")&&',266,'documentMode>7;a.Augment({margin:20,',220,':(m||!n),msieAboutBug:m})}});j.settings=b.config.menuSettings;if(!',665,'format){',665,'format=(',121,'InputJax.TeX?"Original":"MathML")}if(typeof(',665,11,')!=="undefined"){j.',11,'=',665,11,'}if(typeof(',665,13,817,13,'=',665,13,'}if(typeof(',665,15,817,15,'=',665,15,'}a.getCookie();a.menu=a(h.COMMAND("Show Source",a.ShowSource),','h.SUBMENU("','Format",h.RADIO("MathML","format"),h.RADIO("Original","format",{value:"Original"})),h.RULE(),',839,'Settings",',839,'Zoom Trigger",h.RADIO("Hover','","zoom",{action:a.Zoom}),h.RADIO("','Click',845,'Double-Click',845,'No Zoom","zoom",{value:"None"}),h.','RULE(),h.','LABEL("Trigger Requires:"),h.CHECKBOX((',5,'isMac?"Option":"Alt"),"ALT"),h.CHECKBOX("Command","CMD",{hidden:!',5,'isMac}),h.CHECKBOX("','Control","CTRL",{hidden:',5,856,'Shift","Shift")),',839,'Zoom Factor",h.RADIO("125','%","zscale"),h.RADIO("','133',863,'150',863,'175',863,'200',863,'250',863,'300',863,'400%","zscale")),h.RULE(),',839,'Math Renderer','",{hidden:!j.',11,'},h.RADIO("','HTML-CSS','","renderer",{action:a.Renderer','}),h.RADIO("MathML',883,',value:"NativeMML"})),',839,'Font Preference',879,13,'},h.LABEL("For HTML-CSS:"),h.RADIO("Auto","','font",{action:a.Font}),h.',851,'RADIO("TeX (','local)","',892,894,'web)","',892,894,'image)","',892,851,'RADIO("STIX (local)","font",{action:a.Font})),',839,'Contextual Menu',879,15,881,'MathJax","context"),h.RADIO("Browser","context")),h.COMMAND("Scale All Math ...",a.Scale)),h.',851,'COMMAND("About MathJax",a.About),h.COMMAND("MathJax Help",a.Help));a.',11,'=',1,'l){a.cookie.',11,'=j.',11,'=l;a.saveCookie();a.menu.items[3].menu.','item[3','].hidden=!l};','a.',13,'=',1,916,13,'=j.',13,920,'items[4',922,'a.',15,'=',1,916,15,'=j.',15,920,'items[5',922,678,'(["Styles",f,j.styles],["Post",b.Startup.signal,"MathMenu Ready"],["loadComplete',778,'extensions/MathMenu.js"])})(',121,'Hub,',121,'HTML,',121,'Ajax);']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/MathZoom.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/MathZoom.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['(','function(','a,c,e,b,h){var i="1.0";var g=a.Insert({delay:400,styles:{"#','MathJax_Zoom','":{position:"absolute','","','background-color','":"#F0F0F0",overflow:"auto",display:"block","z-index":301,padding:".5em",border:"1px solid black",','margin:0,"','font-family":"serif","font-size":"85%","font-weight','":"normal","','font-style',10,'text-align":"left","text-indent":0,"text-transform":"none","line-height',10,'letter-spacing',10,'word-spacing',10,'word-wrap',10,'white-space":"nowrap","float":"none","','box-shadow":"5px 5px 15px #AAAAAA','","-webkit-',22,'","-moz-',22,'","-khtml-',22,'",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color=\'gray\', Positive=\'true\')"},"#','MathJax_ZoomOverlay',4,'",left:0,top:0',',"z-index":300,','display:"inline-block','",','width:"100%",height:"100%",','border:0,padding:0,',8,6,'":"','white",opacity:0',',filter:"alpha(opacity=0)"}}},(a.config.MathZoom||{}));var d=',1,'j){if(!j){j','=window.event}if(','j){if(','j.preventDefault','){',47,'()}if(','j.stopPropagation','){',51,'()}j.cancelBubble=true;j.returnValue=','false}','return false','};var f=MathJax.Extension.MathZoom={version:i,settings:a.config.menuSettings,HandleEvent:',1,'l,j,k){if(!l){l',45,'f.settings.CTRL&&!l.ctrlKey','){return true}if(f.settings.','ALT&&!l.altKey',62,'CMD&&!l.metaKey',62,'Shift&&!','l.shiftKey){','return true','}return f[j](l,k)},Click:',1,'k,j){','if(this.settings.','zoom==="','Click"){return this.Zoom(j,k)}},','DblClick',':',1,72,73,74,'Double-',75,'Mouseover:',1,72,73,74,'Hover"){','f.oldMouseOver','=j','.onmouseover',';j',92,'=null;j','.onmousemove=this.','Mousemove;j.','onmouseout=','this.Mouseout;','return f.Timer(','k,j)}},Mouseout:',1,'j){this',92,'=',90,';delete ',90,';this',96,98,'null;f.','ClearTimer();','return d(','j)},Mousemove:',1,'j){',100,'j||window.event,this)},Timer:',1,72,'this.',113,'this.timer','=','setTimeout(','MathJax.Callback','(["Zoom",this,j,{}]),g.delay);',114,'k)},ClearTimer:function(){if(',124,'){clearTimeout(',124,');delete ',124,'}},Zoom:',1,'s,l){this.',113,'this.Remove','();var v=s','.parentNode',';if(v','.className==="MathJax_MathContainer"){v=v.parentNode','}if(v',142,144,142,'}var q=(String(v.className).match(/^MathJax_(MathML|Display)$/)?v:s).','nextSibling',';var m=a.getJaxFor(q),r=m.root;var o=(b','&&m.outputJax.isa(','b','.constructor)?"','HTMLCSS":(h',152,'h',154,'MathML":null));if(!o){return}var j','=Math.floor(0.85*document.body.','clientWidth','),p',160,'clientHeight);var k=c.Element("span','",{style:{position:"','relative",',34,'",height:0,width:0},id:"','MathJax_ZoomFrame','"},[["','span",{id:"',30,'",onmousedown:',140,'}],["',171,3,'",onclick:',140,',style:{visibility:"hidden",fontSize:','this.settings.','zscale,"max-width":j+"px","max-height":p+"px"}},[["span"]]]]);var x=k.lastChild,u=x.firstChild,n=k.firstChild;s',142,'.insertBefore(k,s',');if(this','.msieZIndexBug','){var t=','c.Element("img",{','src:"about:blank','",id:"','MathJax_ZoomTracker','",','style:{width:0,height:0',',position:"relative"}});','document.body','.appendChild(','k);k','.style.position="absolute";','k.style.zIndex=g.styles["#',30,'"]["z-index"];k=t}var w=(this["Zoom"+o])(r,u,s);if(this','.msiePositionBug','){if(this.msieIE8Bug){u',198,'x','.style.height','=u','.offsetHeight',';u.style.position="";if(x',208,'<=p&&x','.offsetWidth','<=j){x.style.overflow="visible"}}if(this','.msieWidthBug','){x','.style.width','=Math.min(j,','w.w)}else{if(w.w>j){x',216,'=j}}if(x',208,'>p){x.style.Height=p+"px"}if(s.',150,'){s',142,184,'.',150,')}else{v',196,'k)}}else{if(this','.operaPositionBug','){x',216,217,'u',212,')+"px"}}this.Position(x,w,(o==="MathML"&&v.nodeName.toLowerCase()==="div"));x.style.visibility="";',73,74,89,'n',92,'=',140,'}','if(window.','addEventListener','){',248,'("resize",','this','.Resize,false)}else{if(window.','attachEvent){attachEvent("onresize",this','.Resize)}else{','this.onresize=','window.onresize',';',257,'=this.Resize','}}',114,'l)},ZoomHTMLCSS:',1,'o,q,p){q.className="MathJax";b.idPostfix="-zoom";b.getScales(q,q);o.toHTML(q,q);var r=o.HTMLspanElement().bbox;b.idPostfix="";if(r.width&&r.width!=="100%"){var j',160,161,');q',216,'=j+"px";q.style.display="inline-block";var k=(o.id||"MathJax-Span-"+o.spanID)+"-zoom";var l=','document.getElementById','(k).firstChild;while(l&&l',216,'!==r.width){l=l.',150,'}if(l){l',216,'="100%"}}q',196,'this.topImg);var ','n=this.topImg.offsetTop;','q','.removeChild(',280,'m=(this',214,'?b.getW(p)*b.em:p',212,');return{w:r.w*b.em,Y:-n,W:m}},ZoomMathML:',1,'k,l,m){k.toNativeMML(l,l);var n;l',196,'this.topImg);',281,'l',283,280,'j=(this.ffMMLwidthBug?m',142,':m).offsetWidth;return{w:l',212,',Y:-n,W:j}},Position:',1,'p,n,r){var k',260,'(),m=k.x,l=k.y,j=n.W;if(this',202,'){j=-j}if(r&&this','.ffMMLcenterBug','){j=0}var q=-Math.floor((p',212,'-j)/2),o=n.Y;p.style.left=Math.max(q,20-m)+"px";p.style.top=Math.max(o,20-l)+"px"},Resize:',1,'l){if(f.onresize){f.onresize(l)}var j=0,o=0,n=',271,'("',169,'"),k=',271,'("',30,'");var m=(f',186,'?',271,'("',191,'"):n);if(f',232,'){n','.style.border="1px solid"}','if(m.offsetParent){do{j+=m.offsetLeft;o+=m.offsetTop}while(m=m.offsetParent)}if(f',232,'){n.style.','border=""}if(f',186,334,'left=j+"px";n.style.top=o+"px"}k.style.left=(-j)+"px";k.style.top=(-o)+"px";if(f',202,'){',126,'f.SetWH,0)}else{f.SetWH()}return{x:j,y:o}},SetWH:function(){var j=',271,'("',30,'");j',216,'=j',206,'="1px";j',216,'=',195,'.scrollWidth+"px";j',206,'=',195,'.scrollHeight+"px"},Remove:',1,'k){var l=',271,'("',169,'");if(l){l',142,283,'l);l=',271,'("',191,'");if(l){l',142,283,'l)}if(','f.operaRefreshBug','){var j=c.addElement(',195,',"div',165,'fixed',32,',',36,'backgroundColor:"',41,'},id:"MathJax_OperaDiv"});',195,283,'j)}',247,'removeEventListener','){',391,251,'f',253,'detachEvent){detachEvent("onresize",f',255,257,'=f.onresize;delete f.onresize}}}',114,'k)}};','a.Register.StartupHook("','HTML-CSS',' Jax Ready",function(){','b=','MathJax.OutputJax','["HTML-CSS','"];b','.Augment({HandleEvent:f.HandleEvent','})});',403,'NativeMML',405,'h=',407,'.',413,';h',410,',MSIEmouseup:',1,'l,k,j){if(this.','trapUp){delete this.trapUp;',69,'}if(','this.MSIEzoomKeys(l)){return ','true}',56,'},MSIEclick:',1,423,'trapClick){delete this.trapClick;',69,'}if(!',427,55,'if(!',181,'zoom.match(/Click/)){',56,'}','return(f.','Click','(l,k)===false)},','MSIEdblclick:',1,'l,',72,'if(!',427,55,443,76,445,'MSIEmouseover',':function(l,k,j){if(this.settings.zoom!=="Hover"){return false}f.','Timer(l,k);',69,'},MSIEmouseout',457,113,69,'},MSIEmousemove',457,'Timer(l,k);',69,'},MSIEzoomKeys:',1,'j){',73,'CTRL&&!j.ctrlKey){',56,'}',73,'CMD&&!j.metaKey){',56,'}',73,'ALT&&!j.altKey){',56,'}',73,67,'j.shiftKey){',56,'}',69,'}})});a.Browser.Select({MSIE:',1,'j){var k=(document.compatMode==="BackCompat");var l=j.versionAtLeast("8.0")&&document.documentMode>7;f',202,'=true;f',214,'=!k;f.msieIE8Bug=l;f',186,'=!l;','f.msieInlineBlockAlignBug','=(!l||k)},Opera:',1,'j){f',232,'=true;',375,'=true},Firefox:',1,'j){f.ffMMLwidthBug=true;f',309,'=true}});f.topImg=(',498,'?',188,193,'},',189,'"}):c.Element("span",{',193,',',34,'"}}));if(f',232,'){f.topImg',331,127,'.Queue(["Styles",e,g.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",e,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,',407,408,'"],',407,'.NativeMML);']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/AMSmath.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.','Hub.','Register.StartupHook("TeX Jax Ready",','function(){var ','e="1.0";var a=',0,'ElementJax.mml;var f=',0,'InputJax.TeX;var c=','f.Definitions',';var d=f.Stack.Item;var b=','function(','g){','return ','g.join("em ")+"em"};',0,1,'Insert(c,{macros:{mathring:["Accent","2DA"],nobreakspace:"Tilde",negmedspace',':["Spacer",a.LENGTH.','NEGATIVEMEDIUMMATHSPACE],negthickspace',18,'NEGATIVETHICKMATHSPACE],intI',':["Macro","\\\\','mathchoice{\\\\!}{}{}{}\\\\!\\\\!\\\\int"],iiiint',':["MultiIntegral","\\\\int\\\\','intI\\\\intI\\\\intI"],idotsint',24,'cdots\\\\int"],dddot',':["Macro","\\\\mathop','{#1}\\\\limits^{\\\\textstyle \\\\mathord{.}\\\\mathord{.}\\\\mathord','{.}}",1],ddddot',28,29,'{.}\\\\mathord{.}}",1],sideset',28,'{\\\\mathop{\\\\rlap{\\\\phantom{#3}}}\\\\nolimits#1\\\\!\\\\mathop{#3}\\\\nolimits#2}",3],boxed',22,'fbox{$\\\\','displaystyle','{#1}$}",1],tag:"HandleTag",notag:"HandleNoTag",substack',22,'begin{subarray}{c}#1\\\\end{subarray}",1],injlim',28,'{\\\\rm inj\\\\,lim}"],projlim',28,'{\\\\rm proj\\\\,lim}"],varliminf',28,'{\\\\underline','{\\\\rm lim}}"],','varlimsup',28,'{\\\\overline',48,'varinjlim',28,'{\\\\underrightarrow','{\\\\rm lim\\\\Rule{-1pt}{0pt}{1pt}}\\\\Rule{0pt}{0pt}{.45em}}"],','varprojlim',28,'{\\\\underleftarrow',56,'DeclareMathOperator:"','HandleDeclareOp','",operatorname:"','HandleOperatorName','",genfrac:"Genfrac",frac:["Genfrac","","","",""],tfrac',':["Genfrac","","","",','1],dfrac',66,'0],binom',':["Genfrac","(",")","0em','",""],tbinom',70,'",1],dbinom',70,'",0],cfrac:"CFrac",shoveleft',':["HandleShove",a.ALIGN.','LEFT],shoveright',76,'RIGHT],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3]},environment:{align:["','AMSarray",null,','true,true',',"rlrlrlrlrlrl",b([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18','])],"align','*":["',80,'false,true',82,'])],','multline',':["','Multline",null,','true],"',89,84,91,'false],split:["',80,'false,false',',"rl",b([5/18])],gather:["',80,81,',"c"],"gather',84,80,86,',"c"],alignat:["','AlignAt",null,',81,'],"alignat',84,107,86,'],alignedat:["',107,98,'],aligned',':["Array",null,null,null',82,']),".5em","D"],gathered',117,',"c",null,".5em","D"],subarray',117,',null,b([0,0,0,0]),"0.1em","S",1],smallmatrix',117,',"c",b([1/3]),".2em","S",1]},delimiter:{"\\\\lvert":["2223",{','texClass:a.TEXCLASS.','OPEN}],"\\\\','rvert":["2223",{',126,'CLOSE}],"\\\\lVert":["2225",{',126,127,'rVert":["2225",{',126,'CLOSE}]}});f.Parse.Augment({HandleTag:',11,'h){var g','=this.trimSpaces(this.GetArgument(','h));if(','g==="*"){g','=this.GetArgument','(h)}else{g="("+g+")"}if(','this.stack.global.','notag','){f.Error(h+" ','not allowed in "+',143,'notag+" environment")}if(',143,'tag','){f.Error("','Multiple "+h)}',143,'tag=a.mtd','.apply(a,this.','InternalMath(g))},HandleNoTag:',11,'g){if(',143,'tag){delete ',143,'tag}},',62,':',11,137,'="";var i',138,139,'i=="*"){g="\\\\limits";i',138,'h))}if(i.charAt(0)=="\\\\"){i=i.substr(1)}var j',141,'(h);j=j','.replace(/\\*/g,"\\\\text{*}").replace(/-/g,"\\\\text{-}");',9,'.macros[i]=["Macro","\\\\mathop{\\\\rm "+j+"}"+g]},',64,':',11,137,'="\\\\nolimits";var i',138,139,'i=="*"){g="\\\\limits";i',138,'h))}i=i',175,'this.string="\\\\mathop{\\\\rm "+i+"}"+g','+" "+this.string.slice(this.i);this.i=0},','HandleShove:',11,'h,g){var i=this.stack.Top();if(i.type!=="',89,'"||i.data','.length',145,'must come at the beginning of the line")}i.data.shove=g},CFrac:',11,'j){var g=this.trimSpaces(','this.GetBrackets(','j)),i',141,'(j),k',141,'(j);var h=a.mfrac(','f.Parse("\\\\strut\\\\textstyle{"+','i+"}",','this.stack.env).mml','(),',207,'k+"}",',209,'());g=({l:a.ALIGN.LEFT,r:a.ALIGN.RIGHT,"":""})[g];if(g==null',151,'Illegal alignment specified in "+j)}if(g){h.numalign=h.denomalign=g}','this.Push(','h)},Genfrac:',11,'h,j,o,l,g){if(j==null){j','=this.GetDelimiterArg(h)}else{','j=','this.convertDelimiter(','j)}if(o==null){o',221,'o=',223,'o)}if(l==null){l',141,'(h)}if(g==null){g',138,'h))}var k','=this.ParseArg(','h);var n',233,'h);var i=a.mfrac(k,n);if(l!==""){i.linethickness=l}if(j||o){i=a.mfenced(i).With({open:j,close:o})}if(g!==""){var m=(["D","T","S","SS"])[g];if(m==null',151,'Bad math style for "+h)}i=a.mstyle(i);if(m==="D"){i.',38,'=true',';i.scriptlevel=','0}else{i.',38,'=false',241,'g-1}}',217,'i)},Multline:',11,'h,g){',217,'h);',13,'d.',89,'().','With({arraydef:{displaystyle:true,rowspacing:".5em",','width:f.config.MultLineWidth,columnwidth:"100%",','side:f.config.TagSide,minlabelspacing:f.config.TagIndent','}})},AMSarray:',11,'i,h,g,k,j){',217,'i);k=k.replace(/[^clr]/g,"").split("").join(" ");k=k.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");',13,'d.AMSarray','(i.name,h,g,this.stack).',257,'columnalign',':k,columnspacing:(j||"1em"),rowspacing:"3pt",',259,'}})},AlignAt:',11,'i,h,g){var j',141,'("\\\\begin{"+i.name+"}");if(j.match(/[^0-9]/)){f.Error("Argument to \\\\begin{"+i.name+"} must me a positive integer")}align="";spacing=[];while(j>0){align+="rl";spacing.push("0em 0em");j--}spacing=spacing.join(" ");if(g){',13,'this.AMSarray(i,h,g,align,spacing)}',13,'this.Array(i,null,null,align,spacing,".5em","D")},MultiIntegral:',11,'g,k){var j=this.GetNext();if(j==="\\\\"){var h=this.i;j',141,'(g);this.i=h;if(j==="\\\\limits"){if(g==="\\\\idotsint"){k="\\\\!\\\\!\\\\mathop{\\\\,\\\\,"+k+"}"}else{k="\\\\!\\\\!\\\\!\\\\mathop{\\\\,\\\\,\\\\,"+k+"}"}}}this.string=k',190,'xArrow:',11,'i,m,k,g){var j={width:"+"+(k+g)+"mu",lspace:k+"mu"};var n=',201,'i),o',233,'i);var p=a.mo(a.chars(String.fromCharCode(m))).With({stretchy:true,',126,'REL});var h=a.munderover(p);h.SetData(h.over,a.mpadded(o',').With(j).With({voffset',':".15em"}));if(n){n=f.Parse(n,',209,'();h.SetData(h.under,a.mpadded(n',295,':"-.24em"}))}',217,'h)},GetDelimiterArg:',11,'g){var h',138,'g));if(h==""){',13,'null}if(!c.delimiter[h]){f.Error("Missing or unrecognized delimiter for "+g)}',13,223,'h)}});d.',89,'=d.array.Subclass({type:"',89,'",EndEntry:',3,'g=a.mtd',155,'data);if(','this.data.shove','){g.',269,'=',320,'}this.row.push(g);this.data=[]},EndRow:function(){if(this.row',196,'!=1',151,89,' rows must have exactly one column")}','this.table','.push(this.row);','this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);','if(',331,196,'){var h=',331,196,'-1,j;if(!',331,'[0','][0].columnalign','){',331,'[0',343,'=a.ALIGN.','LEFT}if(!',331,'[h',343,'){',331,'[h',343,348,'RIGHT}var g=a.mtr;if(','this.global.tag','){',331,'[0]=[',359,'].concat(',331,'[0]);delete ',359,';g=','a.mlabeledtr','}',331,'[0]=g',155,'table[0]);for(j=1,h=',331,196,';j<h;j++){',331,'[j]=a.mtr',155,'table[j])}}}});',266,313,'AMSarray",Init:',11,'j,i,h,g){','this.SUPER(arguments).','Init.apply(this);this.numbered=i;','this.save_notag','=g','.global.notag',';g',391,'=(h?null:j)},EndRow:',3,'g=a.mtr;if(',359,'){this.row=[',359,'].concat(this.row);g=',369,';delete ',359,'}',331,'.push(g',155,'row));',333,'this',391,'=',389,'}});d.start.Augment({oldCheckItem:d.start.prototype.checkItem,checkItem:',11,'h){if(h.type==="stop"){var g=this.mmlData();if(',359,'){var j=[',359,',a.mtd(g)];delete ',359,';var i={',259,',',269,':g.displayAlign};','if(g.displayAlign===a.INDENTALIGN.','LEFT','){i.width="100%";if(g.displayIndent&&!String(g.displayIndent).match(/^0+(\\.0*)?($|[a-z%])/)){i.columnwidth','=','g.displayIndent','+" fit";','i.columnspacing="0";j','=[j[0],a.mtd(),j[1]]}}else{',427,'RIGHT',429,'="fit "+',431,';',433,'[2]=a.mtd()}}}g=a.mtable(',369,'.apply(a,j)).With(i)}',13,'d.mml(g)}',13,387,'checkItem.call(this,h)}});',0,1,'Startup.signal.Post("TeX AMSmath Ready")});',0,'Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/AMSsymbols.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Hub.','Register.StartupHook("','TeX',' Jax Ready",function(){var ','b="1.0";var ','a=MathJax.','ElementJax.mml;',0,'Insert(','MathJax.InputJax.TeX.Definitions',',{mathchar0mi:{digamma:"03DD",varkappa:"03F0",varGamma:["0393','",{mathvariant:a.VARIANT.ITALIC}],','varDelta:["0394',11,'varTheta:["0398',11,'varLambda:["039B',11,'varXi:["039E',11,'varPi:["03A0',11,'varSigma:["03A3',11,'varUpsilon:["03A5',11,'varPhi:["03A6',11,'varPsi:["03A8',11,'varOmega:["03A9',11,'beth:"2136",gimel:"2137",daleth:"2138",backprime:["2035','",{variantForm:true}],','hslash:["210F',33,'varnothing',':["2205',33,'blacktriangle',':"25B2",','triangledown',':"25BD",','blacktriangledown',':"25BC",square:"25A1",Box:"25A1",','blacksquare',':"25A0",lozenge:"25CA",Diamond:"25CA",blacklozenge:"29EB",circledS:["24C8','",{mathvariant:a.VARIANT.','NORMAL}],','bigstar:"2605",sphericalangle:"2222",measuredangle:"2221",nexists:"2204",complement:"2201",mho:"2127",eth:["00F0',47,48,'Finv:"2132",diagup:"2571",Game:"2141",diagdown:"2572",Bbbk:["006B',47,'DOUBLESTRUCK}],yen:"00A5",circledR:"00AE",checkmark:"2713",maltese:"2720"},','mathchar0mo',':{dotplus:"2214",ltimes:"22C9",smallsetminus:["2216',33,'rtimes:"22CA",Cap:"22D2",doublecap:"22D2",leftthreetimes:"22CB",Cup:"22D3",doublecup:"22D3",rightthreetimes:"22CC",barwedge:"22BC",curlywedge:"22CF",veebar:"22BB",curlyvee:"22CE",doublebarwedge:"2A5E",boxminus:"229F",circleddash:"229D",boxtimes:"22A0",circledast:"229B",boxdot:"22A1",circledcirc:"229A",boxplus:"229E",centerdot:"22C5",divideontimes:"22C7",intercal:"22BA",leqq:"2266",geqq:"2267",leqslant:"2A7D",geqslant:"2A7E",eqslantless:"2A95",eqslantgtr:"2A96",lesssim:"2272",gtrsim:"2273",lessapprox:"2A85",gtrapprox:"2A86",approxeq:"224A",lessdot:"22D6",gtrdot:"22D7",lll:"22D8",llless:"22D8",ggg:"22D9",gggtr:"22D9",lessgtr:"2276",gtrless:"2277",lesseqgtr:"22DA",gtreqless:"22DB",lesseqqgtr:"2A8B",gtreqqless:"2A8C",doteqdot:"2251",Doteq:"2251",eqcirc:"2256",risingdotseq:"2253",circeq:"2257",fallingdotseq:"2252",triangleq:"225C",backsim:"223D",thicksim:["223C',33,'backsimeq:"22CD",thickapprox:"2248",subseteqq:"2AC5",supseteqq:"2AC6",Subset:"22D0",Supset:"22D1",sqsubset:"228F",sqsupset:"2290",preccurlyeq:"227C",succcurlyeq:"227D",curlyeqprec:"22DE",curlyeqsucc:"22DF",precsim:"227E",succsim:"227F",precapprox:"2AB7",succapprox:"2AB8",vartriangleleft:"22B2",lhd:"22B2",vartriangleright:"22B3",rhd:"22B3",trianglelefteq:"22B4",unlhd:"22B4",trianglerighteq:"22B5",unrhd:"22B5",vDash:"22A8",Vdash:"22A9",Vvdash:"22AA",smallsmile:"2323",shortmid:["2223',33,'smallfrown:"2322",shortparallel:["2225',33,'bumpeq:"224F",between:"226C",Bumpeq:"224E",pitchfork:"22D4",varpropto:"221D",backepsilon:"220D",','blacktriangleleft',':"25C0",','blacktriangleright',':"25B6",therefore:"2234",because:"2235",eqsim:"2242",','vartriangle',':["25B3',33,'Join:"22C8",nless:"226E",ngtr:"226F",nleq:"2270",ngeq:"2271",nleqslant:["2A87',33,'ngeqslant:["2A88',33,'nleqq:["2270',33,'ngeqq:["2271',33,'lneq:"2A87",gneq:"2A88",lneqq:"2268",gneqq:"2269",lvertneqq:["2268',33,'gvertneqq:["2269',33,'lnsim:"22E6",gnsim:"22E7",lnapprox:"2A89",gnapprox:"2A8A",nprec:"2280",nsucc:"2281",npreceq:["22E0',33,'nsucceq:["22E1',33,'precneqq:"2AB5",succneqq:"2AB6",precnsim:"22E8",succnsim:"22E9",precnapprox:"2AB9",succnapprox:"2ABA",nsim:"2241",ncong:"2246",nshortmid:["2224',33,'nshortparallel:["2226',33,'nmid:"2224",nparallel:"2226",nvdash:"22AC",nvDash:"22AD",nVdash:"22AE",nVDash:"22AF",ntriangleleft:"22EA",ntriangleright:"22EB",ntrianglelefteq:"22EC",ntrianglerighteq:"22ED",nsubseteq:"2288",nsupseteq:"2289",nsubseteqq:["2288',33,'nsupseteqq:["2289',33,'subsetneq:"228A",supsetneq:"228B",varsubsetneq:["228A',33,'varsupsetneq:["228B',33,'subsetneqq:"2ACB",supsetneqq:"2ACC",varsubsetneqq:["2ACB',33,'varsupsetneqq:["2ACC',33,'leftleftarrows:"21C7",rightrightarrows:"21C9",leftrightarrows:"21C6",rightleftarrows:"21C4",Lleftarrow:"21DA",Rrightarrow:"21DB",twoheadleftarrow:"219E",twoheadrightarrow:"21A0",leftarrowtail:"21A2",rightarrowtail:"21A3",looparrowleft:"21AB",looparrowright:"21AC",leftrightharpoons:"21CB",rightleftharpoons:["21CC',33,'curvearrowleft:"21B6",curvearrowright:"21B7",circlearrowleft:"21BA",circlearrowright:"21BB",Lsh:"21B0",Rsh:"21B1",upuparrows:"21C8",downdownarrows:"21CA",upharpoonleft:"21BF",upharpoonright:"21BE",downharpoonleft:"21C3",restriction:"21BE",multimap:"22B8",downharpoonright:"21C2",leftrightsquigarrow:"21AD",rightsquigarrow:"21DD",leadsto:"21DD",dashrightarrow:"21E2",dashleftarrow:"21E0",nleftarrow:"219A",nrightarrow:"219B",nLeftarrow:"21CD",nRightarrow:"21CF",nleftrightarrow:"21AE",nLeftrightarrow:"21CE"},delimiter:{"\\\\ulcorner":"250C","\\\\urcorner":"2510","\\\\llcorner":"2514","\\\\lrcorner":"2518"},macros:{implies',':["Macro","\\\\;\\\\','Longrightarrow\\\\;"],impliedby',107,'Longleftarrow\\\\;"]}});var c=a.mo.OPTYPES.REL;',0,8,'a.mo.prototype,{OPTABLE:{infix:{"\\u2322":c,"\\u2323":c,"\\u25B3":c,"\\uE006":c,"\\uE007":c,"\\uE00C":c,"\\uE00D":c,"\\uE00E":c,"\\uE00F":c,"\\uE010":c,"\\uE011":c,"\\uE016":c,"\\uE017":c,"\\uE018":c,"\\uE019":c,"\\uE01A":c,"\\uE01B":c,"\\uE04B":c,"\\uE04F":c}}});if(',0,'Browser.isMSIE){',9,'.mathchar0mi.','digamma=["03DC','",{variantForm:true','}];',9,117,'varkappa=["03F0',119,'}]}});',0,1,'HTML-CSS',3,5,'OutputJax["HTML-CSS"];var b=',9,';var c=a.FONTDATA.VARIANT;','if(a.fontInUse==="','TeX"){','c["-TeX-variant','"]={fonts:["MathJax_AMS","MathJax_Main","MathJax_Size1"],remap:{8808:57356,8809:57357,','8816:57361,8817:57358,','10887:57360,10888:57359,','8740:57350,8742:57351',',8840:57366,8841:57368',',8842:57370,8843:57371,10955:57367,10956:57369,988:57352,1008:57353}};if(a.msieIE6){',0,8,136,'"].remap,{8592:[58049',',"-WinIE6"],','8594:[58048',147,'8739:[58050',147,'8741:[58051',147,'8764:[58052',147,'9651:[58067,"-WinIE6"]})}}',134,'STIX"){b',117,36,'="2205";b',117,'hslash="210F";b',117,39,'="25B4";b',117,43,'="25BE";b',117,'square="25FB";b',117,45,'="25FC";b',117,69,'=["25B3",{mathsize:"71%"}];b',117,41,'=["25BD",{mathsize:"71%"}];b.',55,'.',65,'="25C2";b.',55,'.',67,'="25B8";b.',55,'.smallsetminus="2216";',0,8,'c["-STIX-variant"],{remap:{',139,138,'8928:57419,8929:57423',141,'}})}',0,'Startup.signal.Post("TeX AMSsymbols Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/autobold.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.','Hub.Register.StartupHook("TeX Jax Ready",function(){var b="1.0";var c=',0,'InputJax.TeX;var a=','c.prefilterMath',';',4,'=function(g,h,e){var f=e.parentNode.insertBefore(document.createElement("span"),e);f.visibility="hidden";f.style.fontFamily="Times, serif";f.appendChild(document.createTextNode("ABCXYZabcxyz"));var d=f.offsetWidth;f.style.fontWeight="bold";if(f.offsetWidth==d){g="\\\\bf {"+g+"}"}f.parentNode.removeChild(f);return a.call(c,g,h,e)};',0,'Hub.Startup.signal.Post("TeX autobold Ready")});',0,'Ajax.loadComplete("[MathJax]/extensions/TeX/autobold.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/boldsymbol.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Hub.Register.StartupHook("','TeX',' Jax Ready",function(){var ','c="1.0";var a=','MathJax.','ElementJax.mml;var e=',4,'InputJax.TeX;var b=e.Definitions;var d={};d[','a.VARIANT.','NORMAL]=',8,'BOLD;d[',8,'ITALIC]=',8,'BOLDITALIC;d[',8,'FRAKTUR]=',8,'BOLDFRAKTUR;d[',8,'SCRIPT]=',8,'BOLDSCRIPT;d[',8,'SANSSERIF]=',8,'BOLDSANSSERIF;d','["-tex-caligraphic','"]="-tex-','caligraphic-bold";d','["-tex-oldstyle',29,'oldstyle-bold";b.macros.boldsymbol="Boldsymbol";e.Parse.Augment({mmlToken:function(g){if(','this.stack.env.boldsymbol','){var f=','g.Get("','mathvariant','");if(f==null){g.',37,'=',8,'BOLD}else{g.',37,'=(d[f]||f)}}return g},Boldsymbol:function(i',35,34,',g=','this.stack.env.font',';',34,'=true;',48,'=null;var h=this.ParseArg(i);',48,'=g;',34,'=f;this.Push(h)}})});',0,'HTML-CSS',2,'a=',4,'OutputJax["',59,'"];var c=a.FONTDATA.FONTS;var b=a.FONTDATA.VARIANT;','if(a.fontInUse==="','TeX"){c["MathJax_Caligraphic-bold"]="Caligraphic/Bold/Main.js";b',28,'-bold"]={fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1','"],offsetA:65,variantA:"','bold-italic','"};b',31,69,'"]};if(','a.msieCheckGreek','&&a.Font.testFont({family:"','MathJax_Greek','",weight:"bold",style:"italic",testString:',76,'})){b["',71,'"].offsetG=913;b["',71,'"].variantG="-','Greek-Bold-Italic','";b["-',86,'"]={fonts:["',78,'-',71,'"]};c["',78,'-',71,'"]="Greek/BoldItalic/Main.js"}if(','MathJax.Hub.Browser.','isChrome&&!',98,'versionAtLeast("5.0")){b',28,'-bold"].remap={84:[58096,"-WinChrome"]}}}else{',66,'STIX"){b',28,'-bold"]={fonts:["STIXGeneral-bold','-italic','","STIXNonUnicode','-',71,109,'","STIXGeneral","STIXSizeOneSym"],','offsetA:57927,noLowerCase:1};b',31,107,109,'-bold',113,'offsetN:57955,remap:{57956:57959,57957:57963,57958:57967,57959:57971,57960:57975,57961:57979,57962:57983,57963:57987,57964:57991}}}}',4,'Hub.Startup.signal.Post("TeX boldsymbol Ready")});',4,'Ajax.loadComplete("[MathJax]/extensions/TeX/boldsymbol.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/mathchoice.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.','Hub.Register.StartupHook("TeX Jax Ready",function(){var c="1.0";var a=',0,'ElementJax.mml;var d=',0,'InputJax.TeX;var b=d.Definitions;b.macros.','mathchoice','="','MathChoice','";d.Parse.Augment({',8,':function','(f){var i','=this.ParseArg(f','),e',13,'),g',13,'),h',13,');this.Push(a.','TeXmathchoice','(i,e,g,h))}});a.',21,'=a.mbase.Subclass({type:"',21,'",choice',11,'(){var e=this.getValues("displaystyle","','scriptlevel','");if(e.',29,'>0){return Math.min(3,e.',29,'+1)}return(e.displaystyle?0:1)},','setTeXclass',11,'(e){return this.','Core().',35,'(e)},','isSpacelike',':function(){return this.',38,41,'()},','isEmbellished',42,38,46,'()},Core',42,'data[this.choice()]},toHTML',11,'(e){e=this.HTMLcreateSpan(e);e.bbox=this.',38,'toHTML(e).bbox;return e}});',0,'Hub.Startup.signal.Post("TeX ',6,' Ready")});',0,'Ajax.loadComplete("[MathJax]/extensions/TeX/',6,'.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/newcommand.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Hub.','Register.StartupHook("TeX Jax Ready",function(){var b="1.0";var c=MathJax.InputJax.TeX;var a=c.Definitions;',0,'Insert(a,{macros:{','newcommand',':"','NewCommand','",renewcommand:"',6,'",newenvironment:"','NewEnvironment','",def:"MacroDef"}});c.Parse.Augment({',6,':function(','d){var e=this.','trimSpaces(','this.GetArgument','(d)),g','=this.trimSpaces(this.GetBrackets(','d)),f=',16,'(d);if(g===""){g=null}if(e.charAt(0)==="\\\\"){e=e.substr(1)}if(!e.match(/^(.|[a-z]+)$/i)){','c.Error("','Illegal',' control sequence',' name for "+d)}if(g!=null&&!g','.match(/^[0-9]+$/)){c.Error("Illegal number of parameters specified in "+','d)}','a.macros[e]=["Macro",f,g',']},',10,13,'e){var f=this.trimSpaces(',16,'(e)),h',18,'e)),g=',16,'(e),d=',16,'(e);if(h===""){h=null}if(h!=null&&!h',26,'e)}','a.environment[','f',']=["BeginEnv","EndEnv','",g,d,h]},MacroDef',13,14,'GetCSname','(d),g=this.','GetTemplate','(d,"\\\\"+e),f=',16,'(d);if(!(g instanceof Array)){',28,']}else{a.macros[e]=["','MacroWithTemplate','",f,g[0],g[1]]}},',49,13,'e){var f=','this.GetNext();','if(f!=="\\\\"){c.Error("\\\\ must be followed by a',24,'")}','var d=this.','trimSpaces(',16,'(e));return d.substr(1)},',51,13,'f,e){var j,g=[],h=0;j=',62,66,'i',';while(this.i<this.string.length){','j=',62,'if(j==="#"){','if(d!==this.i){g[h]=this.string.substr(d,this.i-d)}','j=','this.string.','charAt(++this.i);if(!j.match(/^[1-9]$/)){',22,'Illegal use of # in template for "+e)}if(parseInt(j)!=++h){',22,'Parameters for "+e+" must be numbered sequentially")}d=this.i+1}else{if(j==="{"){',80,'if(g.length>0){return[h,g]}else{return h}}}this.i++}',22,'Missing replacement string for definition of "+f)},',57,13,'e,h,j,g){if(j){var d=[];',62,'if(g[0]&&!this.','MatchParam','(g[0])){',22,'Use of "+e+" doesn\'t match its definition")}','for(var f=0;f<','j;f++){d.push(this.','GetParameter','(e,g[f+1]))}h','=this.SubstituteArgs(','d,h)}','this.string=this.AddArgs(','h',',this.string.slice(this.i));this.i=0','},BeginEnv',13,'g,j,d,h){if(h){var e=[];',101,'h;f++){e.push(',16,'("\\\\begin{"+name+"}"))}j',105,'e,j);d',105,'e,d)}g.edef=d;',107,'j',109,';return ','g},EndEnv',13,'d,e){',107,'d.edef',109,124,'e},',103,13,'e,h){if(h==null){return ',16,'(e)}var g=this.i,d=0,f=0',76,'if(',82,'charAt(this.i)==="{"){if(this.i===g){f=1}',16,'(e);d=this.i-g}else{if(this.',97,'(h)){if(f){g++;d-=2}return ',82,'substr(g,d)}else{this.i++;d++;f=0}}}',22,'Runaway argument for "+e+"?")},',97,13,'d){if(',82,'substr(this.i,d.length)!==d){return 0}this.i+=d.length',124,'1}});c.Environment=function(d){',43,'d',45,'"].concat([].slice.call(arguments,1))};',0,'Startup.signal.Post("TeX ',4,' Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/',4,'.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/noErrors.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['(function(){var c="1.0";','MathJax.Extension["TeX/noErrors','"]={version:c,config:','MathJax.Hub.','Insert({','multiLine',':true,','inlineDelimiters',':["",""],style:{"font-family":"serif","font-size":"80%","text-align":"left",color:"black",padding:"1px 3px",border:"1px solid"}},((',3,'config.TeX||{}).noErrors||{}))};var a=',1,'"].config;var ','b=String.fromCharCode(160);',3,'Config({TeX:{Augment:{formatError:function(f,e,g,d){var i=a.',7,';var h=(g||a.',5,');if(!g){e=i[0]+e+i[1]}if(h){e=e.replace(/ /g,b)}else{e=e.replace(/\\n/g," ")}return ','MathJax.ElementJax.mml','.merror','(e).With({isError',6,5,':h})}}},"','HTML-CSS','":{styles:{".','MathJax .merror','":',3,'Insert({"font-style":null,"background-color":null,"vertical-align":(',3,'Browser.isMSIE&&a.',5,'?"-2px":"")},a.style)}}})})();',3,'Register.StartupHook("',26,' Jax Ready",function(){var ','a=',20,';var b=MathJax.OutputJax["',26,'"];var c=a.math','.prototype.toHTML',';a.math','.Augment({toHTML:function(','d,e','){if(this.data[0]&&this.data[0].data[0]&&this.data[0].data[0].isError){return this.data[0].data[0].','toHTML','(d)}return c.call(this,d',',e)}});a',21,47,'j','){if(!this.isError){return ','a.mbase',45,'.call(this,','j)}j=this.HTMLcreateSpan(j);','if(this.',5,'){j','.style.display="inline-block','"}var l','=this.data[0].data[0].data.join("").split(/\\n/);for(var ','g=0,e=l.length;g<e;g++){b.addText(j,l[g]);if(g!==e-1){b.addElement(j,"br")}}var n=b.getHD(','j.parentNode','),d=b.getW(',68,');if(e>1){var k=(n.h+n.d)/2,h=b.TeX.x_height/2;var f=b.config.styles[".',28,'"]["font-size"];if(f&&f.match(/%/)){h*=parseInt(f)/100}',68,'.style.verticalAlign','=b.Em(n.d+(h-k));n.h=h+k;n.d=k-h}j.bbox={h:n.h,d:n.d,w:d,lw:0,rw:d};return j','}});MathJax.Hub.Startup.signal.Post("TeX noErrors Ready")});MathJax.','Hub.',37,'NativeMML',39,'b=',20,';var a=',1,12,'c=b.math','.prototype.toNativeMML',';b.math','.Augment({toNativeMML:function(','d',49,'toNativeMML',51,')}});b',21,90,'g',56,'b.mbase',88,59,'g)}g=','g.appendChild(document.','createElement("','span"));var h',66,'f=0,e=h.length;f<e;f++){',104,'createTextNode(h[f]));if(f!==e-1){',104,105,'br"))}}',61,5,'){g',64,'";if(e>1){g',75,'="middle"}}for(var j in a.style){if(a.style.hasOwnProperty(j)){var d=j.replace(/-./g,function(i){return i.charAt(1).toUpperCase()});g.style[d]=a.style[j]}}return g',77,'Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/noUndefined.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Extension["TeX/noUndefined','"]={version:"1.0",config:','MathJax.Hub.','Insert({attributes:{mathcolor:"red"}},((',2,'config.TeX||{}).','noUndefined','||{}))};',2,'Register.StartupHook("TeX Jax Ready",function(){var b=',0,'"].config;var a=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(c){this.Push(a.mtext(c).With(b.attributes))}});',2,'Startup.signal.Post("TeX ',6,' Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/',6,'.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/unicode.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Extension["TeX/unicode','"]={version:"1.0",unicode:{},config:','MathJax.Hub.','Insert({fonts:"STIXGeneral,\'Arial Unicode MS\'"},((',2,'config.TeX||{}).unicode||{}))};','MathJax.Hub.Register.StartupHook("','TeX',' Jax Ready",function(){var ','d=MathJax.InputJax.TeX;var ','a=MathJax.','ElementJax.mml;var c=',0,'"].config.fonts;var b=',0,'"].unicode;','d.Definitions.macros.unicode="Unicode";d.Parse.Augment({Unicode:function(f){var j','=this.GetBrackets(f','),e;if(j){j=j.replace(/ /g,"");if(j.match(/^(\\','d+(\\.\\d*)?|\\.\\d','+),(\\',19,'+)$/)){j=j.split(/,/);e',17,')}else{e=j;j=null}}var k=this.trimSpaces(this.GetArgument(f)),i=parseInt(k.match(/^x/)?"0"+k:k);b[i]=[800,200,500,0,500,{isUnknown:true,isUnicode:true,font:c}];if(j){b[i][0',']=Math.floor(j[','0]*1000);b[i][1',25,'1]*1000)}var g=this.stack.env.font,h={};if(e){h.fontfamily=e;if(g){if(g.match(/bold/)){h.fontweight="bold"}if(g.match(/italic/)){h.fontstyle="italic"}}b[i][5].font=e+","+c}else{if(g){h.mathvariant=g}}this.Push(a.mtext(a.entity("#"+k)).With(h))}})});',6,'HTML-CSS',8,10,'OutputJax["',30,'"];var c=',0,15,'var b=a.lookupChar;a.Augment({lookupChar:function(e,f){var d=b.call(this,e,f);if(d[f][5]&&d[f][5].isUnknown&&c[f]){d[f]=c[f]}return d}});',2,'Startup.signal.Post("TeX unicode Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/unicode.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/TeX/verb.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.','Hub.Register.StartupHook("TeX Jax Ready",function(){var c="1.0";var a=',0,'ElementJax.mml;var d=',0,'InputJax.TeX;var b=d.Definitions;b.macros.verb="Verb";d.Parse.Augment({Verb:function(e){var h=this.GetNext();var g=++this.i;if(h==""){d.Error(e+" requires an argument")}while(this.i<','this.string.','length&&',6,'charAt(this.i)!=h){this.i++}if(this.i==',6,'length){d.Error("Can\'t find closing delimiter for "+e)}var f=',6,'slice(g,this.i);this.i++;this.Push(a.mtext(f).With({mathvariant:a.VARIANT.MONOSPACE}))}});',0,'Hub.Startup.signal.Post("TeX verb Ready")});',0,'Ajax.loadComplete("[MathJax]/extensions/TeX/verb.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/jsMath2jax.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Extension.jsMath2jax','={version:"1.0",config:{element:null,','preview',':"TeX"},','PreProcess',':function(','b){if(!','this.configured','){','MathJax.Hub.','Insert(this','.config,(',9,'config.jsMath2jax||{}));if(','this.config.','Augment','){',9,10,',',14,15,')}','if(typeof(',14,'previewTeX',')!=="undefined"&&!',14,25,'){',14,2,'="none"}this.previewClass=',9,'config.preRemoveClass',';',7,'=true}',23,'b)==="string"){b=document.getElementById(b)}if(!b){b=',14,'element||document.body}var c','=b.getElementsByTagName("','span"),a;for(a=c','.length-1;a>=0;a--){if(String(','c','[a].className).match(/\\bmath\\b/)){this.ConvertMath(','c[a],"")}}var d',42,'div");for(a=d',44,'d',46,'d[a],"; mode=display")}}},ConvertMath',5,'c,d){var b=c','.parentNode',',a=this.','createMathTag','(d,c.innerHTML);if(c.nextSibling){b','.insertBefore(','a,c.nextSibling)}else{b.appendChild(a)}if(',14,2,'!=="none"){this.','createPreview','(c)}b.removeChild(c)},',65,5,'a){var b;if(',14,2,'==="TeX"){b=[this.filterTeX(a.innerHTML)]}else{if(',14,2,' instanceof Array){b=',14,2,'}}if(b){b=MathJax.HTML.Element("span",{className:',9,34,'},b);a',56,60,'b,a)}},',58,5,'c,b){var a=document.createElement("script");a.type="math/tex"+c;if(',9,'Browser.isMSIE){a.text=b}else{a.appendChild(document.createTextNode(b))}return a},filterTeX',5,'a){return a}};',9,'Register.PreProcessor(["',4,'",',0,']);MathJax.Ajax.loadComplete("[MathJax]/extensions/jsMath2jax.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/mml2jax.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Extension.mml2jax','={varsion:"1.0.1",config:{element:null,preview:"alttext"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",','PreProcess',':function(','b){if(!','this.configured','){','MathJax.Hub.','Insert(','this.config',',(',7,'config.','mml2jax||{}));if(',9,'.Augment','){',7,8,'this,',9,15,')}',5,'=true}if(typeof(b)==="string"){b=document.getElementById(b)}if(!b){b=',9,'.element||document.body}var c=b.getElementsByTagName("math"),a;if(c.length===0&&','b.getElementsByTagNameNS','){c=',27,'(this.MMLnamespace,"math")}if(this.','msieMathTagBug','){','for(a=c.length-1;a>=0;a--){','if(c[a].nodeName==="MATH"){this.','msieProcessMath','(c[a])}else{','this.ProcessMath(c[a','])}}}else{',33,37,'])}}},ProcessMath',3,'e){var d','=e.parentNode;var a=document.createElement("script");a.type="math/mml";','d','.insertBefore(','a,e);if(this.msieScriptBug){var b=e.outerHTML;b=b.replace(/<\\?import .*?>/,"").replace(/<\\?xml:namespace .*?\\/>/,"");b=b.replace(/<(\\/?)m:/g,"<$1").replace(/&nbsp;/g,"&#xA0;");a.text=b;d.removeChild(e)}else{var ','c=MathJax.HTML.Element("span','");c.appendChild(e);MathJax.HTML.addText(a,c.innerHTML)}','if(this.config.preview!=="none"){this.createPreview(e,a)}},',35,3,'e){var c',44,'c',46,'a,e);var b="";while(e&&','e.nodeName','!=="/MATH"){if(',58,'==="#text"||',58,'==="#comment"){b+=e.nodeValue.replace(/&/g,"&#x26;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}else{b+=this.','toLowerCase','(e.outerHTML)}var d=e;e=e.nextSibling;d','.parentNode.removeChild(','d)}if(e&&',58,'==="/MATH"){e',66,'e)}a.text=b+"</math>";',50,64,3,'b){var d=b.split(/"/);for(var c=0,a=d.length;c<a;c+=2){d[c]=d[c].',64,'()}return d.join(\'"\')},createPreview',3,'b,a){var c;if(',9,'.preview','==="alttext"){var d=b.getAttribute("alttext");if(d!=null){c=[this.filterText(d)]}}else{if(',9,81,' instanceof Array){c=',9,81,'}}if(c){',48,'",{className:',7,12,'preRemoveClass},c);a.parentNode',46,'c,a)}},filterText',3,'a){return a}};',7,'Browser.Select({MSIE',3,'a){',7,8,0,',{msieScriptBug:true,',31,':true})}});',7,'Register.PreProcessor(["',2,'",',0,']);MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");']
-]);
-
View
18 lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js
@@ -1,18 +0,0 @@
-/*
- * ../SourceForge/trunk/mathjax/extensions/tex2jax.js
- *
- * Copyright (c) 2010 Design Science, Inc.
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-
-MathJax.Unpack([
- ['MathJax.Extension.tex2jax','={version:"1.0",config:{element:null,','inlineMath',':[["$","$"],["\\\\(","\\\\)"]],','displayMath',':[["$$","$$"],["\\\\[","\\\\]"]],skipTags:["script","noscript","style","textarea","pre","code"],','ignoreClass',':"tex2jax_ignore",','processClass',':"tex2jax_process",','processEscapes',':false,','processEnvironments',':true,preview:"TeX"},','PreProcess',':function(','a){if(!','this.configured','){','MathJax.Hub.','Insert(','this.config',',(',19,'config.','tex2jax||{}));if(',21,'.Augment','){',19,'Insert(this,',21,27,')}','if(typeof(',21,'.previewTeX',')!=="undefined"&&!',21,36,'){',21,'.preview','="none"}',17,'=true}',34,'a)==="','string"){a=','document.','getElementById(a)}if(!a){a=',21,'.element||',49,'body}this.','createPatterns','();this.','scanElement','(a,a','.nextSibling',')},',55,':function(){var d=[],c,a,b=',21,';this.match={};','for(c=0,a=b.',2,'.length;c<a;c++){d.push(this.patternQuote(b.',2,'[c][0]));this.match[b.',2,'[c][0]]={mode:"",','end:b.',2,'[c][1],pattern:this.endPattern(b.',2,'[c][1])}}',65,4,67,4,69,4,'[c][0]]={','mode:"; mode=display",',72,4,74,4,76,'this.start','=','new RegExp','(d.sort(this.sortLength).join("|")+(b.',12,'?"|\\\\\\\\begin\\\\{([^}]*)\\\\}":"")+(b.',10,'?"|\\\\\\\\*\\\\\\\\\\\\$":""),"g");this.skipTags=',92,'("^("+b.skipTags.join("|")+")$","i");this.',6,'=new RegExp("(^| )("+b.',6,'+")( |$)");this.',8,101,8,'+")( |$)")},','patternQuote',15,'a){return ','a','.replace','(/([\\^$(){}+*?\\-|\\[\\]\\:\\\\])/g,"\\\\$1")},endPattern',15,110,92,'(this.',108,'(a)+"|\\\\\\\\.","g")},sortLength',15,'d,c){if(d.length!==c.length){return c.length-d.length}return(d==c?0:(d<c?-1:1))},',57,15,'c,b,e){var a,d;while(c&&c!=b){if(c','.nodeName.toLowerCase()==="#','text"){if(!e){c=this.scanText(c)}}else{a','=(typeof(c.','className',')==="undefined"?"":c.',128,');d',127,'tagName',129,133,');',34,'a)!=="',48,'String(a)}if','(c.firstChild','&&!a.match(/(^| )MathJax/)&&!this.skipTags.exec(d)){e=(e||this.',6,'.exec(a))&&!this.',8,'.exec(a);this.',57,141,',b,e)}}if(c){c=c',59,'}}},scanText',15,'b){if(b','.nodeValue',112,'(/\\s+/,"")==""){return b}var a,c;','this.search','={start:true};','this.pattern','=',90,';while(b){','this.pattern.lastIndex','=0;while(b&&b',125,'text"&&(a=',159,'.exec(b',154,'))){if(',157,'.start){b=this.startMatch(a,b)}else{b=this.endMatch(a,b)}}if(',157,'.matched','){','b=this.encloseMath(b',')}if(b){do{c=b;b=b',59,'}while(b&&(b','.nodeName','.toLowerCase()==="br"||b',125,'comment"));if(!b||b',180,'!=="#text"){return c}}}return b},startMatch',15,'b,c){var d=this.match[b[0]];if(d!=null){',157,'={end:d.end,mode:d.mode,','open:c,olen:','b[0].length',',opos:',163,'-',191,'};','this.switchPattern(','d.pattern)}else{if(b[0].substr(0,6)==="\\\\begin"){',157,'={end:"\\\\end{"+b[1]+"}",',84,190,'0,opos:',163,'-',191,',isBeginEnd:true};',197,'this.endPattern(',157,'.end))}else{var a=b[0].replace(/\\\\(.)/g,"$1");c',154,'=c',154,'.substr(','0,b.index)+a+c',154,215,'b.index+',191,');',163,'-=',191,'-a.length}}return c},endMatch',15,'a,b){if(a[0]==',157,'.end){',157,'.close=b;',157,'.cpos=',163,';',157,'.clen=(',157,'.isBeginEnd?0:a[0].length);',157,174,'=true;',176,');',197,90,')}return b},switchPattern',15,'a){a.lastIndex=',163,';',159,'=a;',157,'.start=(a===',90,')},encloseMath',15,'b){var a=',157,',f=a.close,e;if(a.cpos===f.length){f=f',59,'}else{f=f.splitText(a.cpos)}if(!f){e=f=','a.close.parentNode','.appendChild(document.createTextNode','(""))}if(b===a.close){b=f}a.close=f;var c=a.open.splitText(a.opos);while(c',59,'&&c',59,'!==f){if(c',59,154,'!==null){if(c',59,180,'==="#comment"){c',154,'+=c',59,154,112,'(/^\\[CDATA\\[(.*)\\]\\]$/,"$1")}else{c',154,'+=c',59,154,'}}else{c',154,'+=" "}c','.parentNode.removeChild(','c',59,')}var d=c',154,215,'a.olen,c',154,'.length-a.olen-a.clen);c',290,'c);if(',21,42,'!=="none"){this.','createPreview','(a.mode,d',')}c=this.','createMathTag',305,');',157,'={};',163,'=0;if(e){e',290,'e)}return c},insert