gollum 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gollum might be problematic. Click here for more details.

Files changed (765) hide show
  1. data/Gemfile +3 -0
  2. data/HISTORY.md +14 -2
  3. data/Home.md +3 -0
  4. data/README.md +24 -7
  5. data/bin/gollum +25 -6
  6. data/gollum.gemspec +336 -39
  7. data/lib/gollum.rb +5 -44
  8. data/lib/gollum/albino.rb +4 -29
  9. data/lib/gollum/blob_entry.rb +15 -8
  10. data/lib/gollum/committer.rb +217 -0
  11. data/lib/gollum/file.rb +2 -3
  12. data/lib/gollum/frontend/app.rb +64 -23
  13. data/lib/gollum/frontend/public/css/dialog.css +141 -0
  14. data/lib/gollum/frontend/public/css/editor.css +537 -0
  15. data/lib/gollum/frontend/public/css/gollum.css +643 -33
  16. data/lib/gollum/frontend/public/css/ie7.css +69 -0
  17. data/lib/gollum/frontend/public/css/template.css +316 -0
  18. data/lib/gollum/frontend/public/images/icon-sprite.png +0 -0
  19. data/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +17 -1678
  20. data/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +10 -55
  21. data/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +288 -49
  22. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.buildinfo +4 -0
  23. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/CSS-styles.doctree +0 -0
  24. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/HTML-snippets.doctree +0 -0
  25. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/ajax.doctree +0 -0
  26. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/callback.doctree +0 -0
  27. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/elementjax.doctree +0 -0
  28. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/html.doctree +0 -0
  29. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/hub.doctree +0 -0
  30. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/index.doctree +0 -0
  31. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/inputjax.doctree +0 -0
  32. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/jax.doctree +0 -0
  33. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/message.doctree +0 -0
  34. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/object.doctree +0 -0
  35. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/outputjax.doctree +0 -0
  36. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/queue.doctree +0 -0
  37. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/signal.doctree +0 -0
  38. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/variable.doctree +0 -0
  39. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/callbacks.doctree +0 -0
  40. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/community.doctree +0 -0
  41. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/configuration.doctree +0 -0
  42. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/dynamic.doctree +0 -0
  43. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/environment.pickle +0 -0
  44. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/glossary.doctree +0 -0
  45. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/index.doctree +0 -0
  46. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/installation.doctree +0 -0
  47. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/jsMath.doctree +0 -0
  48. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathjax.doctree +0 -0
  49. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathml.doctree +0 -0
  50. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/model.doctree +0 -0
  51. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/FontWarnings.doctree +0 -0
  52. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/HTML-CSS.doctree +0 -0
  53. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MMLorHTML.doctree +0 -0
  54. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathML.doctree +0 -0
  55. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathMenu.doctree +0 -0
  56. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathZoom.doctree +0 -0
  57. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/NativeMML.doctree +0 -0
  58. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/TeX.doctree +0 -0
  59. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/hub.doctree +0 -0
  60. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/jsMath2jax.doctree +0 -0
  61. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/mml2jax.doctree +0 -0
  62. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/tex2jax.doctree +0 -0
  63. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/output.doctree +0 -0
  64. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/index.doctree +0 -0
  65. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/movable-type.doctree +0 -0
  66. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/wordpress.doctree +0 -0
  67. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/queues.doctree +0 -0
  68. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/signals.doctree +0 -0
  69. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/start.doctree +0 -0
  70. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/startup.doctree +0 -0
  71. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/synchronize.doctree +0 -0
  72. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/tex.doctree +0 -0
  73. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/typeset.doctree +0 -0
  74. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/CSS-styles.html +173 -0
  75. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/HTML-snippets.html +170 -0
  76. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/badge.gif +0 -0
  77. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_head.png +0 -0
  78. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_menu.png +0 -0
  79. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_templates.png +0 -0
  80. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_menu.png +0 -0
  81. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_templates.png +0 -0
  82. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/CSS-styles.txt +79 -0
  83. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/HTML-snippets.txt +83 -0
  84. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/ajax.txt +196 -0
  85. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/callback.txt +259 -0
  86. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/elementjax.txt +122 -0
  87. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/html.txt +122 -0
  88. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/hub.txt +330 -0
  89. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/index.txt +44 -0
  90. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/inputjax.txt +86 -0
  91. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/jax.txt +148 -0
  92. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/message.txt +86 -0
  93. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/object.txt +210 -0
  94. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/outputjax.txt +100 -0
  95. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/queue.txt +99 -0
  96. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/signal.txt +154 -0
  97. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/variable.txt +83 -0
  98. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/callbacks.txt +228 -0
  99. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/community.txt +60 -0
  100. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/configuration.txt +375 -0
  101. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/dynamic.txt +181 -0
  102. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/glossary.txt +75 -0
  103. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/index.txt +71 -0
  104. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/installation.txt +184 -0
  105. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/jsMath.txt +31 -0
  106. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathjax.txt +36 -0
  107. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathml.txt +97 -0
  108. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/model.txt +224 -0
  109. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/FontWarnings.txt +140 -0
  110. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/HTML-CSS.txt +119 -0
  111. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt +42 -0
  112. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathML.txt +27 -0
  113. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathMenu.txt +79 -0
  114. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathZoom.txt +42 -0
  115. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/NativeMML.txt +61 -0
  116. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/TeX.txt +67 -0
  117. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/hub.txt +209 -0
  118. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/jsMath2jax.txt +53 -0
  119. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/mml2jax.txt +53 -0
  120. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/tex2jax.txt +137 -0
  121. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/output.txt +126 -0
  122. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/index.txt +65 -0
  123. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/movable-type.txt +41 -0
  124. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt +42 -0
  125. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/queues.txt +254 -0
  126. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/signals.txt +161 -0
  127. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/start.txt +314 -0
  128. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/startup.txt +152 -0
  129. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/synchronize.txt +65 -0
  130. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/tex.txt +1090 -0
  131. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/typeset.txt +229 -0
  132. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/basic.css +509 -0
  133. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/doctools.js +247 -0
  134. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/file.png +0 -0
  135. data/lib/gollum/frontend/public/javascript/{jquery-1.4.2.min.js → MathJax/docs/html/_static/jquery.js} +1 -1
  136. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_mathml.user.js +22 -0
  137. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_wikipedia.user.js +35 -0
  138. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/minus.png +0 -0
  139. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mj.css +223 -0
  140. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/plus.png +0 -0
  141. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/pygments.css +61 -0
  142. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/searchtools.js +505 -0
  143. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/underscore.js +16 -0
  144. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/ajax.html +406 -0
  145. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/callback.html +435 -0
  146. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/elementjax.html +283 -0
  147. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/html.html +292 -0
  148. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/hub.html +674 -0
  149. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/index.html +144 -0
  150. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/inputjax.html +221 -0
  151. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/jax.html +319 -0
  152. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/message.html +224 -0
  153. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/object.html +356 -0
  154. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/outputjax.html +246 -0
  155. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/queue.html +247 -0
  156. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/signal.html +334 -0
  157. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/variable.html +220 -0
  158. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/callbacks.html +305 -0
  159. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/community.html +155 -0
  160. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/configuration.html +434 -0
  161. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/dynamic.html +274 -0
  162. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/genindex.html +295 -0
  163. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/glossary.html +160 -0
  164. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/index.html +177 -0
  165. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/installation.html +262 -0
  166. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/jsMath.html +128 -0
  167. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathjax.html +137 -0
  168. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathml.html +194 -0
  169. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/model.html +305 -0
  170. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/objects.inv +0 -0
  171. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/FontWarnings.html +264 -0
  172. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/HTML-CSS.html +241 -0
  173. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MMLorHTML.html +143 -0
  174. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathML.html +132 -0
  175. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathMenu.html +194 -0
  176. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathZoom.html +147 -0
  177. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/NativeMML.html +171 -0
  178. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/TeX.html +175 -0
  179. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/hub.html +342 -0
  180. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/jsMath2jax.html +154 -0
  181. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/mml2jax.html +154 -0
  182. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/tex2jax.html +249 -0
  183. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/output.html +218 -0
  184. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/index.html +168 -0
  185. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/movable-type.html +145 -0
  186. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/wordpress.html +146 -0
  187. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/queues.html +334 -0
  188. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/search.html +95 -0
  189. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/searchindex.js +1 -0
  190. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/signals.html +257 -0
  191. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/start.html +374 -0
  192. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/startup.html +239 -0
  193. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/synchronize.html +161 -0
  194. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/tex.html +1152 -0
  195. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/typeset.html +318 -0
  196. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/CSS-styles.rst +79 -0
  197. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/HTML-snippets.rst +83 -0
  198. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_mathml.user.js +22 -0
  199. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_wikipedia.user.js +35 -0
  200. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/ajax.rst +196 -0
  201. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/callback.rst +259 -0
  202. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/elementjax.rst +122 -0
  203. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/html.rst +122 -0
  204. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/hub.rst +330 -0
  205. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/index.rst +44 -0
  206. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/inputjax.rst +86 -0
  207. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/jax.rst +148 -0
  208. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/message.rst +86 -0
  209. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/object.rst +210 -0
  210. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/outputjax.rst +100 -0
  211. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/queue.rst +99 -0
  212. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/signal.rst +154 -0
  213. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/variable.rst +83 -0
  214. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/callbacks.rst +228 -0
  215. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/community.rst +60 -0
  216. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/conf.py +198 -0
  217. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/configuration.rst +375 -0
  218. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/dynamic.rst +181 -0
  219. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/glossary.rst +75 -0
  220. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_head.png +0 -0
  221. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_menu.png +0 -0
  222. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_templates.png +0 -0
  223. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_menu.png +0 -0
  224. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_templates.png +0 -0
  225. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/index.rst +71 -0
  226. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/installation.rst +184 -0
  227. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/jsMath.rst +31 -0
  228. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathjax.rst +36 -0
  229. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathml.rst +97 -0
  230. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/static/mj.css_t +256 -0
  231. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/theme.conf +30 -0
  232. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/model.rst +224 -0
  233. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/FontWarnings.rst +140 -0
  234. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/HTML-CSS.rst +119 -0
  235. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst +42 -0
  236. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathML.rst +27 -0
  237. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathMenu.rst +79 -0
  238. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathZoom.rst +42 -0
  239. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/NativeMML.rst +61 -0
  240. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/TeX.rst +67 -0
  241. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/hub.rst +209 -0
  242. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/jsMath2jax.rst +53 -0
  243. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/mml2jax.rst +53 -0
  244. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/tex2jax.rst +137 -0
  245. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/output.rst +126 -0
  246. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/index.rst +65 -0
  247. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/movable-type.rst +41 -0
  248. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst +42 -0
  249. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/queues.rst +254 -0
  250. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/signals.rst +161 -0
  251. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/start.rst +314 -0
  252. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/startup.rst +152 -0
  253. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/synchronize.rst +65 -0
  254. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/tex.rst +1090 -0
  255. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/typeset.rst +229 -0
  256. data/lib/gollum/frontend/public/javascript/MathJax/extensions/FontWarnings.js +18 -0
  257. data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathMenu.js +18 -0
  258. data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathZoom.js +18 -0
  259. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +11 -369
  260. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +11 -378
  261. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +11 -36
  262. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +10 -101
  263. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +10 -57
  264. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +10 -177
  265. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +10 -161
  266. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js +18 -0
  267. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +10 -123
  268. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +10 -45
  269. data/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +10 -69
  270. data/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +10 -93
  271. data/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +10 -234
  272. data/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +10 -132
  273. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +11 -1466
  274. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +11 -115
  275. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +11 -51
  276. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +11 -28
  277. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +11 -28
  278. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +11 -28
  279. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +11 -33
  280. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +11 -59
  281. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +11 -28
  282. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +11 -30
  283. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +11 -32
  284. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +11 -221
  285. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +11 -31
  286. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +11 -160
  287. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +11 -31
  288. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +11 -29
  289. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +11 -282
  290. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +11 -155
  291. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +11 -32
  292. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +11 -80
  293. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +11 -107
  294. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +11 -104
  295. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +11 -105
  296. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +11 -81
  297. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +11 -51
  298. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +11 -72
  299. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +11 -75
  300. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +11 -45
  301. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +11 -78
  302. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +11 -29
  303. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +11 -29
  304. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +11 -168
  305. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +11 -54
  306. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +11 -212
  307. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +11 -81
  308. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +11 -72
  309. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +11 -77
  310. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +11 -27
  311. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +11 -127
  312. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +11 -161
  313. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +11 -72
  314. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +11 -75
  315. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +11 -84
  316. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +11 -66
  317. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +11 -28
  318. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +11 -40
  319. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +11 -34
  320. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +11 -32
  321. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +10 -582
  322. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +11 -33
  323. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +11 -1644
  324. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/maction.js +18 -0
  325. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +10 -53
  326. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +10 -90
  327. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +18 -0
  328. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +10 -41
  329. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mtable.js +18 -0
  330. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/multiline.js +18 -0
  331. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +10 -119
  332. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +12 -26
  333. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +12 -103
  334. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +12 -73
  335. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +12 -61
  336. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +12 -92
  337. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +12 -43
  338. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +12 -22
  339. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +12 -25
  340. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +12 -123
  341. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +12 -83
  342. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +12 -61
  343. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +12 -27
  344. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +12 -103
  345. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +12 -79
  346. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +12 -79
  347. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +12 -110
  348. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +12 -117
  349. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +12 -149
  350. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +12 -29
  351. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +12 -53
  352. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +12 -63
  353. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +12 -166
  354. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +12 -83
  355. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +12 -254
  356. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +12 -83
  357. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +12 -25
  358. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +12 -31
  359. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +12 -24
  360. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +12 -36
  361. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +12 -33
  362. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +12 -24
  363. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +12 -81
  364. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +12 -22
  365. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +12 -78
  366. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +12 -26
  367. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +12 -116
  368. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +12 -61
  369. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +12 -22
  370. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +12 -22
  371. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +12 -25
  372. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +12 -123
  373. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +12 -83
  374. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +12 -44
  375. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +12 -113
  376. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +12 -79
  377. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +12 -79
  378. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +12 -110
  379. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +12 -117
  380. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +12 -149
  381. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +12 -29
  382. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +12 -53
  383. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +12 -50
  384. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +12 -50
  385. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +12 -73
  386. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +12 -73
  387. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +12 -23
  388. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +12 -73
  389. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +12 -48
  390. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +12 -26
  391. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +12 -61
  392. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +12 -41
  393. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +12 -22
  394. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +12 -25
  395. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +12 -123
  396. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +12 -83
  397. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +12 -44
  398. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +12 -72
  399. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +12 -79
  400. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +12 -110
  401. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +12 -117
  402. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +12 -148
  403. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +12 -29
  404. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +12 -52
  405. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +12 -50
  406. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +12 -186
  407. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +12 -72
  408. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +12 -23
  409. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +12 -73
  410. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +12 -62
  411. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +12 -48
  412. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +12 -23
  413. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +12 -26
  414. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +12 -100
  415. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +12 -76
  416. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +12 -29
  417. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +12 -73
  418. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +12 -66
  419. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +12 -23
  420. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +12 -80
  421. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +12 -44
  422. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +12 -22
  423. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +12 -25
  424. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +12 -123
  425. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +12 -51
  426. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +12 -83
  427. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +12 -68
  428. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +12 -62
  429. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +12 -112
  430. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +12 -103
  431. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +12 -79
  432. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +12 -79
  433. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +12 -79
  434. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +12 -79
  435. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +12 -79
  436. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +12 -112
  437. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +12 -109
  438. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +12 -148
  439. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +12 -29
  440. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +12 -57
  441. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +12 -22
  442. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +12 -76
  443. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +12 -374
  444. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +12 -83
  445. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +12 -73
  446. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +12 -73
  447. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +12 -72
  448. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +12 -201
  449. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +12 -83
  450. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +12 -84
  451. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +12 -73
  452. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +12 -73
  453. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +12 -62
  454. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +12 -82
  455. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +12 -60
  456. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +12 -148
  457. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +12 -68
  458. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +12 -85
  459. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +12 -74
  460. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +12 -33
  461. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +12 -30
  462. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +12 -73
  463. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +12 -22
  464. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +12 -265
  465. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +12 -29
  466. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +12 -149
  467. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +12 -23
  468. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +12 -49
  469. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +12 -48
  470. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +12 -30
  471. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +12 -49
  472. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +12 -48
  473. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +12 -30
  474. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +12 -49
  475. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +12 -48
  476. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +12 -30
  477. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +12 -49
  478. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +12 -48
  479. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +12 -30
  480. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +12 -49
  481. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +12 -48
  482. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +12 -30
  483. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +12 -23
  484. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +12 -29
  485. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +12 -176
  486. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +12 -23
  487. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +12 -30
  488. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +12 -209
  489. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +12 -23
  490. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +12 -54
  491. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +12 -236
  492. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +12 -23
  493. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +12 -51
  494. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +12 -381
  495. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +12 -45
  496. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +12 -37
  497. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +12 -40
  498. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +12 -57
  499. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +12 -56
  500. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +12 -22
  501. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +12 -46
  502. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +12 -71
  503. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +12 -99
  504. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +12 -40
  505. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +12 -57
  506. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +12 -56
  507. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +12 -40
  508. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +12 -58
  509. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +12 -57
  510. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +12 -54
  511. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +12 -38
  512. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +12 -114
  513. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +12 -43
  514. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +10 -365
  515. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +12 -1396
  516. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +12 -59
  517. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +12 -49
  518. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +12 -27
  519. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +12 -23
  520. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +12 -23
  521. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +12 -22
  522. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +12 -22
  523. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +12 -30
  524. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +12 -23
  525. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +12 -25
  526. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +12 -22
  527. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +12 -28
  528. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +12 -45
  529. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +12 -132
  530. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +12 -23
  531. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +12 -37
  532. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +12 -23
  533. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +12 -44
  534. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +12 -90
  535. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +12 -89
  536. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +12 -103
  537. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +12 -30
  538. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +12 -24
  539. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +12 -28
  540. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +12 -103
  541. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +12 -29
  542. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +12 -24
  543. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +12 -29
  544. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +12 -37
  545. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +12 -104
  546. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +12 -103
  547. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +12 -36
  548. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +12 -45
  549. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +12 -33
  550. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +12 -22
  551. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +12 -38
  552. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +12 -26
  553. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +12 -32
  554. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +12 -30
  555. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +12 -22
  556. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +12 -22
  557. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +12 -27
  558. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +12 -155
  559. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +12 -88
  560. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +12 -23
  561. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +12 -28
  562. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +12 -27
  563. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +12 -30
  564. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +12 -24
  565. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +12 -28
  566. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +12 -32
  567. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +12 -27
  568. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +12 -32
  569. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +12 -22
  570. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +12 -22
  571. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +12 -22
  572. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +12 -22
  573. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +12 -131
  574. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +12 -45
  575. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +12 -33
  576. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +12 -22
  577. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +12 -32
  578. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +12 -26
  579. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +12 -32
  580. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +12 -26
  581. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +12 -22
  582. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +12 -22
  583. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +12 -27
  584. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +12 -298
  585. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +12 -88
  586. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +12 -25
  587. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +12 -28
  588. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +12 -29
  589. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +12 -24
  590. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +12 -28
  591. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +12 -199
  592. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +12 -198
  593. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +12 -109
  594. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +12 -32
  595. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +12 -30
  596. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +12 -41
  597. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +12 -109
  598. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +12 -32
  599. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +12 -30
  600. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +12 -41
  601. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +12 -109
  602. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +12 -32
  603. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +12 -29
  604. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +12 -41
  605. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +12 -48
  606. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +12 -56
  607. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +12 -68
  608. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +12 -60
  609. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +12 -44
  610. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +12 -71
  611. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +12 -117
  612. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +12 -30
  613. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +12 -29
  614. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +12 -38
  615. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +12 -37
  616. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +12 -50
  617. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +12 -76
  618. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +12 -105
  619. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +12 -1684
  620. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +10 -177
  621. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +12 -1984
  622. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +10 -43
  623. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +10 -222
  624. data/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +22 -14
  625. data/lib/gollum/frontend/public/javascript/MathJax/test/index.html +58 -8
  626. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-dynamic.html +54 -0
  627. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-mml.html +44 -0
  628. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-signals.html +121 -0
  629. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex.html +22 -0
  630. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex2mml.html +23 -0
  631. data/lib/gollum/frontend/public/javascript/editor/gollum.editor.js +1084 -0
  632. data/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js +168 -0
  633. data/lib/gollum/frontend/public/javascript/editor/langs/creole.js +103 -0
  634. data/lib/gollum/frontend/public/javascript/editor/langs/markdown.js +211 -0
  635. data/lib/gollum/frontend/public/javascript/editor/langs/org.js +173 -0
  636. data/lib/gollum/frontend/public/javascript/editor/langs/pod.js +111 -0
  637. data/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js +74 -0
  638. data/lib/gollum/frontend/public/javascript/editor/langs/textile.js +175 -0
  639. data/lib/gollum/frontend/public/javascript/gollum.dialog.js +206 -0
  640. data/lib/gollum/frontend/public/javascript/gollum.js +178 -231
  641. data/lib/gollum/frontend/public/javascript/gollum.placeholder.js +54 -0
  642. data/lib/gollum/frontend/public/javascript/jquery.color.js +123 -0
  643. data/lib/gollum/frontend/public/javascript/jquery.js +7179 -0
  644. data/lib/gollum/frontend/templates/compare.mustache +51 -31
  645. data/lib/gollum/frontend/templates/create.mustache +15 -39
  646. data/lib/gollum/frontend/templates/edit.mustache +17 -38
  647. data/lib/gollum/frontend/templates/editor.mustache +116 -0
  648. data/lib/gollum/frontend/templates/error.mustache +5 -8
  649. data/lib/gollum/frontend/templates/history.mustache +59 -36
  650. data/lib/gollum/frontend/templates/layout.mustache +24 -29
  651. data/lib/gollum/frontend/templates/page.mustache +34 -26
  652. data/lib/gollum/frontend/templates/search.mustache +35 -18
  653. data/lib/gollum/frontend/templates/searchbar.mustache +10 -0
  654. data/lib/gollum/frontend/views/compare.rb +9 -5
  655. data/lib/gollum/frontend/views/create.rb +23 -0
  656. data/lib/gollum/frontend/views/edit.rb +40 -1
  657. data/lib/gollum/frontend/views/history.rb +1 -1
  658. data/lib/gollum/frontend/views/page.rb +17 -6
  659. data/lib/gollum/frontend/views/search.rb +8 -0
  660. data/lib/gollum/git_access.rb +241 -0
  661. data/lib/gollum/markup.rb +107 -47
  662. data/lib/gollum/page.rb +114 -67
  663. data/lib/gollum/sanitization.rb +115 -0
  664. data/lib/gollum/wiki.rb +307 -267
  665. data/test/examples/lotr.git/COMMIT_EDITMSG +1 -0
  666. data/test/examples/lotr.git/config +8 -1
  667. data/test/examples/lotr.git/index +0 -0
  668. data/test/examples/lotr.git/info/exclude +1 -1
  669. data/test/examples/lotr.git/logs/HEAD +2 -0
  670. data/test/examples/lotr.git/logs/refs/heads/master +2 -0
  671. data/test/examples/lotr.git/objects/84/0ec5b1ba1320e8ec443f28f99566f615d5af10 +0 -0
  672. data/test/examples/lotr.git/objects/a3/1ca2a7c352c92531a8b99815d15843b259e814 +0 -0
  673. data/test/examples/lotr.git/objects/a8/ad3c09dd842a3517085bfadd37718856dee813 +0 -0
  674. data/test/examples/lotr.git/packed-refs +1 -1
  675. data/test/examples/lotr.git/refs/heads/master +1 -1
  676. data/test/examples/lotr.git/refs/remotes/origin/HEAD +1 -0
  677. data/test/examples/page_file_dir.git/COMMIT_EDITMSG +1 -0
  678. data/test/examples/page_file_dir.git/HEAD +1 -0
  679. data/test/examples/page_file_dir.git/config +6 -0
  680. data/test/examples/page_file_dir.git/description +1 -0
  681. data/test/examples/page_file_dir.git/index +0 -0
  682. data/test/examples/page_file_dir.git/info/exclude +6 -0
  683. data/test/examples/page_file_dir.git/logs/HEAD +1 -0
  684. data/test/examples/page_file_dir.git/logs/refs/heads/master +1 -0
  685. data/test/examples/page_file_dir.git/objects/0c/7d27db1f575263efdcab3dc650f4502a2dbcbf +0 -0
  686. data/test/examples/page_file_dir.git/objects/22/b404803c966dd92865614d86ff22ca12e50c1e +0 -0
  687. data/test/examples/page_file_dir.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 +0 -0
  688. data/test/examples/page_file_dir.git/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 +0 -0
  689. data/test/examples/page_file_dir.git/objects/5b/43e14e0a15fb6f08feab1773d1c0991e9f71e2 +0 -0
  690. data/test/examples/page_file_dir.git/refs/heads/master +1 -0
  691. data/test/examples/revert.git/COMMIT_EDITMSG +1 -0
  692. data/test/examples/revert.git/HEAD +1 -0
  693. data/test/examples/revert.git/config +12 -0
  694. data/test/examples/revert.git/description +1 -0
  695. data/test/examples/revert.git/index +0 -0
  696. data/test/examples/revert.git/info/exclude +6 -0
  697. data/test/examples/revert.git/logs/HEAD +2 -0
  698. data/test/examples/revert.git/logs/refs/heads/master +2 -0
  699. data/test/examples/revert.git/objects/20/2ced67cea93c7b6bd2928aa1daef8d1d55a20d +0 -0
  700. data/test/examples/revert.git/objects/41/76394bfa11222363c66ce7e84b5f154095b6d9 +0 -0
  701. data/test/examples/revert.git/objects/6a/69f92020f5df77af6e8813ff1232493383b708 +0 -0
  702. data/test/examples/revert.git/objects/b4/785957bc986dc39c629de9fac9df46972c00fc +0 -0
  703. data/test/examples/revert.git/objects/f4/03b791119f8232b7cb0ba455c624ac6435f433 +0 -0
  704. data/test/examples/revert.git/objects/info/packs +2 -0
  705. data/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.idx +0 -0
  706. data/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack +0 -0
  707. data/test/examples/revert.git/packed-refs +2 -0
  708. data/test/examples/revert.git/refs/heads/master +1 -0
  709. data/test/examples/revert.git/refs/remotes/origin/HEAD +1 -0
  710. data/test/examples/yubiwa.git/HEAD +1 -0
  711. data/test/examples/yubiwa.git/config +5 -0
  712. data/test/examples/yubiwa.git/description +1 -0
  713. data/test/examples/yubiwa.git/info/exclude +6 -0
  714. data/test/examples/yubiwa.git/objects/10/fa2ddc4e3b4009d8a453aace10bd6148c1ad00 +0 -0
  715. data/test/examples/yubiwa.git/objects/52/4b82874327ea7cbf730389964ba7cb3de966de +0 -0
  716. data/test/examples/yubiwa.git/objects/58/3fc201cb457fb3f1480f3e1e5999b119633835 +0 -0
  717. data/test/examples/yubiwa.git/objects/87/bc1dd46ab3d3874d4e898d45dd512cc20a7cc8 +1 -0
  718. data/test/examples/yubiwa.git/objects/89/64ed1b4e21aa90e831763bbce9034bfda81b70 +0 -0
  719. data/test/examples/yubiwa.git/objects/9f/f6dd0660da5fba2d3374adb2b84fa653bb538b +0 -0
  720. data/test/examples/yubiwa.git/objects/ac/e97abf2b177815a1972d7db22f229f58c83309 +0 -0
  721. data/test/examples/yubiwa.git/objects/b1/f443863a4816628807fbf86141ebef055dda34 +0 -0
  722. data/test/examples/yubiwa.git/refs/heads/master +1 -0
  723. data/test/helper.rb +19 -3
  724. data/test/test_app.rb +144 -0
  725. data/test/test_committer.rb +51 -0
  726. data/test/test_file.rb +3 -1
  727. data/test/test_git_access.rb +52 -0
  728. data/test/test_markup.rb +92 -17
  729. data/test/test_page.rb +30 -2
  730. data/test/test_page_revert.rb +45 -0
  731. data/test/test_wiki.rb +55 -36
  732. metadata +388 -47
  733. data/lib/gollum/frontend/public/css/editbar.css +0 -194
  734. data/lib/gollum/frontend/public/css/screen.css +0 -726
  735. data/lib/gollum/frontend/public/css/syntax.css +0 -61
  736. data/lib/gollum/frontend/public/images/buttons.png +0 -0
  737. data/lib/gollum/frontend/public/images/editbar-buttons.png +0 -0
  738. data/lib/gollum/frontend/public/images/example.png +0 -0
  739. data/lib/gollum/frontend/public/images/twiddle-down.png +0 -0
  740. data/lib/gollum/frontend/public/images/twiddle-right.png +0 -0
  741. data/lib/gollum/frontend/public/images/txt.png +0 -0
  742. data/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt +0 -202
  743. data/lib/gollum/frontend/public/javascript/MathJax/README.txt +0 -480
  744. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif +0 -0
  745. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +0 -28
  746. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +0 -28
  747. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +0 -28
  748. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +0 -28
  749. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +0 -28
  750. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +0 -28
  751. data/lib/gollum/frontend/public/javascript/jquery.previewable_comment_form.js +0 -57
  752. data/lib/gollum/frontend/public/javascript/jquery.tabs.js +0 -59
  753. data/lib/gollum/frontend/public/javascript/jquery.text_selection-1.0.0.min.js +0 -1
  754. data/lib/gollum/frontend/templates/editbar.mustache +0 -1196
  755. data/test/examples/lotr.git/hooks/applypatch-msg.sample +0 -15
  756. data/test/examples/lotr.git/hooks/commit-msg.sample +0 -24
  757. data/test/examples/lotr.git/hooks/post-commit.sample +0 -8
  758. data/test/examples/lotr.git/hooks/post-receive.sample +0 -15
  759. data/test/examples/lotr.git/hooks/post-update.sample +0 -8
  760. data/test/examples/lotr.git/hooks/pre-applypatch.sample +0 -14
  761. data/test/examples/lotr.git/hooks/pre-commit.sample +0 -46
  762. data/test/examples/lotr.git/hooks/pre-rebase.sample +0 -169
  763. data/test/examples/lotr.git/hooks/prepare-commit-msg.sample +0 -36
  764. data/test/examples/lotr.git/hooks/update.sample +0 -128
  765. data/test/examples/lotr.git/info/refs +0 -1
@@ -0,0 +1,229 @@
1
+ .. _typeset-math:
2
+
3
+ **************************
4
+ Modifying Math on the Page
5
+ **************************
6
+
7
+ If you are writing a dynamic web page where content containing
8
+ mathematics may appear after MathJax has already typeset the rest of
9
+ the page, then you will need to tell MathJax to look for mathematics
10
+ in the page again when that new content is produced. To do that, you
11
+ need to use the :meth:`MathJax.Hub.Typeset()` method. This will cause
12
+ the preprocessors (if any were loaded) to run over the page again, and
13
+ then MathJax will look for unprocessed mathematics on the page and
14
+ typeset it, leaving unchanged any math that has already been typeset.
15
+
16
+ You should not simply call this method directly, however. Because
17
+ MathJax operates asynchonously (see :ref:`Synchronizing with MathJax
18
+ <synchronization>` for details), you need to be sure that
19
+ your call to :meth:`MathJax.Hub.Typeset()` is synchronized with the
20
+ other actions that MathJax is taking. For example, it may already be
21
+ typesetting portions of the page, or it may be waiting for an output
22
+ jax to load, etc., and so you need to queue to typeset action to be
23
+ performed after MathJax has finished whatever else it may be doing.
24
+ That may be immediately, but it may not, and there is no way to tell.
25
+
26
+ To queue the typeset action, use the command
27
+
28
+ .. code-block:: javascript
29
+
30
+ MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
31
+
32
+ This will cause MathJax to typeset the page when it is next able to do
33
+ so. It guarantees that the typesetting will synchronize properly
34
+ with the loading of jax, extensions, fonts, stylesheets, and other
35
+ asynchornous activity, and is the only truely safe way to ask MathJax
36
+ to process additional material.
37
+
38
+ The :meth:`MathJax.Hub.Typeset()` command also accepts a parameter
39
+ that is a DOM element whose contents is to be typeset. That could be
40
+ a paragraph, or a ``<div>`` element, or even a MathJax math
41
+ ``<script>`` tag. It could also be a the DOM `id` of such an object, in
42
+ which case, MathJax will look up the DOM element for you. So
43
+
44
+ .. code-block:: javascript
45
+
46
+ MathJax.Hub.Queue(["Typeset",MathJax.Hub,"MathExample"]);
47
+
48
+ would typeset the mathematics contained in the element whose `id` is
49
+ ``MathExample``. This is equivalent to
50
+
51
+ .. code-block:: javascript
52
+
53
+ var math = document.getElementById("MathExample");
54
+ MathJax.Hub.Queue(["Typeset",MathJax.Hub,math]);
55
+
56
+ If no element or element `id` is provided, the whole document is
57
+ typeset.
58
+
59
+ Note that the :meth:`MathJax.Hub.Queue()` method will return
60
+ immediately, regardless of whether the typesetting has taken place or
61
+ not, so you can not assume that the mathematics is visible after you
62
+ make this call. That means that things like the size of the container
63
+ for the mathematics may not yet reflect the size of the typeet
64
+ mathematics. If you need to perform actions that depend on the
65
+ mathematics being typeset, you should push *those* actions onto the
66
+ ``MathJax.Hub.queue`` as well.
67
+
68
+ This can be quite subtle, so you have to think carefully about the
69
+ structure of your code that works with the typeset mathematics. Also,
70
+ the things you push onto the queue should be `Callback` objects that
71
+ perform the actions you want when they are called, not the *results*
72
+ of calling the functions that do what you want.
73
+
74
+
75
+ Manipulating Individual Math Elements
76
+ =====================================
77
+
78
+ If you are not changing a complete DOM structure, but simply want to
79
+ update the contents of a single mathematical equation, you do not need
80
+ to use ``innerHTML`` and :meth:`MathJax.Hub.Typeset()` to preprocess
81
+ and process an elements new content. Instead, you can ask MathJax to
82
+ find the `element jax` for the math element on the page, and use its
83
+ methods to modify and update the mathematics that it displays.
84
+
85
+ For example, suppose you have the following HTML in your document
86
+
87
+ .. code-block:: html
88
+
89
+ <div id="MathDiv">
90
+ The answer you provided is: ${}$.
91
+ </div>
92
+
93
+ and MathJax has already preprocessed and typeset the mathematics
94
+ within dollar signs (it will be blank). A student has typed
95
+ something elsewhere on the page, and you want to typeset their answer
96
+ in the location of the mathematics that is already there. You could
97
+ replace the entire contents of the `MathDiv` element and call
98
+ :meth:`MathJax.Hub.Typeset()` as described above, but there is more
99
+ efficient approach, which is to ask MathJax for the element jax for
100
+ the mathematics, and call its method for replacing the formula shown
101
+ by that element. For example:
102
+
103
+ .. code-block:: javascript
104
+
105
+ var math = MathJax.Hub.getAllJax("MathDiv")[0];
106
+ MathJax.Hub.Queue(["Text",math,"x+1"]);
107
+
108
+ This looks up the list of math elements in `MathDiv` element (there is
109
+ only one) and takes the first one (element 0) and stores it in
110
+ ``math``. This is an `element jax` object (see the :ref:`Element Jax
111
+ <api-element-jax>` specification for details), which has a
112
+ :meth:`Text()` method that can be used to set the input text of the
113
+ math element, and retypeset it.
114
+
115
+ Again, since the typesetting should be synchronized with other actions
116
+ of MathJax, the call should be pushed onto the ``MathJax.Hub.queue``,
117
+ as shown above, rather than called directly. The example above
118
+ performs the equivalent of ``math.Text("x+1")`` as soon as MathJax is
119
+ able to do so. Any additional actions the rely on the equation
120
+ ``x+1`` actually showing on screen should also be pushed onto the
121
+ queue so that they will not occur before the math is typeset.
122
+
123
+ The actions you can perform on an element jax include:
124
+
125
+ .. describe:: Text(newmath)
126
+
127
+ to set the math text of the element to `newmath` and typeset.
128
+
129
+ .. describe:: Reprocess()
130
+
131
+ to remove the output and reproduce it again (for
132
+ example, if CSS has changed that would alter the spacing of the
133
+ mathematics).
134
+
135
+ .. describe:: Remove()
136
+
137
+ to remove the output for this math element (but not
138
+ the original ``<script>`` tag).
139
+
140
+ .. describe:: SourceElement()
141
+
142
+ to obtain a reference to the original
143
+ ``<script>`` object that is assocaited with this element jax.
144
+
145
+
146
+ Note that once you have located an element jax, you can keep using it
147
+ and don't have to look it up again. So for the example above, if the
148
+ student is going to be able to type several different answers that you
149
+ will want to typeset, you can look up the element jax once at the
150
+ beginning after MathJax has processed the page the first time, and
151
+ then use that result each time you adjust the mathematics to be
152
+ displayed.
153
+
154
+ To get the element jax the first time, you need to be sure that you
155
+ ask MathJax for it **after** MathJax has processed the page the first
156
+ time. This is another sitaution where you want to use the MathJax
157
+ queue. If your startup code performs the commands
158
+
159
+ .. code-block:: javascript
160
+
161
+ var studentDisplay = null;
162
+ MathJax.Hub.Queue(function () {
163
+ studentDisplay = MathJax.Hub.getAllJax("MathDiv");
164
+ });
165
+
166
+ then you can use
167
+
168
+ .. code-block:: javascript
169
+
170
+ MathJax.Hub.Queue(["Text",studentDisplay,studentAnswer])
171
+
172
+ to change the student's answer to be the typeset version of whatever
173
+ is in the ``studentAnswer`` variable.
174
+
175
+ Here is a complete example that illustrates this approach
176
+
177
+ .. code-block:: html
178
+
179
+ <html>
180
+ <head>
181
+ <title>MathJax Dynamic Math Test Page</title>
182
+
183
+ <script src="/MathJax/MathJax.js">
184
+ MathJax.Hub.Config({
185
+ extensions: ["tex2jax.js"],
186
+ jax: ["input/TeX","output/HTML-CSS"],
187
+ tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
188
+ });
189
+ </script>
190
+
191
+ </head>
192
+ <body>
193
+
194
+ <script>
195
+ //
196
+ // Use a closure to hide the local variables from the
197
+ // global namespace
198
+ //
199
+ (function () {
200
+ var QUEUE = MathJax.Hub.queue; // shorthand for the queue
201
+ var math = null; // the element jax for the math output.
202
+
203
+ //
204
+ // Get the element jax when MathJax has produced it.
205
+ //
206
+ QUEUE.Push(function () {
207
+ math = MathJax.Hub.getAllJax("MathOutput")[0];
208
+ });
209
+
210
+ //
211
+ // The onchange event handler that typesets the
212
+ // math entered by the user
213
+ //
214
+ window.UpdateMath = function (TeX) {
215
+ QUEUE.Push(["Text",math,"\\displaystyle{"+TeX+"}"]);
216
+ }
217
+ })();
218
+ </script>
219
+
220
+ Type some TeX code:
221
+ <input id="MathInput" size="50" onchange="UpdateMath(this.value)" />
222
+ <p>
223
+
224
+ <div id="MathOutput">
225
+ You typed: ${}$
226
+ </div>
227
+
228
+ </body>
229
+ </html>
@@ -0,0 +1,18 @@
1
+ /*
2
+ * ../SourceForge/trunk/mathjax/extensions/FontWarnings.js
3
+ *
4
+ * Copyright (c) 2010 Design Science, Inc.
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Unpack([
16
+ ['(','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");']
17
+ ]);
18
+
@@ -0,0 +1,18 @@
1
+ /*
2
+ * ../SourceForge/trunk/mathjax/extensions/MathMenu.js
3
+ *
4
+ * Copyright (c) 2010 Design Science, Inc.
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Unpack([
16
+ ['(','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);']
17
+ ]);
18
+
@@ -0,0 +1,18 @@
1
+ /*
2
+ * ../SourceForge/trunk/mathjax/extensions/MathZoom.js
3
+ *
4
+ * Copyright (c) 2010 Design Science, Inc.
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Unpack([
16
+ ['(','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);']
17
+ ]);
18
+
@@ -1,376 +1,18 @@
1
- /*************************************************************
2
- *
3
- * MathJax/extensions/TeX/AMSmath.js
4
- *
5
- * Implements AMS math environments and macros.
1
+ /*
2
+ * ../SourceForge/trunk/mathjax/extensions/TeX/AMSmath.js
6
3
  *
7
- * ---------------------------------------------------------------------
8
- *
9
- * Copyright (c) 2009 Design Science, Inc.
4
+ * Copyright (c) 2010 Design Science, Inc.
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
10
8
  *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * Licensed under the Apache License, Version 2.0;
12
10
  * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
11
+ *
15
12
  * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License.
22
13
  */
23
14
 
24
- MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
25
- var MML = MathJax.ElementJax.mml;
26
- var TEX = MathJax.InputJax.TeX;
27
- var TEXDEF = TEX.Definitions;
28
- var STACKITEM = TEX.Stack.Item;
29
-
30
- var COLS = function (W) {return W.join("em ") + "em"};
31
-
32
- MathJax.Hub.Insert(TEXDEF,{
33
- macros: {
34
- mathring: ['Accent','2DA'], // or 0x30A
35
-
36
- nobreakspace: 'Tilde',
37
- negmedspace: ['Spacer',MML.LENGTH.NEGATIVEMEDIUMMATHSPACE],
38
- negthickspace: ['Spacer',MML.LENGTH.NEGATIVETHICKMATHSPACE],
39
-
40
- intI: ['Macro','\\mathchoice{\\!}{}{}{}\\!\\!\\int'],
41
- // iint: ['MultiIntegral','\\int\\intI'], // now in core TeX input jax
42
- // iiint: ['MultiIntegral','\\int\\intI\\intI'], // now in core TeX input jax
43
- iiiint: ['MultiIntegral','\\int\\intI\\intI\\intI'],
44
- idotsint: ['MultiIntegral','\\int\\cdots\\int'],
45
-
46
- dddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}}',1],
47
- ddddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}\\mathord{.}}',1],
48
-
49
- sideset: ['Macro','\\mathop{\\mathop{\\rlap{\\phantom{#3}}}\\nolimits#1\\!\\mathop{#3}\\nolimits#2}',3],
50
-
51
- boxed: ['Macro','\\fbox{$\\displaystyle{#1}$}',1],
52
-
53
- tag: 'HandleTag',
54
- notag: 'HandleNoTag',
55
-
56
- substack: ['Macro','\\begin{subarray}{c}#1\\end{subarray}',1],
57
-
58
- injlim: ['Macro','\\mathop{\\rm inj\\,lim}'],
59
- projlim: ['Macro','\\mathop{\\rm proj\\,lim}'],
60
- varliminf: ['Macro','\\mathop{\\underline{\\rm lim}}'],
61
- varlimsup: ['Macro','\\mathop{\\overline{\\rm lim}}'],
62
- varinjlim: ['Macro','\\mathop{\\underrightarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'],
63
- varprojlim: ['Macro','\\mathop{\\underleftarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'],
64
-
65
- DeclareMathOperator: 'HandleDeclareOp',
66
- operatorname: 'HandleOperatorName',
67
-
68
- genfrac: 'Genfrac',
69
- frac: ['Genfrac',"","","",""],
70
- tfrac: ['Genfrac',"","","",1],
71
- dfrac: ['Genfrac',"","","",0],
72
- binom: ['Genfrac',"(",")","0em",""],
73
- tbinom: ['Genfrac',"(",")","0em",1],
74
- dbinom: ['Genfrac',"(",")","0em",0],
75
-
76
- cfrac: 'CFrac',
77
-
78
- shoveleft: ['HandleShove',MML.ALIGN.LEFT],
79
- shoveright: ['HandleShove',MML.ALIGN.RIGHT],
80
-
81
- xrightarrow: ['xArrow',0x2192,5,6],
82
- xleftarrow: ['xArrow',0x2190,7,3]
83
- },
84
-
85
- environment: {
86
- align: ['AMSarray',null,true,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],
87
- 'align*': ['AMSarray',null,false,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],
88
- multline: ['Multline',null,true],
89
- 'multline*': ['Multline',null,false],
90
- split: ['AMSarray',null,false,false,'rl',COLS([5/18])],
91
- gather: ['AMSarray',null,true,true, 'c'],
92
- 'gather*': ['AMSarray',null,false,true, 'c'],
93
-
94
- alignat: ['AlignAt',null,true,true],
95
- 'alignat*': ['AlignAt',null,false,true],
96
- alignedat: ['AlignAt',null,false,false],
97
-
98
- aligned: ['Array',null,null,null,'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18]),".5em",'D'],
99
- gathered: ['Array',null,null,null,'c',null,".5em",'D'],
100
-
101
- subarray: ['Array',null,null,null,null,COLS([0,0,0,0]),"0.1em",'S',1],
102
- smallmatrix: ['Array',null,null,null,'c',COLS([1/3]),".2em",'S',1]
103
- },
104
-
105
- delimiter: {
106
- '\\lvert': ['2223',{texClass:MML.TEXCLASS.OPEN}],
107
- '\\rvert': ['2223',{texClass:MML.TEXCLASS.CLOSE}],
108
- '\\lVert': ['2225',{texClass:MML.TEXCLASS.OPEN}],
109
- '\\rVert': ['2225',{texClass:MML.TEXCLASS.CLOSE}]
110
- }
111
- });
112
-
113
-
114
- TEX.Parse.Augment({
115
-
116
- /*
117
- * Add the tag to the environment to be added to the table row later
118
- */
119
- HandleTag: function (name) {
120
- var arg = this.trimSpaces(this.GetArgument(name));
121
- if (arg === "*") {arg = this.GetArgument(name)} else {arg = "("+arg+")"}
122
- if (this.stack.global.notag)
123
- {TEX.Error(name+" not allowed in "+this.stack.global.notag+" environment")}
124
- if (this.stack.global.tag) {TEX.Error("Multiple "+name)}
125
- this.stack.global.tag = MML.mtd.apply(MML,this.InternalMath(arg));
126
- },
127
- HandleNoTag: function (name) {
128
- if (this.stack.global.tag) {delete this.stack.global.tag}
129
- },
130
-
131
- /*
132
- * Handle \DeclareMathOperator
133
- */
134
- HandleDeclareOp: function (name) {
135
- var limits = "";
136
- var cs = this.trimSpaces(this.GetArgument(name));
137
- if (cs == "*") {
138
- limits = "\\limits";
139
- cs = this.trimSpaces(this.GetArgument(name));
140
- }
141
- if (cs.charAt(0) == "\\") {cs = cs.substr(1)}
142
- var op = this.GetArgument(name);
143
- op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
144
- TEX.Definitions.macros[cs] = ['Macro','\\mathop{\\rm '+op+'}'+limits];
145
- },
146
-
147
- HandleOperatorName: function (name) {
148
- var limits = "\\nolimits";
149
- var op = this.trimSpaces(this.GetArgument(name));
150
- if (op == "*") {
151
- limits = "\\limits";
152
- op = this.trimSpaces(this.GetArgument(name));
153
- }
154
- op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
155
- this.string = '\\mathop{\\rm '+op+'}'+limits+" "+this.string.slice(this.i);
156
- this.i = 0;
157
- },
158
-
159
- /*
160
- * Record presence of \shoveleft and \shoveright
161
- */
162
- HandleShove: function (name,shove) {
163
- var top = this.stack.Top();
164
- if (top.type !== "multline" || top.data.length) {TEX.Error(name+" must come at the beginning of the line")}
165
- top.data.shove = shove;
166
- },
167
-
168
- /*
169
- * Handle \cfrac
170
- */
171
- CFrac: function (name) {
172
- var lr = this.trimSpaces(this.GetBrackets(name)),
173
- num = this.GetArgument(name),
174
- den = this.GetArgument(name);
175
- var frac = MML.mfrac(TEX.Parse('\\strut\\textstyle{'+num+'}',this.stack.env).mml(),
176
- TEX.Parse('\\strut\\textstyle{'+den+'}',this.stack.env).mml());
177
- lr = ({l:MML.ALIGN.LEFT, r:MML.ALIGN.RIGHT,"":""})[lr];
178
- if (lr == null) {TEX.Error("Illegal alignment specified in "+name)}
179
- if (lr) {frac.numalign = frac.denomalign = lr}
180
- this.Push(frac);
181
- },
182
-
183
- /*
184
- * Implement AMS generalized fraction
185
- */
186
- Genfrac: function (name,left,right,thick,style) {
187
- if (left == null) {left = this.GetDelimiterArg(name)} else {left = this.convertDelimiter(left)}
188
- if (right == null) {right = this.GetDelimiterArg(name)} else {right = this.convertDelimiter(right)}
189
- if (thick == null) {thick = this.GetArgument(name)}
190
- if (style == null) {style = this.trimSpaces(this.GetArgument(name))}
191
- var num = this.ParseArg(name);
192
- var den = this.ParseArg(name);
193
- var frac = MML.mfrac(num,den);
194
- if (thick !== "") {frac.linethickness = thick}
195
- if (left || right) {frac = MML.mfenced(frac).With({open: left, close: right})}
196
- if (style !== "") {
197
- var STYLE = (["D","T","S","SS"])[style];
198
- if (STYLE == null) {TEX.Error("Bad math style for "+name)}
199
- frac = MML.mstyle(frac);
200
- if (STYLE === "D") {frac.displaystyle = true; frac.scriptlevel = 0}
201
- else {frac.displaystyle = false; frac.scriptlevel = style - 1}
202
- }
203
-
204
- this.Push(frac);
205
- },
206
-
207
- /*
208
- * Implements multline environment (mostly handled through STACKITEM below)
209
- */
210
- Multline: function (begin,numbered) {
211
- this.Push(begin);
212
- return STACKITEM.multline().With({
213
- arraydef: {
214
- displaystyle: true,
215
- rowspacing: ".5em",
216
- width: TEX.config.MultLineWidth, columnwidth:"100%",
217
- side: TEX.config.TagSide,
218
- minlabelspacing: TEX.config.TagIndent
219
- }
220
- });
221
- },
222
-
223
- /*
224
- * Handle AMS aligned environments
225
- */
226
- AMSarray: function (begin,numbered,taggable,align,spacing) {
227
- this.Push(begin);
228
- align = align.replace(/[^clr]/g,'').split('').join(' ');
229
- align = align.replace(/l/g,'left').replace(/r/g,'right').replace(/c/g,'center');
230
- return STACKITEM.AMSarray(begin.name,numbered,taggable,this.stack).With({
231
- arraydef: {
232
- displaystyle: true,
233
- rowspacing: ".5em",
234
- columnalign: align,
235
- columnspacing: (spacing||"1em"),
236
- rowspacing: "3pt",
237
- side: TEX.config.TagSide,
238
- minlabelspacing: TEX.config.TagIndent
239
- }
240
- });
241
- },
242
-
243
- AlignAt: function (begin,numbered,taggable) {
244
- var n = this.GetArgument("\\begin{"+begin.name+"}");
245
- if (n.match(/[^0-9]/)) {TEX.Error("Argument to \\begin{"+begin.name+"} must me a positive integer")}
246
- align = ""; spacing = [];
247
- while (n > 0) {align += "rl"; spacing.push("0em 0em"); n--}
248
- spacing = spacing.join(" ");
249
- if (taggable) {return this.AMSarray(begin,numbered,taggable,align,spacing)}
250
- return this.Array(begin,null,null,align,spacing,".5em",'D');
251
- },
252
-
253
- /*
254
- * Handle multiple integrals (make a mathop if followed by limits)
255
- */
256
- MultiIntegral: function (name,integral) {
257
- var next = this.GetNext();
258
- if (next === "\\") {
259
- var i = this.i; next = this.GetArgument(name); this.i = i;
260
- if (next === "\\limits") {
261
- if (name === "\\idotsint") {integral = "\\!\\!\\mathop{\\,\\,"+integral+"}"}
262
- else {integral = "\\!\\!\\!\\mathop{\\,\\,\\,"+integral+"}"}
263
- }
264
- }
265
- this.string = integral + " " + this.string.slice(this.i);
266
- this.i = 0;
267
- },
268
-
269
- xArrow: function (name,chr,l,r) {
270
- var def = {width: "+"+(l+r)+"mu", lspace: l+"mu"};
271
- var bot = this.GetBrackets(name),
272
- top = this.ParseArg(name);
273
- var arrow = MML.mo(MML.chars(String.fromCharCode(chr))).With({
274
- stretchy: true, texClass: MML.TEXCLASS.REL
275
- });
276
- var mml = MML.munderover(arrow);
277
- mml.SetData(mml.over,MML.mpadded(top).With(def).With({voffset:".15em"}));
278
- if (bot) {
279
- bot = TEX.Parse(bot,this.stack.env).mml()
280
- mml.SetData(mml.under,MML.mpadded(bot).With(def).With({voffset:"-.24em"}));
281
- }
282
- this.Push(mml);
283
- },
284
-
285
- /*
286
- * Get a delimiter or empty argument
287
- */
288
- GetDelimiterArg: function (name) {
289
- var c = this.trimSpaces(this.GetArgument(name));
290
- if (c == "") {return null}
291
- if (!TEXDEF.delimiter[c]) {TEX.Error("Missing or unrecognized delimiter for "+name)}
292
- return this.convertDelimiter(c);
293
- }
294
- });
295
-
296
- /*
297
- * Implement multline environment via a STACKITEM
298
- */
299
- STACKITEM.multline = STACKITEM.array.Subclass({
300
- type: "multline",
301
- EndEntry: function () {
302
- var mtd = MML.mtd.apply(MML,this.data);
303
- if (this.data.shove) {mtd.columnalign = this.data.shove}
304
- this.row.push(mtd);
305
- this.data = [];
306
- },
307
- EndRow: function () {
308
- if (this.row.length != 1) {TEX.Error("multline rows must have exactly one column")}
309
- this.table.push(this.row); this.row = [];
310
- },
311
- EndTable: function () {
312
- this.SUPER(arguments).EndTable.call(this);
313
- if (this.table.length) {
314
- var m = this.table.length-1, i;
315
- if (!this.table[0][0].columnalign) {this.table[0][0].columnalign = MML.ALIGN.LEFT}
316
- if (!this.table[m][0].columnalign) {this.table[m][0].columnalign = MML.ALIGN.RIGHT}
317
- var mtr = MML.mtr;
318
- if (this.global.tag) {
319
- this.table[0] = [this.global.tag].concat(this.table[0]);
320
- delete this.global.tag; mtr = MML.mlabeledtr;
321
- }
322
- this.table[0] = mtr.apply(MML,this.table[0]);
323
- for (i = 1, m = this.table.length; i < m; i++)
324
- {this.table[i] = MML.mtr.apply(MML,this.table[i])}
325
- }
326
- }
327
- });
328
-
329
- STACKITEM.AMSarray = STACKITEM.array.Subclass({
330
- type: "AMSarray",
331
- Init: function (name,numbered,taggable,stack) {
332
- this.SUPER(arguments).Init.apply(this);
333
- this.numbered = numbered;
334
- this.save_notag = stack.global.notag;
335
- stack.global.notag = (taggable ? null : name);
336
- },
337
- EndRow: function () {
338
- var mtr = MML.mtr;
339
- if (this.global.tag) {
340
- this.row = [this.global.tag].concat(this.row);
341
- mtr = MML.mlabeledtr;
342
- delete this.global.tag;
343
- }
344
- this.table.push(mtr.apply(MML,this.row)); this.row = [];
345
- },
346
- EndTable: function () {
347
- this.SUPER(arguments).EndTable.call(this);
348
- this.global.notag = this.save_notag;
349
- }
350
- });
351
-
352
- //
353
- // Look for \tag on a formula and make an mtable to include it
354
- //
355
- STACKITEM.start.Augment({
356
- oldCheckItem: STACKITEM.start.prototype.checkItem,
357
- checkItem: function (item) {
358
- if (item.type === "stop") {
359
- var mml = this.mmlData();
360
- if (this.global.tag) {
361
- mml = MML.mtable(MML.mlabeledtr(this.global.tag,MML.mtd(mml)));
362
- mml.side = TEX.config.TagSide;
363
- mml.minlabelspacing = TEX.config.TagIndent;
364
- delete this.global.tag;
365
- }
366
- return STACKITEM.mml(mml);
367
- }
368
- return this.SUPER(arguments).checkItem.call(this,item);
369
- }
370
- });
371
-
372
- MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready");
373
-
374
- });
15
+ MathJax.Unpack([
16
+ ['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");']
17
+ ]);
375
18
 
376
- MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js");