mathjax-rails 2.5.1 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1016) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mathjax/rails/version.rb +2 -2
  3. data/vendor/mathjax/.npmignore +7 -0
  4. data/vendor/mathjax/.travis.yml +18 -0
  5. data/vendor/mathjax/CONTRIBUTING.md +45 -47
  6. data/vendor/mathjax/MathJax.js +1 -1
  7. data/vendor/mathjax/README.md +11 -4
  8. data/vendor/mathjax/composer.json +2 -10
  9. data/vendor/mathjax/config/AM_CHTML-full.js +50 -0
  10. data/vendor/mathjax/config/AM_CHTML.js +46 -0
  11. data/vendor/mathjax/config/AM_HTMLorMML-full.js +22 -20
  12. data/vendor/mathjax/config/AM_HTMLorMML.js +19 -17
  13. data/vendor/mathjax/config/AM_SVG-full.js +50 -0
  14. data/vendor/mathjax/config/AM_SVG.js +44 -0
  15. data/vendor/mathjax/config/Accessible-full.js +29 -28
  16. data/vendor/mathjax/config/Accessible.js +26 -25
  17. data/vendor/mathjax/config/MML_CHTML-full.js +50 -0
  18. data/vendor/mathjax/config/MML_CHTML.js +46 -0
  19. data/vendor/mathjax/config/MML_HTMLorMML-full.js +22 -20
  20. data/vendor/mathjax/config/MML_HTMLorMML.js +19 -17
  21. data/vendor/mathjax/config/MML_SVG-full.js +50 -0
  22. data/vendor/mathjax/config/MML_SVG.js +46 -0
  23. data/vendor/mathjax/config/MMLorHTML.js +1 -1
  24. data/vendor/mathjax/config/TeX-AMS-MML_HTMLorMML-full.js +29 -27
  25. data/vendor/mathjax/config/TeX-AMS-MML_HTMLorMML.js +26 -24
  26. data/vendor/mathjax/config/TeX-AMS-MML_SVG-full.js +26 -24
  27. data/vendor/mathjax/config/TeX-AMS-MML_SVG.js +24 -22
  28. data/vendor/mathjax/config/TeX-AMS_CHTML-full.js +58 -0
  29. data/vendor/mathjax/config/TeX-AMS_CHTML.js +54 -0
  30. data/vendor/mathjax/config/TeX-AMS_HTML-full.js +23 -21
  31. data/vendor/mathjax/config/TeX-AMS_HTML.js +21 -19
  32. data/vendor/mathjax/config/TeX-AMS_SVG-full.js +58 -0
  33. data/vendor/mathjax/config/TeX-AMS_SVG.js +54 -0
  34. data/vendor/mathjax/config/TeX-MML-AM_CHTML-full.js +70 -0
  35. data/vendor/mathjax/config/TeX-MML-AM_CHTML.js +66 -0
  36. data/vendor/mathjax/config/TeX-MML-AM_HTMLorMML-full.js +32 -30
  37. data/vendor/mathjax/config/TeX-MML-AM_HTMLorMML.js +29 -27
  38. data/vendor/mathjax/config/TeX-MML-AM_SVG-full.js +70 -0
  39. data/vendor/mathjax/config/TeX-MML-AM_SVG.js +66 -0
  40. data/vendor/mathjax/config/default.js +6 -0
  41. data/vendor/mathjax/extensions/AssistiveMML.js +19 -0
  42. data/vendor/mathjax/extensions/CHTML-preview.js +1 -1
  43. data/vendor/mathjax/extensions/FontWarnings.js +1 -1
  44. data/vendor/mathjax/extensions/HTML-CSS/handle-floats.js +1 -1
  45. data/vendor/mathjax/extensions/HelpDialog.js +1 -1
  46. data/vendor/mathjax/extensions/MatchWebFonts.js +1 -1
  47. data/vendor/mathjax/extensions/MathEvents.js +1 -1
  48. data/vendor/mathjax/extensions/MathML/content-mathml.js +1 -1
  49. data/vendor/mathjax/extensions/MathML/mml3.js +1 -1
  50. data/vendor/mathjax/extensions/MathMenu.js +1 -1
  51. data/vendor/mathjax/extensions/MathZoom.js +1 -1
  52. data/vendor/mathjax/extensions/Safe.js +1 -1
  53. data/vendor/mathjax/extensions/TeX/AMScd.js +1 -1
  54. data/vendor/mathjax/extensions/TeX/AMSmath.js +1 -1
  55. data/vendor/mathjax/extensions/TeX/AMSsymbols.js +1 -1
  56. data/vendor/mathjax/extensions/TeX/HTML.js +1 -1
  57. data/vendor/mathjax/extensions/TeX/action.js +1 -1
  58. data/vendor/mathjax/extensions/TeX/autobold.js +1 -1
  59. data/vendor/mathjax/extensions/TeX/autoload-all.js +1 -1
  60. data/vendor/mathjax/extensions/TeX/bbox.js +1 -1
  61. data/vendor/mathjax/extensions/TeX/begingroup.js +1 -1
  62. data/vendor/mathjax/extensions/TeX/boldsymbol.js +1 -1
  63. data/vendor/mathjax/extensions/TeX/cancel.js +1 -1
  64. data/vendor/mathjax/extensions/TeX/color.js +1 -1
  65. data/vendor/mathjax/extensions/TeX/enclose.js +1 -1
  66. data/vendor/mathjax/extensions/TeX/extpfeil.js +1 -1
  67. data/vendor/mathjax/extensions/TeX/mathchoice.js +1 -1
  68. data/vendor/mathjax/extensions/TeX/mediawiki-texvc.js +1 -1
  69. data/vendor/mathjax/extensions/TeX/mhchem.js +1 -1
  70. data/vendor/mathjax/extensions/TeX/newcommand.js +1 -1
  71. data/vendor/mathjax/extensions/TeX/noErrors.js +1 -1
  72. data/vendor/mathjax/extensions/TeX/noUndefined.js +1 -1
  73. data/vendor/mathjax/extensions/TeX/unicode.js +1 -1
  74. data/vendor/mathjax/extensions/TeX/verb.js +1 -1
  75. data/vendor/mathjax/extensions/asciimath2jax.js +1 -1
  76. data/vendor/mathjax/extensions/fast-preview.js +19 -0
  77. data/vendor/mathjax/extensions/jsMath2jax.js +1 -1
  78. data/vendor/mathjax/extensions/mml2jax.js +1 -1
  79. data/vendor/mathjax/extensions/tex2jax.js +1 -1
  80. data/vendor/mathjax/extensions/toMathML.js +1 -1
  81. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_AMS-Regular.eot +0 -0
  82. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Bold.eot +0 -0
  83. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Regular.eot +0 -0
  84. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Bold.eot +0 -0
  85. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Regular.eot +0 -0
  86. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Bold.eot +0 -0
  87. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Italic.eot +0 -0
  88. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Regular.eot +0 -0
  89. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Math-BoldItalic.eot +0 -0
  90. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Italic.eot +0 -0
  91. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Regular.eot +0 -0
  92. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Bold.eot +0 -0
  93. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Italic.eot +0 -0
  94. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Regular.eot +0 -0
  95. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Script-Regular.eot +0 -0
  96. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size1-Regular.eot +0 -0
  97. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size2-Regular.eot +0 -0
  98. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size3-Regular.eot +0 -0
  99. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Size4-Regular.eot +0 -0
  100. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_Typewriter-Regular.eot +0 -0
  101. data/vendor/mathjax/fonts/HTML-CSS/TeX/eot/MathJax_WinIE6-Regular.eot +0 -0
  102. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_AMS-Regular.otf +0 -0
  103. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Bold.otf +0 -0
  104. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Regular.otf +0 -0
  105. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Bold.otf +0 -0
  106. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Regular.otf +0 -0
  107. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Bold.otf +0 -0
  108. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Italic.otf +0 -0
  109. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf +0 -0
  110. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Math-BoldItalic.otf +0 -0
  111. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf +0 -0
  112. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Regular.otf +0 -0
  113. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Bold.otf +0 -0
  114. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Italic.otf +0 -0
  115. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Regular.otf +0 -0
  116. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Script-Regular.otf +0 -0
  117. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf +0 -0
  118. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size2-Regular.otf +0 -0
  119. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size3-Regular.otf +0 -0
  120. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Size4-Regular.otf +0 -0
  121. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Typewriter-Regular.otf +0 -0
  122. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_WinChrome-Regular.otf +0 -0
  123. data/vendor/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_WinIE6-Regular.otf +0 -0
  124. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff +0 -0
  125. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff +0 -0
  126. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff +0 -0
  127. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff +0 -0
  128. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff +0 -0
  129. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff +0 -0
  130. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff +0 -0
  131. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff +0 -0
  132. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff +0 -0
  133. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff +0 -0
  134. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff +0 -0
  135. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff +0 -0
  136. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff +0 -0
  137. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff +0 -0
  138. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff +0 -0
  139. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff +0 -0
  140. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff +0 -0
  141. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff +0 -0
  142. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff +0 -0
  143. data/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff +0 -0
  144. data/vendor/mathjax/jax/element/mml/jax.js +1 -1
  145. data/vendor/mathjax/jax/input/AsciiMath/config.js +1 -1
  146. data/vendor/mathjax/jax/input/AsciiMath/jax.js +1 -1
  147. data/vendor/mathjax/jax/input/MathML/config.js +1 -1
  148. data/vendor/mathjax/jax/input/MathML/jax.js +1 -1
  149. data/vendor/mathjax/jax/input/TeX/config.js +1 -1
  150. data/vendor/mathjax/jax/input/TeX/jax.js +1 -1
  151. data/vendor/mathjax/jax/output/CommonHTML/autoload/annotation-xml.js +19 -0
  152. data/vendor/mathjax/jax/output/CommonHTML/autoload/maction.js +19 -0
  153. data/vendor/mathjax/jax/output/CommonHTML/autoload/menclose.js +19 -0
  154. data/vendor/mathjax/jax/output/CommonHTML/autoload/mglyph.js +19 -0
  155. data/vendor/mathjax/jax/output/CommonHTML/autoload/mmultiscripts.js +19 -0
  156. data/vendor/mathjax/jax/output/CommonHTML/autoload/ms.js +19 -0
  157. data/vendor/mathjax/jax/output/CommonHTML/autoload/mtable.js +19 -0
  158. data/vendor/mathjax/jax/output/CommonHTML/autoload/multiline.js +19 -0
  159. data/vendor/mathjax/jax/output/CommonHTML/config.js +1 -1
  160. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js +19 -0
  161. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js +19 -0
  162. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js +19 -0
  163. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js +19 -0
  164. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Main-Bold.js +19 -0
  165. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js +19 -0
  166. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js +19 -0
  167. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js +19 -0
  168. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js +19 -0
  169. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Script-Regular.js +19 -0
  170. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js +19 -0
  171. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js +19 -0
  172. data/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata.js +19 -0
  173. data/vendor/mathjax/jax/output/CommonHTML/jax.js +1 -1
  174. data/vendor/mathjax/jax/output/HTML-CSS/autoload/annotation-xml.js +1 -1
  175. data/vendor/mathjax/jax/output/HTML-CSS/autoload/maction.js +1 -1
  176. data/vendor/mathjax/jax/output/HTML-CSS/autoload/menclose.js +1 -1
  177. data/vendor/mathjax/jax/output/HTML-CSS/autoload/mglyph.js +1 -1
  178. data/vendor/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js +1 -1
  179. data/vendor/mathjax/jax/output/HTML-CSS/autoload/ms.js +1 -1
  180. data/vendor/mathjax/jax/output/HTML-CSS/autoload/mtable.js +1 -1
  181. data/vendor/mathjax/jax/output/HTML-CSS/autoload/multiline.js +1 -1
  182. data/vendor/mathjax/jax/output/HTML-CSS/config.js +1 -1
  183. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Asana-Math/fontdata-extra.js +1 -1
  184. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Asana-Math/fontdata.js +1 -1
  185. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
  186. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata.js +1 -1
  187. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata-extra.js +1 -1
  188. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata.js +1 -1
  189. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata-extra.js +1 -1
  190. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata.js +1 -1
  191. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata-extra.js +1 -1
  192. data/vendor/mathjax/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata.js +1 -1
  193. data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata-extra.js +1 -1
  194. data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js +1 -1
  195. data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js +1 -1
  196. data/vendor/mathjax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +1 -1
  197. data/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js +1 -1
  198. data/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +1 -1
  199. data/vendor/mathjax/jax/output/HTML-CSS/imageFonts.js +1 -1
  200. data/vendor/mathjax/jax/output/HTML-CSS/jax.js +1 -1
  201. data/vendor/mathjax/jax/output/NativeMML/config.js +1 -1
  202. data/vendor/mathjax/jax/output/NativeMML/jax.js +1 -1
  203. data/vendor/mathjax/jax/output/PlainSource/config.js +19 -0
  204. data/vendor/mathjax/jax/output/PlainSource/jax.js +19 -0
  205. data/vendor/mathjax/jax/output/PreviewHTML/config.js +19 -0
  206. data/vendor/mathjax/jax/output/PreviewHTML/jax.js +19 -0
  207. data/vendor/mathjax/jax/output/SVG/autoload/annotation-xml.js +1 -1
  208. data/vendor/mathjax/jax/output/SVG/autoload/maction.js +1 -1
  209. data/vendor/mathjax/jax/output/SVG/autoload/menclose.js +1 -1
  210. data/vendor/mathjax/jax/output/SVG/autoload/mglyph.js +1 -1
  211. data/vendor/mathjax/jax/output/SVG/autoload/mmultiscripts.js +1 -1
  212. data/vendor/mathjax/jax/output/SVG/autoload/ms.js +1 -1
  213. data/vendor/mathjax/jax/output/SVG/autoload/mtable.js +1 -1
  214. data/vendor/mathjax/jax/output/SVG/autoload/multiline.js +1 -1
  215. data/vendor/mathjax/jax/output/SVG/config.js +1 -1
  216. data/vendor/mathjax/jax/output/SVG/fonts/Asana-Math/fontdata-extra.js +1 -1
  217. data/vendor/mathjax/jax/output/SVG/fonts/Asana-Math/fontdata.js +1 -1
  218. data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
  219. data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Pagella/fontdata.js +1 -1
  220. data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Termes/fontdata-extra.js +1 -1
  221. data/vendor/mathjax/jax/output/SVG/fonts/Gyre-Termes/fontdata.js +1 -1
  222. data/vendor/mathjax/jax/output/SVG/fonts/Latin-Modern/fontdata-extra.js +1 -1
  223. data/vendor/mathjax/jax/output/SVG/fonts/Latin-Modern/fontdata.js +1 -1
  224. data/vendor/mathjax/jax/output/SVG/fonts/Neo-Euler/fontdata-extra.js +1 -1
  225. data/vendor/mathjax/jax/output/SVG/fonts/Neo-Euler/fontdata.js +1 -1
  226. data/vendor/mathjax/jax/output/SVG/fonts/STIX-Web/fontdata-extra.js +1 -1
  227. data/vendor/mathjax/jax/output/SVG/fonts/STIX-Web/fontdata.js +1 -1
  228. data/vendor/mathjax/jax/output/SVG/fonts/TeX/fontdata-extra.js +1 -1
  229. data/vendor/mathjax/jax/output/SVG/fonts/TeX/fontdata.js +1 -1
  230. data/vendor/mathjax/jax/output/SVG/jax.js +1 -1
  231. data/vendor/mathjax/localization/ast/FontWarnings.js +1 -1
  232. data/vendor/mathjax/localization/ast/HTML-CSS.js +1 -1
  233. data/vendor/mathjax/localization/ast/HelpDialog.js +1 -1
  234. data/vendor/mathjax/localization/ast/MathML.js +1 -1
  235. data/vendor/mathjax/localization/ast/MathMenu.js +1 -1
  236. data/vendor/mathjax/localization/ast/TeX.js +1 -1
  237. data/vendor/mathjax/localization/ast/ast.js +1 -1
  238. data/vendor/mathjax/localization/bcc/FontWarnings.js +1 -1
  239. data/vendor/mathjax/localization/bcc/HTML-CSS.js +1 -1
  240. data/vendor/mathjax/localization/bcc/HelpDialog.js +1 -1
  241. data/vendor/mathjax/localization/bcc/MathML.js +1 -1
  242. data/vendor/mathjax/localization/bcc/MathMenu.js +1 -1
  243. data/vendor/mathjax/localization/bcc/TeX.js +1 -1
  244. data/vendor/mathjax/localization/bcc/bcc.js +1 -1
  245. data/vendor/mathjax/localization/bg/FontWarnings.js +19 -0
  246. data/vendor/mathjax/localization/bg/HTML-CSS.js +19 -0
  247. data/vendor/mathjax/localization/bg/HelpDialog.js +19 -0
  248. data/vendor/mathjax/localization/bg/MathML.js +19 -0
  249. data/vendor/mathjax/localization/bg/MathMenu.js +19 -0
  250. data/vendor/mathjax/localization/bg/TeX.js +19 -0
  251. data/vendor/mathjax/localization/bg/bg.js +19 -0
  252. data/vendor/mathjax/localization/br/FontWarnings.js +1 -1
  253. data/vendor/mathjax/localization/br/HTML-CSS.js +1 -1
  254. data/vendor/mathjax/localization/br/HelpDialog.js +1 -1
  255. data/vendor/mathjax/localization/br/MathML.js +1 -1
  256. data/vendor/mathjax/localization/br/MathMenu.js +1 -1
  257. data/vendor/mathjax/localization/br/TeX.js +1 -1
  258. data/vendor/mathjax/localization/br/br.js +1 -1
  259. data/vendor/mathjax/localization/ca/FontWarnings.js +1 -1
  260. data/vendor/mathjax/localization/ca/HTML-CSS.js +1 -1
  261. data/vendor/mathjax/localization/ca/HelpDialog.js +1 -1
  262. data/vendor/mathjax/localization/ca/MathML.js +1 -1
  263. data/vendor/mathjax/localization/ca/MathMenu.js +1 -1
  264. data/vendor/mathjax/localization/ca/TeX.js +1 -1
  265. data/vendor/mathjax/localization/ca/ca.js +1 -1
  266. data/vendor/mathjax/localization/cdo/FontWarnings.js +1 -1
  267. data/vendor/mathjax/localization/cdo/HTML-CSS.js +1 -1
  268. data/vendor/mathjax/localization/cdo/HelpDialog.js +1 -1
  269. data/vendor/mathjax/localization/cdo/MathML.js +1 -1
  270. data/vendor/mathjax/localization/cdo/MathMenu.js +1 -1
  271. data/vendor/mathjax/localization/cdo/TeX.js +1 -1
  272. data/vendor/mathjax/localization/cdo/cdo.js +1 -1
  273. data/vendor/mathjax/localization/ce/FontWarnings.js +1 -1
  274. data/vendor/mathjax/localization/ce/HTML-CSS.js +1 -1
  275. data/vendor/mathjax/localization/ce/HelpDialog.js +1 -1
  276. data/vendor/mathjax/localization/ce/MathML.js +1 -1
  277. data/vendor/mathjax/localization/ce/MathMenu.js +1 -1
  278. data/vendor/mathjax/localization/ce/TeX.js +1 -1
  279. data/vendor/mathjax/localization/ce/ce.js +1 -1
  280. data/vendor/mathjax/localization/cs/FontWarnings.js +1 -1
  281. data/vendor/mathjax/localization/cs/HTML-CSS.js +1 -1
  282. data/vendor/mathjax/localization/cs/HelpDialog.js +1 -1
  283. data/vendor/mathjax/localization/cs/MathML.js +1 -1
  284. data/vendor/mathjax/localization/cs/MathMenu.js +1 -1
  285. data/vendor/mathjax/localization/cs/TeX.js +1 -1
  286. data/vendor/mathjax/localization/cs/cs.js +1 -1
  287. data/vendor/mathjax/localization/cy/FontWarnings.js +1 -1
  288. data/vendor/mathjax/localization/cy/HTML-CSS.js +1 -1
  289. data/vendor/mathjax/localization/cy/HelpDialog.js +1 -1
  290. data/vendor/mathjax/localization/cy/MathML.js +1 -1
  291. data/vendor/mathjax/localization/cy/MathMenu.js +1 -1
  292. data/vendor/mathjax/localization/cy/TeX.js +1 -1
  293. data/vendor/mathjax/localization/cy/cy.js +1 -1
  294. data/vendor/mathjax/localization/da/FontWarnings.js +1 -1
  295. data/vendor/mathjax/localization/da/HTML-CSS.js +1 -1
  296. data/vendor/mathjax/localization/da/HelpDialog.js +1 -1
  297. data/vendor/mathjax/localization/da/MathML.js +1 -1
  298. data/vendor/mathjax/localization/da/MathMenu.js +1 -1
  299. data/vendor/mathjax/localization/da/TeX.js +1 -1
  300. data/vendor/mathjax/localization/da/da.js +1 -1
  301. data/vendor/mathjax/localization/de/FontWarnings.js +1 -1
  302. data/vendor/mathjax/localization/de/HTML-CSS.js +1 -1
  303. data/vendor/mathjax/localization/de/HelpDialog.js +1 -1
  304. data/vendor/mathjax/localization/de/MathML.js +1 -1
  305. data/vendor/mathjax/localization/de/MathMenu.js +1 -1
  306. data/vendor/mathjax/localization/de/TeX.js +1 -1
  307. data/vendor/mathjax/localization/de/de.js +1 -1
  308. data/vendor/mathjax/localization/en/FontWarnings.js +1 -1
  309. data/vendor/mathjax/localization/en/HTML-CSS.js +1 -1
  310. data/vendor/mathjax/localization/en/HelpDialog.js +1 -1
  311. data/vendor/mathjax/localization/en/MathML.js +1 -1
  312. data/vendor/mathjax/localization/en/MathMenu.js +1 -1
  313. data/vendor/mathjax/localization/en/TeX.js +1 -1
  314. data/vendor/mathjax/localization/en/en.js +1 -1
  315. data/vendor/mathjax/localization/eo/FontWarnings.js +1 -1
  316. data/vendor/mathjax/localization/eo/HTML-CSS.js +1 -1
  317. data/vendor/mathjax/localization/eo/HelpDialog.js +1 -1
  318. data/vendor/mathjax/localization/eo/MathML.js +1 -1
  319. data/vendor/mathjax/localization/eo/MathMenu.js +1 -1
  320. data/vendor/mathjax/localization/eo/TeX.js +1 -1
  321. data/vendor/mathjax/localization/eo/eo.js +1 -1
  322. data/vendor/mathjax/localization/es/FontWarnings.js +1 -1
  323. data/vendor/mathjax/localization/es/HTML-CSS.js +1 -1
  324. data/vendor/mathjax/localization/es/HelpDialog.js +1 -1
  325. data/vendor/mathjax/localization/es/MathML.js +1 -1
  326. data/vendor/mathjax/localization/es/MathMenu.js +1 -1
  327. data/vendor/mathjax/localization/es/TeX.js +1 -1
  328. data/vendor/mathjax/localization/es/es.js +1 -1
  329. data/vendor/mathjax/localization/fa/FontWarnings.js +1 -1
  330. data/vendor/mathjax/localization/fa/HTML-CSS.js +1 -1
  331. data/vendor/mathjax/localization/fa/HelpDialog.js +1 -1
  332. data/vendor/mathjax/localization/fa/MathML.js +1 -1
  333. data/vendor/mathjax/localization/fa/MathMenu.js +1 -1
  334. data/vendor/mathjax/localization/fa/TeX.js +1 -1
  335. data/vendor/mathjax/localization/fa/fa.js +1 -1
  336. data/vendor/mathjax/localization/fi/FontWarnings.js +1 -1
  337. data/vendor/mathjax/localization/fi/HTML-CSS.js +1 -1
  338. data/vendor/mathjax/localization/fi/HelpDialog.js +1 -1
  339. data/vendor/mathjax/localization/fi/MathML.js +1 -1
  340. data/vendor/mathjax/localization/fi/MathMenu.js +1 -1
  341. data/vendor/mathjax/localization/fi/TeX.js +1 -1
  342. data/vendor/mathjax/localization/fi/fi.js +1 -1
  343. data/vendor/mathjax/localization/fr/FontWarnings.js +1 -1
  344. data/vendor/mathjax/localization/fr/HTML-CSS.js +1 -1
  345. data/vendor/mathjax/localization/fr/HelpDialog.js +1 -1
  346. data/vendor/mathjax/localization/fr/MathML.js +1 -1
  347. data/vendor/mathjax/localization/fr/MathMenu.js +1 -1
  348. data/vendor/mathjax/localization/fr/TeX.js +1 -1
  349. data/vendor/mathjax/localization/fr/fr.js +1 -1
  350. data/vendor/mathjax/localization/gl/FontWarnings.js +1 -1
  351. data/vendor/mathjax/localization/gl/HTML-CSS.js +1 -1
  352. data/vendor/mathjax/localization/gl/HelpDialog.js +1 -1
  353. data/vendor/mathjax/localization/gl/MathML.js +1 -1
  354. data/vendor/mathjax/localization/gl/MathMenu.js +1 -1
  355. data/vendor/mathjax/localization/gl/TeX.js +1 -1
  356. data/vendor/mathjax/localization/gl/gl.js +1 -1
  357. data/vendor/mathjax/localization/he/FontWarnings.js +1 -1
  358. data/vendor/mathjax/localization/he/HTML-CSS.js +1 -1
  359. data/vendor/mathjax/localization/he/HelpDialog.js +1 -1
  360. data/vendor/mathjax/localization/he/MathML.js +1 -1
  361. data/vendor/mathjax/localization/he/MathMenu.js +1 -1
  362. data/vendor/mathjax/localization/he/TeX.js +1 -1
  363. data/vendor/mathjax/localization/he/he.js +1 -1
  364. data/vendor/mathjax/localization/ia/FontWarnings.js +1 -1
  365. data/vendor/mathjax/localization/ia/HTML-CSS.js +1 -1
  366. data/vendor/mathjax/localization/ia/HelpDialog.js +1 -1
  367. data/vendor/mathjax/localization/ia/MathML.js +1 -1
  368. data/vendor/mathjax/localization/ia/MathMenu.js +1 -1
  369. data/vendor/mathjax/localization/ia/TeX.js +1 -1
  370. data/vendor/mathjax/localization/ia/ia.js +1 -1
  371. data/vendor/mathjax/localization/it/FontWarnings.js +1 -1
  372. data/vendor/mathjax/localization/it/HTML-CSS.js +1 -1
  373. data/vendor/mathjax/localization/it/HelpDialog.js +1 -1
  374. data/vendor/mathjax/localization/it/MathML.js +1 -1
  375. data/vendor/mathjax/localization/it/MathMenu.js +1 -1
  376. data/vendor/mathjax/localization/it/TeX.js +1 -1
  377. data/vendor/mathjax/localization/it/it.js +1 -1
  378. data/vendor/mathjax/localization/ja/FontWarnings.js +1 -1
  379. data/vendor/mathjax/localization/ja/HTML-CSS.js +1 -1
  380. data/vendor/mathjax/localization/ja/HelpDialog.js +1 -1
  381. data/vendor/mathjax/localization/ja/MathML.js +1 -1
  382. data/vendor/mathjax/localization/ja/MathMenu.js +1 -1
  383. data/vendor/mathjax/localization/ja/TeX.js +1 -1
  384. data/vendor/mathjax/localization/ja/ja.js +1 -1
  385. data/vendor/mathjax/localization/kn/FontWarnings.js +1 -1
  386. data/vendor/mathjax/localization/kn/HTML-CSS.js +1 -1
  387. data/vendor/mathjax/localization/kn/HelpDialog.js +1 -1
  388. data/vendor/mathjax/localization/kn/MathML.js +1 -1
  389. data/vendor/mathjax/localization/kn/MathMenu.js +1 -1
  390. data/vendor/mathjax/localization/kn/TeX.js +1 -1
  391. data/vendor/mathjax/localization/kn/kn.js +1 -1
  392. data/vendor/mathjax/localization/ko/FontWarnings.js +1 -1
  393. data/vendor/mathjax/localization/ko/HTML-CSS.js +1 -1
  394. data/vendor/mathjax/localization/ko/HelpDialog.js +1 -1
  395. data/vendor/mathjax/localization/ko/MathML.js +1 -1
  396. data/vendor/mathjax/localization/ko/MathMenu.js +1 -1
  397. data/vendor/mathjax/localization/ko/TeX.js +1 -1
  398. data/vendor/mathjax/localization/ko/ko.js +1 -1
  399. data/vendor/mathjax/localization/lb/FontWarnings.js +1 -1
  400. data/vendor/mathjax/localization/lb/HTML-CSS.js +1 -1
  401. data/vendor/mathjax/localization/lb/HelpDialog.js +1 -1
  402. data/vendor/mathjax/localization/lb/MathML.js +1 -1
  403. data/vendor/mathjax/localization/lb/MathMenu.js +1 -1
  404. data/vendor/mathjax/localization/lb/TeX.js +1 -1
  405. data/vendor/mathjax/localization/lb/lb.js +1 -1
  406. data/vendor/mathjax/localization/lki/FontWarnings.js +19 -0
  407. data/vendor/mathjax/localization/lki/HTML-CSS.js +19 -0
  408. data/vendor/mathjax/localization/lki/HelpDialog.js +19 -0
  409. data/vendor/mathjax/localization/lki/MathML.js +19 -0
  410. data/vendor/mathjax/localization/lki/MathMenu.js +19 -0
  411. data/vendor/mathjax/localization/lki/TeX.js +19 -0
  412. data/vendor/mathjax/localization/lki/lki.js +19 -0
  413. data/vendor/mathjax/localization/lt/FontWarnings.js +19 -0
  414. data/vendor/mathjax/localization/lt/HTML-CSS.js +19 -0
  415. data/vendor/mathjax/localization/lt/HelpDialog.js +19 -0
  416. data/vendor/mathjax/localization/lt/MathML.js +19 -0
  417. data/vendor/mathjax/localization/lt/MathMenu.js +19 -0
  418. data/vendor/mathjax/localization/lt/TeX.js +19 -0
  419. data/vendor/mathjax/localization/lt/lt.js +19 -0
  420. data/vendor/mathjax/localization/mk/FontWarnings.js +1 -1
  421. data/vendor/mathjax/localization/mk/HTML-CSS.js +1 -1
  422. data/vendor/mathjax/localization/mk/HelpDialog.js +1 -1
  423. data/vendor/mathjax/localization/mk/MathML.js +1 -1
  424. data/vendor/mathjax/localization/mk/MathMenu.js +1 -1
  425. data/vendor/mathjax/localization/mk/TeX.js +1 -1
  426. data/vendor/mathjax/localization/mk/mk.js +1 -1
  427. data/vendor/mathjax/localization/nl/FontWarnings.js +1 -1
  428. data/vendor/mathjax/localization/nl/HTML-CSS.js +1 -1
  429. data/vendor/mathjax/localization/nl/HelpDialog.js +1 -1
  430. data/vendor/mathjax/localization/nl/MathML.js +1 -1
  431. data/vendor/mathjax/localization/nl/MathMenu.js +1 -1
  432. data/vendor/mathjax/localization/nl/TeX.js +1 -1
  433. data/vendor/mathjax/localization/nl/nl.js +1 -1
  434. data/vendor/mathjax/localization/oc/FontWarnings.js +1 -1
  435. data/vendor/mathjax/localization/oc/HTML-CSS.js +1 -1
  436. data/vendor/mathjax/localization/oc/HelpDialog.js +1 -1
  437. data/vendor/mathjax/localization/oc/MathML.js +1 -1
  438. data/vendor/mathjax/localization/oc/MathMenu.js +1 -1
  439. data/vendor/mathjax/localization/oc/TeX.js +1 -1
  440. data/vendor/mathjax/localization/oc/oc.js +1 -1
  441. data/vendor/mathjax/localization/pl/FontWarnings.js +1 -1
  442. data/vendor/mathjax/localization/pl/HTML-CSS.js +1 -1
  443. data/vendor/mathjax/localization/pl/HelpDialog.js +1 -1
  444. data/vendor/mathjax/localization/pl/MathML.js +1 -1
  445. data/vendor/mathjax/localization/pl/MathMenu.js +1 -1
  446. data/vendor/mathjax/localization/pl/TeX.js +1 -1
  447. data/vendor/mathjax/localization/pl/pl.js +1 -1
  448. data/vendor/mathjax/localization/pt-br/FontWarnings.js +1 -1
  449. data/vendor/mathjax/localization/pt-br/HTML-CSS.js +1 -1
  450. data/vendor/mathjax/localization/pt-br/HelpDialog.js +1 -1
  451. data/vendor/mathjax/localization/pt-br/MathML.js +1 -1
  452. data/vendor/mathjax/localization/pt-br/MathMenu.js +1 -1
  453. data/vendor/mathjax/localization/pt-br/TeX.js +1 -1
  454. data/vendor/mathjax/localization/pt-br/pt-br.js +1 -1
  455. data/vendor/mathjax/localization/pt/FontWarnings.js +1 -1
  456. data/vendor/mathjax/localization/pt/HTML-CSS.js +1 -1
  457. data/vendor/mathjax/localization/pt/HelpDialog.js +1 -1
  458. data/vendor/mathjax/localization/pt/MathML.js +1 -1
  459. data/vendor/mathjax/localization/pt/MathMenu.js +1 -1
  460. data/vendor/mathjax/localization/pt/TeX.js +1 -1
  461. data/vendor/mathjax/localization/pt/pt.js +1 -1
  462. data/vendor/mathjax/localization/qqq/FontWarnings.js +1 -1
  463. data/vendor/mathjax/localization/qqq/HTML-CSS.js +1 -1
  464. data/vendor/mathjax/localization/qqq/HelpDialog.js +1 -1
  465. data/vendor/mathjax/localization/qqq/MathML.js +1 -1
  466. data/vendor/mathjax/localization/qqq/MathMenu.js +1 -1
  467. data/vendor/mathjax/localization/qqq/TeX.js +1 -1
  468. data/vendor/mathjax/localization/qqq/qqq.js +1 -1
  469. data/vendor/mathjax/localization/ru/FontWarnings.js +1 -1
  470. data/vendor/mathjax/localization/ru/HTML-CSS.js +1 -1
  471. data/vendor/mathjax/localization/ru/HelpDialog.js +1 -1
  472. data/vendor/mathjax/localization/ru/MathML.js +1 -1
  473. data/vendor/mathjax/localization/ru/MathMenu.js +1 -1
  474. data/vendor/mathjax/localization/ru/TeX.js +1 -1
  475. data/vendor/mathjax/localization/ru/ru.js +1 -1
  476. data/vendor/mathjax/localization/scn/FontWarnings.js +19 -0
  477. data/vendor/mathjax/localization/scn/HTML-CSS.js +19 -0
  478. data/vendor/mathjax/localization/scn/HelpDialog.js +19 -0
  479. data/vendor/mathjax/localization/scn/MathML.js +19 -0
  480. data/vendor/mathjax/localization/scn/MathMenu.js +19 -0
  481. data/vendor/mathjax/localization/scn/TeX.js +19 -0
  482. data/vendor/mathjax/localization/scn/scn.js +19 -0
  483. data/vendor/mathjax/localization/sco/FontWarnings.js +1 -1
  484. data/vendor/mathjax/localization/sco/HTML-CSS.js +1 -1
  485. data/vendor/mathjax/localization/sco/HelpDialog.js +1 -1
  486. data/vendor/mathjax/localization/sco/MathML.js +1 -1
  487. data/vendor/mathjax/localization/sco/MathMenu.js +1 -1
  488. data/vendor/mathjax/localization/sco/TeX.js +1 -1
  489. data/vendor/mathjax/localization/sco/sco.js +1 -1
  490. data/vendor/mathjax/localization/sl/FontWarnings.js +1 -1
  491. data/vendor/mathjax/localization/sl/HTML-CSS.js +1 -1
  492. data/vendor/mathjax/localization/sl/HelpDialog.js +1 -1
  493. data/vendor/mathjax/localization/sl/MathML.js +1 -1
  494. data/vendor/mathjax/localization/sl/MathMenu.js +1 -1
  495. data/vendor/mathjax/localization/sl/TeX.js +1 -1
  496. data/vendor/mathjax/localization/sl/sl.js +1 -1
  497. data/vendor/mathjax/localization/sv/FontWarnings.js +1 -1
  498. data/vendor/mathjax/localization/sv/HTML-CSS.js +1 -1
  499. data/vendor/mathjax/localization/sv/HelpDialog.js +1 -1
  500. data/vendor/mathjax/localization/sv/MathML.js +1 -1
  501. data/vendor/mathjax/localization/sv/MathMenu.js +1 -1
  502. data/vendor/mathjax/localization/sv/TeX.js +1 -1
  503. data/vendor/mathjax/localization/sv/sv.js +1 -1
  504. data/vendor/mathjax/localization/tr/FontWarnings.js +1 -1
  505. data/vendor/mathjax/localization/tr/HTML-CSS.js +1 -1
  506. data/vendor/mathjax/localization/tr/HelpDialog.js +1 -1
  507. data/vendor/mathjax/localization/tr/MathML.js +1 -1
  508. data/vendor/mathjax/localization/tr/MathMenu.js +1 -1
  509. data/vendor/mathjax/localization/tr/TeX.js +1 -1
  510. data/vendor/mathjax/localization/tr/tr.js +1 -1
  511. data/vendor/mathjax/localization/uk/FontWarnings.js +1 -1
  512. data/vendor/mathjax/localization/uk/HTML-CSS.js +1 -1
  513. data/vendor/mathjax/localization/uk/HelpDialog.js +1 -1
  514. data/vendor/mathjax/localization/uk/MathML.js +1 -1
  515. data/vendor/mathjax/localization/uk/MathMenu.js +1 -1
  516. data/vendor/mathjax/localization/uk/TeX.js +1 -1
  517. data/vendor/mathjax/localization/uk/uk.js +1 -1
  518. data/vendor/mathjax/localization/vi/FontWarnings.js +1 -1
  519. data/vendor/mathjax/localization/vi/HTML-CSS.js +1 -1
  520. data/vendor/mathjax/localization/vi/HelpDialog.js +1 -1
  521. data/vendor/mathjax/localization/vi/MathML.js +1 -1
  522. data/vendor/mathjax/localization/vi/MathMenu.js +1 -1
  523. data/vendor/mathjax/localization/vi/TeX.js +1 -1
  524. data/vendor/mathjax/localization/vi/vi.js +1 -1
  525. data/vendor/mathjax/localization/zh-hans/FontWarnings.js +1 -1
  526. data/vendor/mathjax/localization/zh-hans/HTML-CSS.js +1 -1
  527. data/vendor/mathjax/localization/zh-hans/HelpDialog.js +1 -1
  528. data/vendor/mathjax/localization/zh-hans/MathML.js +1 -1
  529. data/vendor/mathjax/localization/zh-hans/MathMenu.js +1 -1
  530. data/vendor/mathjax/localization/zh-hans/TeX.js +1 -1
  531. data/vendor/mathjax/localization/zh-hans/zh-hans.js +1 -1
  532. data/vendor/mathjax/package.json +30 -0
  533. data/vendor/mathjax/test/examples.html +3 -0
  534. data/vendor/mathjax/test/index-images.html +1 -0
  535. data/vendor/mathjax/test/index.html +1 -0
  536. data/vendor/mathjax/test/localization.html +3 -1
  537. data/vendor/mathjax/test/sample-all-at-once.html +1 -0
  538. data/vendor/mathjax/test/sample-asciimath.html +1 -0
  539. data/vendor/mathjax/test/sample-autoload.html +1 -0
  540. data/vendor/mathjax/test/sample-dynamic-2.html +26 -12
  541. data/vendor/mathjax/test/sample-dynamic-steps.html +1 -0
  542. data/vendor/mathjax/test/sample-dynamic.html +7 -1
  543. data/vendor/mathjax/test/sample-eqnum.html +1 -0
  544. data/vendor/mathjax/test/sample-eqrefs.html +1 -0
  545. data/vendor/mathjax/test/sample-loader-config.html +1 -0
  546. data/vendor/mathjax/test/sample-loader.html +1 -0
  547. data/vendor/mathjax/test/sample-macros.html +1 -0
  548. data/vendor/mathjax/test/sample-mediawiki-texvc.html +2 -0
  549. data/vendor/mathjax/test/sample-mml.html +1 -0
  550. data/vendor/mathjax/test/sample-signals.html +1 -0
  551. data/vendor/mathjax/test/sample-tex.html +1 -0
  552. data/vendor/mathjax/test/sample.html +1 -0
  553. data/vendor/mathjax/unpacked/MathJax.js +103 -58
  554. data/vendor/mathjax/unpacked/config/AM_CHTML-full.js +24 -0
  555. data/vendor/mathjax/unpacked/config/AM_CHTML.js +24 -0
  556. data/vendor/mathjax/unpacked/config/AM_HTMLorMML-full.js +2 -2
  557. data/vendor/mathjax/unpacked/config/AM_HTMLorMML.js +2 -2
  558. data/vendor/mathjax/unpacked/config/AM_SVG-full.js +24 -0
  559. data/vendor/mathjax/unpacked/config/AM_SVG.js +24 -0
  560. data/vendor/mathjax/unpacked/config/Accessible-full.js +2 -2
  561. data/vendor/mathjax/unpacked/config/Accessible.js +2 -2
  562. data/vendor/mathjax/unpacked/config/MML_CHTML-full.js +24 -0
  563. data/vendor/mathjax/unpacked/config/MML_CHTML.js +24 -0
  564. data/vendor/mathjax/unpacked/config/MML_HTMLorMML-full.js +2 -2
  565. data/vendor/mathjax/unpacked/config/MML_HTMLorMML.js +2 -2
  566. data/vendor/mathjax/unpacked/config/MML_SVG-full.js +24 -0
  567. data/vendor/mathjax/unpacked/config/MML_SVG.js +24 -0
  568. data/vendor/mathjax/unpacked/config/MMLorHTML.js +1 -1
  569. data/vendor/mathjax/unpacked/config/TeX-AMS-MML_HTMLorMML-full.js +2 -2
  570. data/vendor/mathjax/unpacked/config/TeX-AMS-MML_HTMLorMML.js +2 -2
  571. data/vendor/mathjax/unpacked/config/TeX-AMS-MML_SVG-full.js +2 -2
  572. data/vendor/mathjax/unpacked/config/TeX-AMS-MML_SVG.js +2 -2
  573. data/vendor/mathjax/unpacked/config/TeX-AMS_CHTML-full.js +24 -0
  574. data/vendor/mathjax/unpacked/config/TeX-AMS_CHTML.js +24 -0
  575. data/vendor/mathjax/unpacked/config/TeX-AMS_HTML-full.js +2 -2
  576. data/vendor/mathjax/unpacked/config/TeX-AMS_HTML.js +2 -2
  577. data/vendor/mathjax/unpacked/config/TeX-AMS_SVG-full.js +24 -0
  578. data/vendor/mathjax/unpacked/config/TeX-AMS_SVG.js +24 -0
  579. data/vendor/mathjax/unpacked/config/TeX-MML-AM_CHTML-full.js +24 -0
  580. data/vendor/mathjax/unpacked/config/TeX-MML-AM_CHTML.js +24 -0
  581. data/vendor/mathjax/unpacked/config/TeX-MML-AM_HTMLorMML-full.js +2 -2
  582. data/vendor/mathjax/unpacked/config/TeX-MML-AM_HTMLorMML.js +2 -2
  583. data/vendor/mathjax/unpacked/config/TeX-MML-AM_SVG-full.js +24 -0
  584. data/vendor/mathjax/unpacked/config/TeX-MML-AM_SVG.js +24 -0
  585. data/vendor/mathjax/unpacked/config/default.js +6 -0
  586. data/vendor/mathjax/unpacked/extensions/AssistiveMML.js +160 -0
  587. data/vendor/mathjax/unpacked/extensions/CHTML-preview.js +5 -114
  588. data/vendor/mathjax/unpacked/extensions/FontWarnings.js +1 -1
  589. data/vendor/mathjax/unpacked/extensions/HTML-CSS/handle-floats.js +1 -1
  590. data/vendor/mathjax/unpacked/extensions/HelpDialog.js +64 -15
  591. data/vendor/mathjax/unpacked/extensions/MatchWebFonts.js +1 -1
  592. data/vendor/mathjax/unpacked/extensions/MathEvents.js +111 -63
  593. data/vendor/mathjax/unpacked/extensions/MathML/content-mathml.js +15 -7
  594. data/vendor/mathjax/unpacked/extensions/MathML/mml3.js +661 -5
  595. data/vendor/mathjax/unpacked/extensions/MathMenu.js +635 -178
  596. data/vendor/mathjax/unpacked/extensions/MathZoom.js +4 -1
  597. data/vendor/mathjax/unpacked/extensions/Safe.js +1 -1
  598. data/vendor/mathjax/unpacked/extensions/TeX/AMScd.js +1 -1
  599. data/vendor/mathjax/unpacked/extensions/TeX/AMSmath.js +16 -24
  600. data/vendor/mathjax/unpacked/extensions/TeX/AMSsymbols.js +2 -2
  601. data/vendor/mathjax/unpacked/extensions/TeX/HTML.js +1 -1
  602. data/vendor/mathjax/unpacked/extensions/TeX/action.js +1 -1
  603. data/vendor/mathjax/unpacked/extensions/TeX/autobold.js +1 -1
  604. data/vendor/mathjax/unpacked/extensions/TeX/autoload-all.js +1 -1
  605. data/vendor/mathjax/unpacked/extensions/TeX/bbox.js +1 -1
  606. data/vendor/mathjax/unpacked/extensions/TeX/begingroup.js +1 -1
  607. data/vendor/mathjax/unpacked/extensions/TeX/boldsymbol.js +1 -1
  608. data/vendor/mathjax/unpacked/extensions/TeX/cancel.js +1 -1
  609. data/vendor/mathjax/unpacked/extensions/TeX/color.js +1 -1
  610. data/vendor/mathjax/unpacked/extensions/TeX/enclose.js +1 -1
  611. data/vendor/mathjax/unpacked/extensions/TeX/extpfeil.js +1 -1
  612. data/vendor/mathjax/unpacked/extensions/TeX/mathchoice.js +22 -8
  613. data/vendor/mathjax/unpacked/extensions/TeX/mediawiki-texvc.js +23 -3
  614. data/vendor/mathjax/unpacked/extensions/TeX/mhchem.js +55 -20
  615. data/vendor/mathjax/unpacked/extensions/TeX/newcommand.js +1 -1
  616. data/vendor/mathjax/unpacked/extensions/TeX/noErrors.js +63 -10
  617. data/vendor/mathjax/unpacked/extensions/TeX/noUndefined.js +1 -1
  618. data/vendor/mathjax/unpacked/extensions/TeX/unicode.js +1 -1
  619. data/vendor/mathjax/unpacked/extensions/TeX/verb.js +1 -1
  620. data/vendor/mathjax/unpacked/extensions/asciimath2jax.js +1 -1
  621. data/vendor/mathjax/unpacked/extensions/fast-preview.js +155 -0
  622. data/vendor/mathjax/unpacked/extensions/jsMath2jax.js +1 -1
  623. data/vendor/mathjax/unpacked/extensions/mml2jax.js +3 -3
  624. data/vendor/mathjax/unpacked/extensions/tex2jax.js +1 -1
  625. data/vendor/mathjax/unpacked/extensions/toMathML.js +15 -5
  626. data/vendor/mathjax/unpacked/jax/element/mml/jax.js +36 -12
  627. data/vendor/mathjax/unpacked/jax/input/AsciiMath/config.js +1 -1
  628. data/vendor/mathjax/unpacked/jax/input/AsciiMath/jax.js +11 -3
  629. data/vendor/mathjax/unpacked/jax/input/MathML/config.js +1 -1
  630. data/vendor/mathjax/unpacked/jax/input/MathML/jax.js +5 -3
  631. data/vendor/mathjax/unpacked/jax/input/TeX/config.js +1 -1
  632. data/vendor/mathjax/unpacked/jax/input/TeX/jax.js +65 -45
  633. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/annotation-xml.js +60 -0
  634. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/maction.js +178 -0
  635. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/menclose.js +317 -0
  636. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/mglyph.js +94 -0
  637. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/mmultiscripts.js +290 -0
  638. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/ms.js +73 -0
  639. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/mtable.js +596 -0
  640. data/vendor/mathjax/unpacked/jax/output/CommonHTML/autoload/multiline.js +777 -0
  641. data/vendor/mathjax/unpacked/jax/output/CommonHTML/config.js +12 -1
  642. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js +289 -0
  643. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js +99 -0
  644. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js +125 -0
  645. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js +125 -0
  646. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Main-Bold.js +208 -0
  647. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js +208 -0
  648. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js +152 -0
  649. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js +152 -0
  650. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js +152 -0
  651. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Script-Regular.js +88 -0
  652. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js +155 -0
  653. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js +238 -0
  654. data/vendor/mathjax/unpacked/jax/output/CommonHTML/fonts/TeX/fontdata.js +1697 -0
  655. data/vendor/mathjax/unpacked/jax/output/CommonHTML/jax.js +2397 -857
  656. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/annotation-xml.js +5 -3
  657. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/maction.js +12 -11
  658. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/menclose.js +1 -1
  659. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/mglyph.js +1 -1
  660. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/mmultiscripts.js +36 -11
  661. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/ms.js +8 -5
  662. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/mtable.js +24 -20
  663. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/autoload/multiline.js +1 -1
  664. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/config.js +1 -1
  665. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Asana-Math/fontdata-extra.js +1 -1
  666. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Asana-Math/fontdata.js +4 -1
  667. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
  668. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Pagella/fontdata.js +4 -1
  669. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata-extra.js +1 -1
  670. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata.js +4 -1
  671. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata-extra.js +1 -1
  672. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata.js +4 -1
  673. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata-extra.js +1 -1
  674. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata.js +4 -1
  675. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX-Web/fontdata-extra.js +1 -1
  676. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js +4 -1
  677. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js +1 -1
  678. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/STIX/fontdata.js +4 -1
  679. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js +1 -1
  680. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/fonts/TeX/fontdata.js +4 -1
  681. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/imageFonts.js +1 -1
  682. data/vendor/mathjax/unpacked/jax/output/HTML-CSS/jax.js +117 -59
  683. data/vendor/mathjax/unpacked/jax/output/NativeMML/config.js +1 -1
  684. data/vendor/mathjax/unpacked/jax/output/NativeMML/jax.js +19 -7
  685. data/vendor/mathjax/unpacked/jax/output/PlainSource/config.js +49 -0
  686. data/vendor/mathjax/unpacked/jax/output/PlainSource/jax.js +185 -0
  687. data/vendor/mathjax/unpacked/jax/output/PreviewHTML/config.js +54 -0
  688. data/vendor/mathjax/unpacked/jax/output/PreviewHTML/jax.js +1092 -0
  689. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/annotation-xml.js +1 -1
  690. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/maction.js +6 -3
  691. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/menclose.js +1 -1
  692. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/mglyph.js +1 -1
  693. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/mmultiscripts.js +10 -5
  694. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/ms.js +8 -5
  695. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/mtable.js +28 -12
  696. data/vendor/mathjax/unpacked/jax/output/SVG/autoload/multiline.js +1 -1
  697. data/vendor/mathjax/unpacked/jax/output/SVG/config.js +2 -2
  698. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Asana-Math/fontdata-extra.js +1 -1
  699. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Asana-Math/fontdata.js +4 -1
  700. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Pagella/fontdata-extra.js +1 -1
  701. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Pagella/fontdata.js +4 -1
  702. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Termes/fontdata-extra.js +1 -1
  703. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Gyre-Termes/fontdata.js +4 -1
  704. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Latin-Modern/fontdata-extra.js +1 -1
  705. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Latin-Modern/fontdata.js +4 -1
  706. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Neo-Euler/fontdata-extra.js +1 -1
  707. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/Neo-Euler/fontdata.js +4 -1
  708. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/STIX-Web/fontdata-extra.js +1 -1
  709. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/STIX-Web/fontdata.js +4 -1
  710. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/TeX/fontdata-extra.js +1 -1
  711. data/vendor/mathjax/unpacked/jax/output/SVG/fonts/TeX/fontdata.js +4 -1
  712. data/vendor/mathjax/unpacked/jax/output/SVG/jax.js +58 -31
  713. data/vendor/mathjax/unpacked/localization/ast/FontWarnings.js +1 -1
  714. data/vendor/mathjax/unpacked/localization/ast/HTML-CSS.js +1 -1
  715. data/vendor/mathjax/unpacked/localization/ast/HelpDialog.js +1 -1
  716. data/vendor/mathjax/unpacked/localization/ast/MathML.js +1 -1
  717. data/vendor/mathjax/unpacked/localization/ast/MathMenu.js +1 -1
  718. data/vendor/mathjax/unpacked/localization/ast/TeX.js +1 -1
  719. data/vendor/mathjax/unpacked/localization/ast/ast.js +2 -2
  720. data/vendor/mathjax/unpacked/localization/bcc/FontWarnings.js +1 -1
  721. data/vendor/mathjax/unpacked/localization/bcc/HTML-CSS.js +1 -1
  722. data/vendor/mathjax/unpacked/localization/bcc/HelpDialog.js +1 -1
  723. data/vendor/mathjax/unpacked/localization/bcc/MathML.js +1 -1
  724. data/vendor/mathjax/unpacked/localization/bcc/MathMenu.js +1 -1
  725. data/vendor/mathjax/unpacked/localization/bcc/TeX.js +1 -1
  726. data/vendor/mathjax/unpacked/localization/bcc/bcc.js +3 -3
  727. data/vendor/mathjax/unpacked/localization/bg/FontWarnings.js +32 -0
  728. data/vendor/mathjax/unpacked/localization/bg/HTML-CSS.js +32 -0
  729. data/vendor/mathjax/unpacked/localization/bg/HelpDialog.js +32 -0
  730. data/vendor/mathjax/unpacked/localization/bg/MathML.js +32 -0
  731. data/vendor/mathjax/unpacked/localization/bg/MathMenu.js +60 -0
  732. data/vendor/mathjax/unpacked/localization/bg/TeX.js +72 -0
  733. data/vendor/mathjax/unpacked/localization/bg/bg.js +59 -0
  734. data/vendor/mathjax/unpacked/localization/br/FontWarnings.js +1 -1
  735. data/vendor/mathjax/unpacked/localization/br/HTML-CSS.js +1 -1
  736. data/vendor/mathjax/unpacked/localization/br/HelpDialog.js +1 -1
  737. data/vendor/mathjax/unpacked/localization/br/MathML.js +1 -1
  738. data/vendor/mathjax/unpacked/localization/br/MathMenu.js +1 -1
  739. data/vendor/mathjax/unpacked/localization/br/TeX.js +3 -2
  740. data/vendor/mathjax/unpacked/localization/br/br.js +2 -2
  741. data/vendor/mathjax/unpacked/localization/ca/FontWarnings.js +2 -2
  742. data/vendor/mathjax/unpacked/localization/ca/HTML-CSS.js +1 -1
  743. data/vendor/mathjax/unpacked/localization/ca/HelpDialog.js +2 -2
  744. data/vendor/mathjax/unpacked/localization/ca/MathML.js +1 -1
  745. data/vendor/mathjax/unpacked/localization/ca/MathMenu.js +2 -2
  746. data/vendor/mathjax/unpacked/localization/ca/TeX.js +1 -1
  747. data/vendor/mathjax/unpacked/localization/ca/ca.js +2 -2
  748. data/vendor/mathjax/unpacked/localization/cdo/FontWarnings.js +1 -1
  749. data/vendor/mathjax/unpacked/localization/cdo/HTML-CSS.js +1 -1
  750. data/vendor/mathjax/unpacked/localization/cdo/HelpDialog.js +1 -1
  751. data/vendor/mathjax/unpacked/localization/cdo/MathML.js +1 -1
  752. data/vendor/mathjax/unpacked/localization/cdo/MathMenu.js +1 -1
  753. data/vendor/mathjax/unpacked/localization/cdo/TeX.js +1 -1
  754. data/vendor/mathjax/unpacked/localization/cdo/cdo.js +5 -5
  755. data/vendor/mathjax/unpacked/localization/ce/FontWarnings.js +1 -1
  756. data/vendor/mathjax/unpacked/localization/ce/HTML-CSS.js +1 -1
  757. data/vendor/mathjax/unpacked/localization/ce/HelpDialog.js +1 -1
  758. data/vendor/mathjax/unpacked/localization/ce/MathML.js +1 -1
  759. data/vendor/mathjax/unpacked/localization/ce/MathMenu.js +1 -1
  760. data/vendor/mathjax/unpacked/localization/ce/TeX.js +1 -1
  761. data/vendor/mathjax/unpacked/localization/ce/ce.js +2 -2
  762. data/vendor/mathjax/unpacked/localization/cs/FontWarnings.js +1 -1
  763. data/vendor/mathjax/unpacked/localization/cs/HTML-CSS.js +1 -1
  764. data/vendor/mathjax/unpacked/localization/cs/HelpDialog.js +1 -1
  765. data/vendor/mathjax/unpacked/localization/cs/MathML.js +1 -1
  766. data/vendor/mathjax/unpacked/localization/cs/MathMenu.js +1 -1
  767. data/vendor/mathjax/unpacked/localization/cs/TeX.js +1 -1
  768. data/vendor/mathjax/unpacked/localization/cs/cs.js +2 -2
  769. data/vendor/mathjax/unpacked/localization/cy/FontWarnings.js +1 -1
  770. data/vendor/mathjax/unpacked/localization/cy/HTML-CSS.js +1 -1
  771. data/vendor/mathjax/unpacked/localization/cy/HelpDialog.js +1 -1
  772. data/vendor/mathjax/unpacked/localization/cy/MathML.js +1 -1
  773. data/vendor/mathjax/unpacked/localization/cy/MathMenu.js +1 -1
  774. data/vendor/mathjax/unpacked/localization/cy/TeX.js +1 -1
  775. data/vendor/mathjax/unpacked/localization/cy/cy.js +2 -2
  776. data/vendor/mathjax/unpacked/localization/da/FontWarnings.js +1 -1
  777. data/vendor/mathjax/unpacked/localization/da/HTML-CSS.js +1 -1
  778. data/vendor/mathjax/unpacked/localization/da/HelpDialog.js +1 -1
  779. data/vendor/mathjax/unpacked/localization/da/MathML.js +1 -1
  780. data/vendor/mathjax/unpacked/localization/da/MathMenu.js +1 -1
  781. data/vendor/mathjax/unpacked/localization/da/TeX.js +1 -1
  782. data/vendor/mathjax/unpacked/localization/da/da.js +2 -2
  783. data/vendor/mathjax/unpacked/localization/de/FontWarnings.js +1 -1
  784. data/vendor/mathjax/unpacked/localization/de/HTML-CSS.js +1 -1
  785. data/vendor/mathjax/unpacked/localization/de/HelpDialog.js +1 -1
  786. data/vendor/mathjax/unpacked/localization/de/MathML.js +1 -1
  787. data/vendor/mathjax/unpacked/localization/de/MathMenu.js +1 -1
  788. data/vendor/mathjax/unpacked/localization/de/TeX.js +14 -14
  789. data/vendor/mathjax/unpacked/localization/de/de.js +2 -2
  790. data/vendor/mathjax/unpacked/localization/en/FontWarnings.js +1 -1
  791. data/vendor/mathjax/unpacked/localization/en/HTML-CSS.js +1 -1
  792. data/vendor/mathjax/unpacked/localization/en/HelpDialog.js +1 -1
  793. data/vendor/mathjax/unpacked/localization/en/MathML.js +1 -1
  794. data/vendor/mathjax/unpacked/localization/en/MathMenu.js +1 -1
  795. data/vendor/mathjax/unpacked/localization/en/TeX.js +1 -1
  796. data/vendor/mathjax/unpacked/localization/en/en.js +2 -2
  797. data/vendor/mathjax/unpacked/localization/eo/FontWarnings.js +1 -1
  798. data/vendor/mathjax/unpacked/localization/eo/HTML-CSS.js +1 -1
  799. data/vendor/mathjax/unpacked/localization/eo/HelpDialog.js +1 -1
  800. data/vendor/mathjax/unpacked/localization/eo/MathML.js +1 -1
  801. data/vendor/mathjax/unpacked/localization/eo/MathMenu.js +1 -1
  802. data/vendor/mathjax/unpacked/localization/eo/TeX.js +1 -1
  803. data/vendor/mathjax/unpacked/localization/eo/eo.js +2 -2
  804. data/vendor/mathjax/unpacked/localization/es/FontWarnings.js +1 -1
  805. data/vendor/mathjax/unpacked/localization/es/HTML-CSS.js +1 -1
  806. data/vendor/mathjax/unpacked/localization/es/HelpDialog.js +1 -1
  807. data/vendor/mathjax/unpacked/localization/es/MathML.js +2 -2
  808. data/vendor/mathjax/unpacked/localization/es/MathMenu.js +1 -1
  809. data/vendor/mathjax/unpacked/localization/es/TeX.js +1 -1
  810. data/vendor/mathjax/unpacked/localization/es/es.js +2 -2
  811. data/vendor/mathjax/unpacked/localization/fa/FontWarnings.js +1 -1
  812. data/vendor/mathjax/unpacked/localization/fa/HTML-CSS.js +1 -1
  813. data/vendor/mathjax/unpacked/localization/fa/HelpDialog.js +3 -3
  814. data/vendor/mathjax/unpacked/localization/fa/MathML.js +2 -2
  815. data/vendor/mathjax/unpacked/localization/fa/MathMenu.js +2 -2
  816. data/vendor/mathjax/unpacked/localization/fa/TeX.js +1 -1
  817. data/vendor/mathjax/unpacked/localization/fa/fa.js +2 -2
  818. data/vendor/mathjax/unpacked/localization/fi/FontWarnings.js +1 -1
  819. data/vendor/mathjax/unpacked/localization/fi/HTML-CSS.js +1 -1
  820. data/vendor/mathjax/unpacked/localization/fi/HelpDialog.js +1 -1
  821. data/vendor/mathjax/unpacked/localization/fi/MathML.js +1 -1
  822. data/vendor/mathjax/unpacked/localization/fi/MathMenu.js +1 -1
  823. data/vendor/mathjax/unpacked/localization/fi/TeX.js +1 -1
  824. data/vendor/mathjax/unpacked/localization/fi/fi.js +2 -2
  825. data/vendor/mathjax/unpacked/localization/fr/FontWarnings.js +1 -1
  826. data/vendor/mathjax/unpacked/localization/fr/HTML-CSS.js +1 -1
  827. data/vendor/mathjax/unpacked/localization/fr/HelpDialog.js +1 -1
  828. data/vendor/mathjax/unpacked/localization/fr/MathML.js +1 -1
  829. data/vendor/mathjax/unpacked/localization/fr/MathMenu.js +2 -2
  830. data/vendor/mathjax/unpacked/localization/fr/TeX.js +11 -11
  831. data/vendor/mathjax/unpacked/localization/fr/fr.js +4 -4
  832. data/vendor/mathjax/unpacked/localization/gl/FontWarnings.js +1 -1
  833. data/vendor/mathjax/unpacked/localization/gl/HTML-CSS.js +1 -1
  834. data/vendor/mathjax/unpacked/localization/gl/HelpDialog.js +1 -1
  835. data/vendor/mathjax/unpacked/localization/gl/MathML.js +1 -1
  836. data/vendor/mathjax/unpacked/localization/gl/MathMenu.js +1 -1
  837. data/vendor/mathjax/unpacked/localization/gl/TeX.js +1 -1
  838. data/vendor/mathjax/unpacked/localization/gl/gl.js +2 -2
  839. data/vendor/mathjax/unpacked/localization/he/FontWarnings.js +1 -1
  840. data/vendor/mathjax/unpacked/localization/he/HTML-CSS.js +1 -1
  841. data/vendor/mathjax/unpacked/localization/he/HelpDialog.js +1 -1
  842. data/vendor/mathjax/unpacked/localization/he/MathML.js +1 -1
  843. data/vendor/mathjax/unpacked/localization/he/MathMenu.js +1 -1
  844. data/vendor/mathjax/unpacked/localization/he/TeX.js +1 -1
  845. data/vendor/mathjax/unpacked/localization/he/he.js +2 -2
  846. data/vendor/mathjax/unpacked/localization/ia/FontWarnings.js +1 -1
  847. data/vendor/mathjax/unpacked/localization/ia/HTML-CSS.js +1 -1
  848. data/vendor/mathjax/unpacked/localization/ia/HelpDialog.js +1 -1
  849. data/vendor/mathjax/unpacked/localization/ia/MathML.js +1 -1
  850. data/vendor/mathjax/unpacked/localization/ia/MathMenu.js +1 -1
  851. data/vendor/mathjax/unpacked/localization/ia/TeX.js +1 -1
  852. data/vendor/mathjax/unpacked/localization/ia/ia.js +2 -2
  853. data/vendor/mathjax/unpacked/localization/it/FontWarnings.js +1 -1
  854. data/vendor/mathjax/unpacked/localization/it/HTML-CSS.js +1 -1
  855. data/vendor/mathjax/unpacked/localization/it/HelpDialog.js +1 -1
  856. data/vendor/mathjax/unpacked/localization/it/MathML.js +1 -1
  857. data/vendor/mathjax/unpacked/localization/it/MathMenu.js +1 -1
  858. data/vendor/mathjax/unpacked/localization/it/TeX.js +1 -1
  859. data/vendor/mathjax/unpacked/localization/it/it.js +2 -2
  860. data/vendor/mathjax/unpacked/localization/ja/FontWarnings.js +1 -1
  861. data/vendor/mathjax/unpacked/localization/ja/HTML-CSS.js +1 -1
  862. data/vendor/mathjax/unpacked/localization/ja/HelpDialog.js +1 -1
  863. data/vendor/mathjax/unpacked/localization/ja/MathML.js +1 -1
  864. data/vendor/mathjax/unpacked/localization/ja/MathMenu.js +1 -1
  865. data/vendor/mathjax/unpacked/localization/ja/TeX.js +1 -1
  866. data/vendor/mathjax/unpacked/localization/ja/ja.js +2 -2
  867. data/vendor/mathjax/unpacked/localization/kn/FontWarnings.js +3 -2
  868. data/vendor/mathjax/unpacked/localization/kn/HTML-CSS.js +1 -1
  869. data/vendor/mathjax/unpacked/localization/kn/HelpDialog.js +1 -1
  870. data/vendor/mathjax/unpacked/localization/kn/MathML.js +1 -1
  871. data/vendor/mathjax/unpacked/localization/kn/MathMenu.js +1 -1
  872. data/vendor/mathjax/unpacked/localization/kn/TeX.js +1 -1
  873. data/vendor/mathjax/unpacked/localization/kn/kn.js +2 -2
  874. data/vendor/mathjax/unpacked/localization/ko/FontWarnings.js +4 -2
  875. data/vendor/mathjax/unpacked/localization/ko/HTML-CSS.js +6 -2
  876. data/vendor/mathjax/unpacked/localization/ko/HelpDialog.js +5 -2
  877. data/vendor/mathjax/unpacked/localization/ko/MathML.js +1 -1
  878. data/vendor/mathjax/unpacked/localization/ko/MathMenu.js +11 -3
  879. data/vendor/mathjax/unpacked/localization/ko/TeX.js +1 -1
  880. data/vendor/mathjax/unpacked/localization/ko/ko.js +2 -2
  881. data/vendor/mathjax/unpacked/localization/lb/FontWarnings.js +1 -1
  882. data/vendor/mathjax/unpacked/localization/lb/HTML-CSS.js +1 -1
  883. data/vendor/mathjax/unpacked/localization/lb/HelpDialog.js +1 -1
  884. data/vendor/mathjax/unpacked/localization/lb/MathML.js +1 -1
  885. data/vendor/mathjax/unpacked/localization/lb/MathMenu.js +1 -1
  886. data/vendor/mathjax/unpacked/localization/lb/TeX.js +1 -1
  887. data/vendor/mathjax/unpacked/localization/lb/lb.js +2 -2
  888. data/vendor/mathjax/unpacked/localization/lki/FontWarnings.js +38 -0
  889. data/vendor/mathjax/unpacked/localization/lki/HTML-CSS.js +36 -0
  890. data/vendor/mathjax/unpacked/localization/lki/HelpDialog.js +41 -0
  891. data/vendor/mathjax/unpacked/localization/lki/MathML.js +41 -0
  892. data/vendor/mathjax/unpacked/localization/lki/MathMenu.js +111 -0
  893. data/vendor/mathjax/unpacked/localization/lki/TeX.js +102 -0
  894. data/vendor/mathjax/unpacked/localization/lki/lki.js +61 -0
  895. data/vendor/mathjax/unpacked/localization/lt/FontWarnings.js +38 -0
  896. data/vendor/mathjax/unpacked/localization/lt/HTML-CSS.js +36 -0
  897. data/vendor/mathjax/unpacked/localization/lt/HelpDialog.js +41 -0
  898. data/vendor/mathjax/unpacked/localization/lt/MathML.js +41 -0
  899. data/vendor/mathjax/unpacked/localization/lt/MathMenu.js +111 -0
  900. data/vendor/mathjax/unpacked/localization/lt/TeX.js +102 -0
  901. data/vendor/mathjax/unpacked/localization/lt/lt.js +66 -0
  902. data/vendor/mathjax/unpacked/localization/mk/FontWarnings.js +2 -2
  903. data/vendor/mathjax/unpacked/localization/mk/HTML-CSS.js +1 -1
  904. data/vendor/mathjax/unpacked/localization/mk/HelpDialog.js +1 -1
  905. data/vendor/mathjax/unpacked/localization/mk/MathML.js +1 -1
  906. data/vendor/mathjax/unpacked/localization/mk/MathMenu.js +1 -1
  907. data/vendor/mathjax/unpacked/localization/mk/TeX.js +1 -1
  908. data/vendor/mathjax/unpacked/localization/mk/mk.js +2 -2
  909. data/vendor/mathjax/unpacked/localization/nl/FontWarnings.js +1 -1
  910. data/vendor/mathjax/unpacked/localization/nl/HTML-CSS.js +3 -3
  911. data/vendor/mathjax/unpacked/localization/nl/HelpDialog.js +2 -2
  912. data/vendor/mathjax/unpacked/localization/nl/MathML.js +2 -2
  913. data/vendor/mathjax/unpacked/localization/nl/MathMenu.js +21 -21
  914. data/vendor/mathjax/unpacked/localization/nl/TeX.js +26 -26
  915. data/vendor/mathjax/unpacked/localization/nl/nl.js +7 -7
  916. data/vendor/mathjax/unpacked/localization/oc/FontWarnings.js +1 -1
  917. data/vendor/mathjax/unpacked/localization/oc/HTML-CSS.js +1 -1
  918. data/vendor/mathjax/unpacked/localization/oc/HelpDialog.js +1 -1
  919. data/vendor/mathjax/unpacked/localization/oc/MathML.js +1 -1
  920. data/vendor/mathjax/unpacked/localization/oc/MathMenu.js +1 -1
  921. data/vendor/mathjax/unpacked/localization/oc/TeX.js +1 -1
  922. data/vendor/mathjax/unpacked/localization/oc/oc.js +2 -2
  923. data/vendor/mathjax/unpacked/localization/pl/FontWarnings.js +1 -1
  924. data/vendor/mathjax/unpacked/localization/pl/HTML-CSS.js +1 -1
  925. data/vendor/mathjax/unpacked/localization/pl/HelpDialog.js +1 -1
  926. data/vendor/mathjax/unpacked/localization/pl/MathML.js +1 -1
  927. data/vendor/mathjax/unpacked/localization/pl/MathMenu.js +1 -1
  928. data/vendor/mathjax/unpacked/localization/pl/TeX.js +1 -1
  929. data/vendor/mathjax/unpacked/localization/pl/pl.js +2 -2
  930. data/vendor/mathjax/unpacked/localization/pt-br/FontWarnings.js +1 -1
  931. data/vendor/mathjax/unpacked/localization/pt-br/HTML-CSS.js +1 -1
  932. data/vendor/mathjax/unpacked/localization/pt-br/HelpDialog.js +1 -1
  933. data/vendor/mathjax/unpacked/localization/pt-br/MathML.js +1 -1
  934. data/vendor/mathjax/unpacked/localization/pt-br/MathMenu.js +1 -1
  935. data/vendor/mathjax/unpacked/localization/pt-br/TeX.js +2 -2
  936. data/vendor/mathjax/unpacked/localization/pt-br/pt-br.js +5 -5
  937. data/vendor/mathjax/unpacked/localization/pt/FontWarnings.js +8 -8
  938. data/vendor/mathjax/unpacked/localization/pt/HTML-CSS.js +4 -4
  939. data/vendor/mathjax/unpacked/localization/pt/HelpDialog.js +5 -5
  940. data/vendor/mathjax/unpacked/localization/pt/MathML.js +2 -2
  941. data/vendor/mathjax/unpacked/localization/pt/MathMenu.js +17 -17
  942. data/vendor/mathjax/unpacked/localization/pt/TeX.js +1 -1
  943. data/vendor/mathjax/unpacked/localization/pt/pt.js +2 -2
  944. data/vendor/mathjax/unpacked/localization/qqq/FontWarnings.js +1 -1
  945. data/vendor/mathjax/unpacked/localization/qqq/HTML-CSS.js +1 -1
  946. data/vendor/mathjax/unpacked/localization/qqq/HelpDialog.js +1 -1
  947. data/vendor/mathjax/unpacked/localization/qqq/MathML.js +1 -1
  948. data/vendor/mathjax/unpacked/localization/qqq/MathMenu.js +1 -1
  949. data/vendor/mathjax/unpacked/localization/qqq/TeX.js +1 -1
  950. data/vendor/mathjax/unpacked/localization/qqq/qqq.js +2 -2
  951. data/vendor/mathjax/unpacked/localization/ru/FontWarnings.js +1 -1
  952. data/vendor/mathjax/unpacked/localization/ru/HTML-CSS.js +1 -1
  953. data/vendor/mathjax/unpacked/localization/ru/HelpDialog.js +1 -1
  954. data/vendor/mathjax/unpacked/localization/ru/MathML.js +1 -1
  955. data/vendor/mathjax/unpacked/localization/ru/MathMenu.js +1 -1
  956. data/vendor/mathjax/unpacked/localization/ru/TeX.js +1 -1
  957. data/vendor/mathjax/unpacked/localization/ru/ru.js +2 -2
  958. data/vendor/mathjax/unpacked/localization/scn/FontWarnings.js +38 -0
  959. data/vendor/mathjax/unpacked/localization/scn/HTML-CSS.js +36 -0
  960. data/vendor/mathjax/unpacked/localization/scn/HelpDialog.js +41 -0
  961. data/vendor/mathjax/unpacked/localization/scn/MathML.js +41 -0
  962. data/vendor/mathjax/unpacked/localization/scn/MathMenu.js +111 -0
  963. data/vendor/mathjax/unpacked/localization/scn/TeX.js +102 -0
  964. data/vendor/mathjax/unpacked/localization/scn/scn.js +61 -0
  965. data/vendor/mathjax/unpacked/localization/sco/FontWarnings.js +1 -1
  966. data/vendor/mathjax/unpacked/localization/sco/HTML-CSS.js +1 -1
  967. data/vendor/mathjax/unpacked/localization/sco/HelpDialog.js +1 -1
  968. data/vendor/mathjax/unpacked/localization/sco/MathML.js +1 -1
  969. data/vendor/mathjax/unpacked/localization/sco/MathMenu.js +1 -1
  970. data/vendor/mathjax/unpacked/localization/sco/TeX.js +1 -1
  971. data/vendor/mathjax/unpacked/localization/sco/sco.js +2 -2
  972. data/vendor/mathjax/unpacked/localization/sl/FontWarnings.js +1 -1
  973. data/vendor/mathjax/unpacked/localization/sl/HTML-CSS.js +1 -1
  974. data/vendor/mathjax/unpacked/localization/sl/HelpDialog.js +1 -1
  975. data/vendor/mathjax/unpacked/localization/sl/MathML.js +1 -1
  976. data/vendor/mathjax/unpacked/localization/sl/MathMenu.js +1 -1
  977. data/vendor/mathjax/unpacked/localization/sl/TeX.js +1 -1
  978. data/vendor/mathjax/unpacked/localization/sl/sl.js +2 -2
  979. data/vendor/mathjax/unpacked/localization/sv/FontWarnings.js +1 -1
  980. data/vendor/mathjax/unpacked/localization/sv/HTML-CSS.js +1 -1
  981. data/vendor/mathjax/unpacked/localization/sv/HelpDialog.js +1 -1
  982. data/vendor/mathjax/unpacked/localization/sv/MathML.js +1 -1
  983. data/vendor/mathjax/unpacked/localization/sv/MathMenu.js +1 -1
  984. data/vendor/mathjax/unpacked/localization/sv/TeX.js +1 -1
  985. data/vendor/mathjax/unpacked/localization/sv/sv.js +2 -2
  986. data/vendor/mathjax/unpacked/localization/tr/FontWarnings.js +1 -1
  987. data/vendor/mathjax/unpacked/localization/tr/HTML-CSS.js +1 -1
  988. data/vendor/mathjax/unpacked/localization/tr/HelpDialog.js +1 -1
  989. data/vendor/mathjax/unpacked/localization/tr/MathML.js +1 -1
  990. data/vendor/mathjax/unpacked/localization/tr/MathMenu.js +1 -1
  991. data/vendor/mathjax/unpacked/localization/tr/TeX.js +1 -1
  992. data/vendor/mathjax/unpacked/localization/tr/tr.js +2 -2
  993. data/vendor/mathjax/unpacked/localization/uk/FontWarnings.js +1 -1
  994. data/vendor/mathjax/unpacked/localization/uk/HTML-CSS.js +1 -1
  995. data/vendor/mathjax/unpacked/localization/uk/HelpDialog.js +1 -1
  996. data/vendor/mathjax/unpacked/localization/uk/MathML.js +1 -1
  997. data/vendor/mathjax/unpacked/localization/uk/MathMenu.js +1 -1
  998. data/vendor/mathjax/unpacked/localization/uk/TeX.js +1 -1
  999. data/vendor/mathjax/unpacked/localization/uk/uk.js +2 -2
  1000. data/vendor/mathjax/unpacked/localization/vi/FontWarnings.js +1 -1
  1001. data/vendor/mathjax/unpacked/localization/vi/HTML-CSS.js +1 -1
  1002. data/vendor/mathjax/unpacked/localization/vi/HelpDialog.js +1 -1
  1003. data/vendor/mathjax/unpacked/localization/vi/MathML.js +1 -1
  1004. data/vendor/mathjax/unpacked/localization/vi/MathMenu.js +1 -1
  1005. data/vendor/mathjax/unpacked/localization/vi/TeX.js +1 -1
  1006. data/vendor/mathjax/unpacked/localization/vi/vi.js +2 -2
  1007. data/vendor/mathjax/unpacked/localization/zh-hans/FontWarnings.js +1 -1
  1008. data/vendor/mathjax/unpacked/localization/zh-hans/HTML-CSS.js +1 -1
  1009. data/vendor/mathjax/unpacked/localization/zh-hans/HelpDialog.js +2 -2
  1010. data/vendor/mathjax/unpacked/localization/zh-hans/MathML.js +1 -1
  1011. data/vendor/mathjax/unpacked/localization/zh-hans/MathMenu.js +1 -1
  1012. data/vendor/mathjax/unpacked/localization/zh-hans/TeX.js +2 -2
  1013. data/vendor/mathjax/unpacked/localization/zh-hans/zh-hans.js +2 -2
  1014. metadata +154 -11
  1015. data/vendor/mathjax/images/CloseX-31.png +0 -0
  1016. data/vendor/mathjax/images/MenuArrow-15.png +0 -0
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2009-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/x-mathjax-config">
10
11
  //
@@ -3,7 +3,9 @@
3
3
  <head>
4
4
  <title>Localization</title>
5
5
  <!-- Copyright (c) 2013-2015 The MathJax Consortium -->
6
- <meta charset="utf-8"/>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+
7
9
  <script type="text/javascript" src="../unpacked/MathJax.js?config=TeX-MML-AM_HTMLorMML-full.js">
8
10
  var _M_ = 'MISSING TRANSLATION';
9
11
  </script>
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <!--
10
11
  |
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/javascript" src="../MathJax.js?config=AM_HTMLorMML-full"></script>
10
11
 
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <!--
10
11
  |
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/x-mathjax-config">
10
11
  MathJax.Hub.Config({
@@ -12,7 +13,7 @@
12
13
  tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] }
13
14
  });
14
15
  </script>
15
- <script type="text/javascript" src="../MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
16
+ <script type="text/javascript" src="../MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>
16
17
 
17
18
  <script>
18
19
  var Preview = {
@@ -23,6 +24,7 @@ var Preview = {
23
24
 
24
25
  timeout: null, // store setTimout id
25
26
  mjRunning: false, // true when MathJax is processing
27
+ mjPending: false, // true when a typeset has been queued
26
28
  oldText: null, // used to check if an update is needed
27
29
 
28
30
  //
@@ -67,15 +69,20 @@ var Preview = {
67
69
  //
68
70
  CreatePreview: function () {
69
71
  Preview.timeout = null;
70
- if (this.mjRunning) return;
72
+ if (this.mjPending) return;
71
73
  var text = document.getElementById("MathInput").value;
72
74
  if (text === this.oldtext) return;
73
- this.buffer.innerHTML = this.oldtext = text;
74
- this.mjRunning = true;
75
- MathJax.Hub.Queue(
76
- ["Typeset",MathJax.Hub,this.buffer],
77
- ["PreviewDone",this]
78
- );
75
+ if (this.mjRunning) {
76
+ this.mjPending = true;
77
+ MathJax.Hub.Queue(["CreatePreview",this]);
78
+ } else {
79
+ this.buffer.innerHTML = this.oldtext = text;
80
+ this.mjRunning = true;
81
+ MathJax.Hub.Queue(
82
+ ["Typeset",MathJax.Hub,this.buffer],
83
+ ["PreviewDone",this]
84
+ );
85
+ }
79
86
  },
80
87
 
81
88
  //
@@ -83,7 +90,7 @@ var Preview = {
83
90
  // and swap the buffers to show the results.
84
91
  //
85
92
  PreviewDone: function () {
86
- this.mjRunning = false;
93
+ this.mjRunning = this.mjPending = false;
87
94
  this.SwapBuffers();
88
95
  }
89
96
 
@@ -99,12 +106,19 @@ Preview.callback.autoReset = true; // make sure it can run more than once
99
106
  </head>
100
107
  <body>
101
108
 
102
- Type text in the box below:<br/>
109
+ <p> Type text (mixed with MathML, TeX or asciimath) in the box below for a live preview.</p>
103
110
 
104
111
  <textarea id="MathInput" cols="60" rows="10" onkeyup="Preview.Update()" style="margin-top:5px">
105
112
  </textarea>
106
- <br/><br/>
107
- Preview is shown here:
113
+ <p>Configured delimiters:
114
+ <ul>
115
+ <li>TeX, inline mode: <code>\(...\)</code> or <code>$...$</code></li>
116
+ <li>TeX, display mode: <code>\[...\]</code> or <code> $$...$$</code></li>
117
+ <li>Asciimath: <code>`...`</code>.</li>
118
+ </ul>
119
+ </p>
120
+
121
+ <p>Preview is shown here:</p>
108
122
  <div id="MathPreview" style="border:1px solid; padding: 3px; width:50%; margin-top:5px"></div>
109
123
  <div id="MathBuffer" style="border:1px solid; padding: 3px; width:50%; margin-top:5px;
110
124
  visibility:hidden; position:absolute; top:0; left: 0"></div>
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2011-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/x-mathjax-config">
10
11
  //
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2010-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/javascript" src="../MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
10
11
 
@@ -52,7 +53,12 @@ input {margin-top: .7em}
52
53
  // so we don't see a flash as the math is cleared and replaced.
53
54
  //
54
55
  window.UpdateMath = function (TeX) {
55
- QUEUE.Push(HIDEBOX,["Text",math,"\\displaystyle{"+TeX+"}"],SHOWBOX);
56
+ QUEUE.Push(
57
+ HIDEBOX,
58
+ ["resetEquationNumbers",MathJax.InputJax.TeX],
59
+ ["Text",math,"\\displaystyle{"+TeX+"}"],
60
+ SHOWBOX
61
+ );
56
62
  }
57
63
  })();
58
64
  </script>
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/x-mathjax-config">
10
11
  MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "AMS"} } });
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/x-mathjax-config">
10
11
  MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "all"} } });
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/javascript">
10
11
  //
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/javascript">
10
11
  //
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <!--
10
11
  |
@@ -4,6 +4,8 @@
4
4
  <title>texvc extension</title>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6
6
  <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+
7
9
  <script type="text/x-mathjax-config">
8
10
  MathJax.Hub.Config({
9
11
  TeX: { extensions: ["mediawiki-texvc.js"] },
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2010-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/javascript" src="../MathJax.js?config=MML_HTMLorMML-full"></script>
10
11
 
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2010-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <!--
10
11
  | This example shows how to use MathJax's signal mechanism to find out
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2010-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/x-mathjax-config">
10
11
  MathJax.Hub.Config({
@@ -5,6 +5,7 @@
5
5
  <!-- Copyright (c) 2009-2015 The MathJax Consortium -->
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
 
9
10
  <script type="text/x-mathjax-config">
10
11
  MathJax.Hub.Config({
@@ -45,9 +45,9 @@ if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}}
45
45
 
46
46
  // MathJax.isPacked = true; // This line is uncommented by the packer.
47
47
 
48
- MathJax.version = "2.5.1";
49
- MathJax.fileversion = "2.5.1";
50
- MathJax.cdnVersion = "2.5.1"; // specifies a revision to break caching
48
+ MathJax.version = "2.6.1";
49
+ MathJax.fileversion = "2.6.1";
50
+ MathJax.cdnVersion = "2.6.1"; // specifies a revision to break caching
51
51
  MathJax.cdnFileVersions = {}; // can be used to specify revisions for individual files
52
52
 
53
53
  /**********************************************************/
@@ -1040,18 +1040,21 @@ MathJax.HTML = {
1040
1040
  // " for more details.)"]);
1041
1041
  //
1042
1042
  Element: function (type,def,contents) {
1043
- var obj = document.createElement(type);
1043
+ var obj = document.createElement(type), id;
1044
1044
  if (def) {
1045
- if (def.style) {
1045
+ if (def.hasOwnProperty("style")) {
1046
1046
  var style = def.style; def.style = {};
1047
- for (var id in style) {if (style.hasOwnProperty(id))
1047
+ for (id in style) {if (style.hasOwnProperty(id))
1048
1048
  {def.style[id.replace(/-([a-z])/g,this.ucMatch)] = style[id]}}
1049
1049
  }
1050
1050
  MathJax.Hub.Insert(obj,def);
1051
+ for (id in def) {
1052
+ if (id === "role" || id.substr(0,5) === "aria-") obj.setAttribute(id,def[id]);
1053
+ }
1051
1054
  }
1052
1055
  if (contents) {
1053
1056
  if (!(contents instanceof Array)) {contents = [contents]}
1054
- for (var i = 0; i < contents.length; i++) {
1057
+ for (var i = 0, m = contents.length; i < m; i++) {
1055
1058
  if (contents[i] instanceof Array) {
1056
1059
  obj.appendChild(this.Element(contents[i][0],contents[i][1],contents[i][2]));
1057
1060
  } else if (type === "script") { // IE throws an error if script is added as a text node
@@ -1149,6 +1152,7 @@ MathJax.Localization = {
1149
1152
  // the languages that use a remap but are not translated at all.
1150
1153
  //
1151
1154
  "ast": {menuTitle: "asturianu"},
1155
+ "bg": {menuTitle: "\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438"},
1152
1156
  "bcc": {menuTitle: "\u0628\u0644\u0648\u0686\u06CC"},
1153
1157
  "br": {menuTitle: "brezhoneg"},
1154
1158
  "ca": {menuTitle: "catal\u00E0"},
@@ -1170,6 +1174,7 @@ MathJax.Localization = {
1170
1174
  "kn": {menuTitle: "\u0C95\u0CA8\u0CCD\u0CA8\u0CA1"},
1171
1175
  "ko": {menuTitle: "\uD55C\uAD6D\uC5B4"},
1172
1176
  "lb": {menuTitle: "L\u00EBtzebuergesch"},
1177
+ "lt": {menuTitle: "lietuvi\u0173"},
1173
1178
  "mk": {menuTitle: "\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438"},
1174
1179
  "nl": {menuTitle: "Nederlands"},
1175
1180
  "oc": {menuTitle: "occitan"},
@@ -1178,6 +1183,7 @@ MathJax.Localization = {
1178
1183
  "pt-br": {menuTitle: "portugu\u00EAs do Brasil"},
1179
1184
  "ru": {menuTitle: "\u0440\u0443\u0441\u0441\u043A\u0438\u0439"},
1180
1185
  "sco": {menuTitle: "Scots"},
1186
+ "scn": {menuTitle: "sicilianu"},
1181
1187
  "sl": {menuTitle: "sloven\u0161\u010Dina"},
1182
1188
  "sv": {menuTitle: "svenska"},
1183
1189
  "tr": {menuTitle: "T\u00FCrk\u00E7e"},
@@ -1202,7 +1208,7 @@ MathJax.Localization = {
1202
1208
  function (string,regex) {
1203
1209
  var result = [], match, last = 0;
1204
1210
  regex.lastIndex = 0;
1205
- while (match = regex.exec(string)) {
1211
+ while ((match = regex.exec(string))) {
1206
1212
  result.push(string.substr(last,match.index-last));
1207
1213
  result.push.apply(result,match.slice(1));
1208
1214
  last = match.index + match[0].length;
@@ -1874,7 +1880,7 @@ MathJax.Hub = {
1874
1880
  showMathMenu: true, // attach math context menu to typeset math?
1875
1881
  showMathMenuMSIE: true, // separtely determine if MSIE should have math menu
1876
1882
  // (since the code for that is a bit delicate)
1877
-
1883
+
1878
1884
  menuSettings: {
1879
1885
  zoom: "None", // when to do MathZoom
1880
1886
  CTRL: false, // require CTRL for MathZoom?
@@ -1883,13 +1889,16 @@ MathJax.Hub = {
1883
1889
  Shift: false, // require Shift?
1884
1890
  discoverable: false, // make math menu discoverable on hover?
1885
1891
  zscale: "200%", // the scaling factor for MathZoom
1886
- renderer: "", // set when Jax are loaded
1892
+ renderer: null, // set when Jax are loaded
1887
1893
  font: "Auto", // what font HTML-CSS should use
1888
1894
  context: "MathJax", // or "Browser" for pass-through to browser menu
1889
- locale: "en", // the language to use for messages
1895
+ locale: null, // the language to use for messages
1890
1896
  mpContext: false, // true means pass menu events to MathPlayer in IE
1891
1897
  mpMouse: false, // true means pass mouse events to MathPlayer in IE
1892
1898
  texHints: true, // include class names for TeXAtom elements
1899
+ FastPreview: null, // use PreviewHTML output as preview?
1900
+ assistiveMML: null, // include hidden MathML for screen readers?
1901
+ inTabOrder: true, // set to false if math elements should be included in the tabindex
1893
1902
  semantics: false // add semantics tag with original form in MathML output
1894
1903
  },
1895
1904
 
@@ -1975,7 +1984,8 @@ MathJax.Hub = {
1975
1984
  getJaxFor: function (element) {
1976
1985
  if (typeof(element) === 'string') {element = document.getElementById(element)}
1977
1986
  if (element && element.MathJax) {return element.MathJax.elementJax}
1978
- if (element && element.isMathJax) {
1987
+ if (this.isMathJaxNode(element)) {
1988
+ if (!element.isMathJax) {element = element.firstChild} // for NativeMML output
1979
1989
  while (element && !element.jaxID) {element = element.parentNode}
1980
1990
  if (element) {return MathJax.OutputJax[element.jaxID].getJaxFromMath(element)}
1981
1991
  }
@@ -1984,14 +1994,17 @@ MathJax.Hub = {
1984
1994
 
1985
1995
  isJax: function (element) {
1986
1996
  if (typeof(element) === 'string') {element = document.getElementById(element)}
1987
- if (element && element.isMathJax) {return 1}
1988
- if (element && element.tagName != null && element.tagName.toLowerCase() === 'script') {
1997
+ if (this.isMathJaxNode(element)) {return 1}
1998
+ if (element && (element.tagName||"").toLowerCase() === 'script') {
1989
1999
  if (element.MathJax)
1990
2000
  {return (element.MathJax.state === MathJax.ElementJax.STATE.PROCESSED ? 1 : -1)}
1991
2001
  if (element.type && this.inputJax[element.type.replace(/ *;(.|\s)*/,"")]) {return -1}
1992
2002
  }
1993
2003
  return 0;
1994
2004
  },
2005
+ isMathJaxNode: function (element) {
2006
+ return !!element && (element.isMathJax || (element.className||"") === "MathJax_MathML");
2007
+ },
1995
2008
 
1996
2009
  setRenderer: function (renderer,type) {
1997
2010
  if (!renderer) return;
@@ -2116,6 +2129,7 @@ MathJax.Hub = {
2116
2129
  if (script.MathJax.state !== STATE.PENDING) {this.scriptAction[action](script)}
2117
2130
  }
2118
2131
  if (!script.MathJax) {script.MathJax = {state: STATE.PENDING}}
2132
+ if (script.MathJax.error) delete script.MathJax.error;
2119
2133
  if (script.MathJax.state !== STATE.PROCESSED) {state.scripts.push(script)}
2120
2134
  }
2121
2135
  }
@@ -2172,13 +2186,15 @@ MathJax.Hub = {
2172
2186
  if (!script.MathJax.elementJax || script.MathJax.state === STATE.UPDATE) {
2173
2187
  this.checkScriptSiblings(script); // remove preJax/postJax etc.
2174
2188
  var type = script.type.replace(/ *;(.|\s)*/,""); // the input jax type
2175
- jax = this.inputJax[type].Process(script,state); // run the input jax
2189
+ var input = this.inputJax[type]; // the input jax itself
2190
+ jax = input.Process(script,state); // run the input jax
2176
2191
  if (typeof jax === 'function') { // if a callback was returned
2177
2192
  if (jax.called) continue; // go back and call Process() again
2178
2193
  this.RestartAfter(jax); // wait for the callback
2179
2194
  }
2180
- jax.Attach(script,this.inputJax[type].id); // register the jax on the script
2195
+ jax = jax.Attach(script,input.id); // register the jax on the script
2181
2196
  this.saveScript(jax,state,script,STATE); // add script to state
2197
+ this.postInputHooks.Execute(jax,input.id,script); // run global jax filters
2182
2198
  } else if (script.MathJax.state === STATE.OUTPUT) {
2183
2199
  this.saveScript(script.MathJax.elementJax,state,script,STATE); // add script to state
2184
2200
  }
@@ -2198,6 +2214,7 @@ MathJax.Hub = {
2198
2214
  state.start = new Date().getTime(); state.i = state.j = 0;
2199
2215
  return null;
2200
2216
  },
2217
+ postInputHooks: MathJax.Callback.Hooks(true), // hooks to run after element jax is created
2201
2218
  saveScript: function (jax,state,script,STATE) {
2202
2219
  //
2203
2220
  // Check that output jax exists
@@ -2326,37 +2343,43 @@ MathJax.Hub = {
2326
2343
  },
2327
2344
 
2328
2345
  formatError: function (script,err) {
2346
+ var LOCALIZE = function (id,text,arg1,arg2) {return MathJax.Localization._(id,text,arg1,arg2)};
2329
2347
  //
2330
2348
  // Get the error message, URL, and line, and save it for
2331
2349
  // reporting in the Show Math As Error menu
2332
2350
  //
2333
- var message = "Error: "+err.message+"\n";
2334
- if (err.sourceURL) {message += "\nfile: "+err.sourceURL}
2335
- if (err.line) {message += "\nline: "+err.line}
2351
+ var message = LOCALIZE("ErrorMessage","Error: %1",err.message)+"\n";
2352
+ if (err.sourceURL||err.fileName) message += "\n"+LOCALIZE("ErrorFile","file: %1",err.sourceURL||err.fileName);
2353
+ if (err.line||err.lineNumber) message += "\n"+LOCALIZE("ErrorLine","line: %1",err.line||err.lineNumber);
2354
+ message += "\n\n"+LOCALIZE("ErrorTips","Debugging tips: use %1, inspect %2 in the browser console","'unpacked/MathJax.js'","'MathJax.Hub.lastError'");
2336
2355
  script.MathJax.error = MathJax.OutputJax.Error.Jax(message,script);
2337
-
2356
+ if (script.MathJax.elementJax)
2357
+ script.MathJax.error.inputID = script.MathJax.elementJax.inputID;
2338
2358
  //
2339
2359
  // Create the [Math Processing Error] span
2340
2360
  //
2341
2361
  var errorSettings = this.config.errorSettings;
2342
- var errorText = MathJax.Localization._(errorSettings.messageId,errorSettings.message);
2343
- var error = MathJax.HTML.Element("span",
2344
- {className:"MathJax_Error", jaxID:"Error", isMathJax:true},errorText);
2362
+ var errorText = LOCALIZE(errorSettings.messageId,errorSettings.message);
2363
+ var error = MathJax.HTML.Element("span", {
2364
+ className:"MathJax_Error", jaxID:"Error", isMathJax:true,
2365
+ id: script.MathJax.error.inputID+"-Frame"
2366
+ },[["span",null,errorText]]);
2345
2367
  //
2346
2368
  // Attach the menu events
2347
2369
  //
2348
- if (MathJax.Extension.MathEvents) {
2349
- error.oncontextmenu = MathJax.Extension.MathEvents.Event.Menu;
2350
- error.onmousedown = MathJax.Extension.MathEvents.Event.Mousedown;
2351
- } else {
2352
- MathJax.Ajax.Require("[MathJax]/extensions/MathEvents.js",function () {
2353
- error.oncontextmenu = MathJax.Extension.MathEvents.Event.Menu;
2354
- error.onmousedown = MathJax.Extension.MathEvents.Event.Mousedown;
2355
- });
2356
- }
2370
+ MathJax.Ajax.Require("[MathJax]/extensions/MathEvents.js",function () {
2371
+ var EVENT = MathJax.Extension.MathEvents.Event,
2372
+ HUB = MathJax.Hub;
2373
+ error.oncontextmenu = EVENT.Menu;
2374
+ error.onmousedown = EVENT.Mousedown;
2375
+ error.onkeydown = EVENT.Keydown;
2376
+ error.tabIndex = HUB.getTabOrder(HUB.getJaxFor(script));
2377
+ });
2357
2378
  //
2358
2379
  // Insert the error into the page and remove any preview
2359
2380
  //
2381
+ var node = document.getElementById(error.id);
2382
+ if (node) node.parentNode.removeChild(node);
2360
2383
  script.parentNode.insertBefore(error,script);
2361
2384
  if (script.MathJax.preview) {script.MathJax.preview.innerHTML = ""}
2362
2385
  //
@@ -2439,6 +2462,10 @@ MathJax.Hub = {
2439
2462
  return dst;
2440
2463
  },
2441
2464
 
2465
+ getTabOrder: function(script) {
2466
+ return this.config.menuSettings.inTabOrder ? 0 : -1;
2467
+ },
2468
+
2442
2469
  // Old browsers (e.g. Internet Explorer <= 8) do not support trim().
2443
2470
  SplitList: ("trim" in String.prototype ?
2444
2471
  function (list) {return list.trim().split(/\s+/)} :
@@ -2539,8 +2566,8 @@ MathJax.Hub.Startup = {
2539
2566
  ["Post",this.signal,"Begin Cookie"],
2540
2567
  ["Get",MathJax.HTML.Cookie,"menu",MathJax.Hub.config.menuSettings],
2541
2568
  [function (config) {
2542
- if (config.menuSettings.locale)
2543
- {MathJax.Localization.resetLocale(config.menuSettings.locale)}
2569
+ var SETTINGS = config.menuSettings;
2570
+ if (SETTINGS.locale) MathJax.Localization.resetLocale(SETTINGS.locale);
2544
2571
  var renderer = config.menuSettings.renderer, jax = config.jax;
2545
2572
  if (renderer) {
2546
2573
  var name = "output/"+renderer; jax.sort();
@@ -2552,8 +2579,14 @@ MathJax.Hub.Startup = {
2552
2579
  }
2553
2580
  jax.unshift(name);
2554
2581
  }
2555
- if (config.menuSettings.CHTMLpreview && !MathJax.Extension["CHTML-preview"])
2556
- {MathJax.Hub.config.extensions.push("CHTML-preview.js")}
2582
+ if (SETTINGS.CHTMLpreview != null) {
2583
+ if (SETTINGS.FastPreview == null) SETTINGS.FastPreview = SETTINGS.CHTMLpreview;
2584
+ delete SETTINGS.CHTMLpreview;
2585
+ }
2586
+ if (SETTINGS.FastPreview && !MathJax.Extension["fast-preview"])
2587
+ MathJax.Hub.config.extensions.push("fast-preview.js");
2588
+ if (config.menuSettings.assistiveMML && !MathJax.Extension.AssistiveMML)
2589
+ MathJax.Hub.config.extensions.push("AssistiveMML.js");
2557
2590
  },MathJax.Hub.config],
2558
2591
  ["Post",this.signal,"End Cookie"]
2559
2592
  );
@@ -2644,11 +2677,9 @@ MathJax.Hub.Startup = {
2644
2677
  }
2645
2678
  },
2646
2679
  HashCheck: function (target) {
2647
- if (target.isMathJax) {
2648
- var jax = MathJax.Hub.getJaxFor(target);
2649
- if (jax && MathJax.OutputJax[jax.outputJax].hashCheck)
2650
- {target = MathJax.OutputJax[jax.outputJax].hashCheck(target)}
2651
- }
2680
+ var jax = MathJax.Hub.getJaxFor(target);
2681
+ if (jax && MathJax.OutputJax[jax.outputJax].hashCheck)
2682
+ {target = MathJax.OutputJax[jax.outputJax].hashCheck(target)}
2652
2683
  return target;
2653
2684
  },
2654
2685
 
@@ -2829,7 +2860,7 @@ MathJax.Hub.Startup = {
2829
2860
  }
2830
2861
  },{
2831
2862
  id: "Jax",
2832
- version: "2.5.0",
2863
+ version: "2.6.0",
2833
2864
  directory: ROOT+"/jax",
2834
2865
  extensionDir: ROOT+"/extensions"
2835
2866
  });
@@ -2875,7 +2906,7 @@ MathJax.Hub.Startup = {
2875
2906
  }
2876
2907
  },{
2877
2908
  id: "InputJax",
2878
- version: "2.5.0",
2909
+ version: "2.6.0",
2879
2910
  directory: JAX.directory+"/input",
2880
2911
  extensionDir: JAX.extensionDir
2881
2912
  });
@@ -2908,7 +2939,7 @@ MathJax.Hub.Startup = {
2908
2939
  Remove: function (jax) {}
2909
2940
  },{
2910
2941
  id: "OutputJax",
2911
- version: "2.5.0",
2942
+ version: "2.6.0",
2912
2943
  directory: JAX.directory+"/output",
2913
2944
  extensionDir: JAX.extensionDir,
2914
2945
  fontDir: ROOT+(BASE.isPacked?"":"/..")+"/fonts",
@@ -2992,7 +3023,7 @@ MathJax.Hub.Startup = {
2992
3023
  }
2993
3024
  },{
2994
3025
  id: "ElementJax",
2995
- version: "2.5.0",
3026
+ version: "2.6.0",
2996
3027
  directory: JAX.directory+"/element",
2997
3028
  extensionDir: JAX.extensionDir,
2998
3029
  ID: 0, // jax counter (for IDs)
@@ -3016,15 +3047,17 @@ MathJax.Hub.Startup = {
3016
3047
  // Some "Fake" jax used to allow menu access for "Math Processing Error" messages
3017
3048
  //
3018
3049
  BASE.OutputJax.Error = {
3019
- id: "Error", version: "2.5.0", config: {},
3050
+ id: "Error", version: "2.6.0", config: {}, errors: 0,
3020
3051
  ContextMenu: function () {return BASE.Extension.MathEvents.Event.ContextMenu.apply(BASE.Extension.MathEvents.Event,arguments)},
3021
3052
  Mousedown: function () {return BASE.Extension.MathEvents.Event.AltContextMenu.apply(BASE.Extension.MathEvents.Event,arguments)},
3022
3053
  getJaxFromMath: function (math) {return (math.nextSibling.MathJax||{}).error},
3023
3054
  Jax: function (text,script) {
3024
3055
  var jax = MathJax.Hub.inputJax[script.type.replace(/ *;(.|\s)*/,"")];
3056
+ this.errors++;
3025
3057
  return {
3026
3058
  inputJax: (jax||{id:"Error"}).id, // Use Error InputJax as fallback
3027
3059
  outputJax: "Error",
3060
+ inputID: "MathJax-Error-"+this.errors,
3028
3061
  sourceMenuTitle: /*_(MathMenu)*/ ["ErrorMessage","Error Message"],
3029
3062
  sourceMenuFormat: "Error",
3030
3063
  originalText: MathJax.HTML.getScript(script),
@@ -3033,7 +3066,7 @@ MathJax.Hub.Startup = {
3033
3066
  }
3034
3067
  };
3035
3068
  BASE.InputJax.Error = {
3036
- id: "Error", version: "2.5.0", config: {},
3069
+ id: "Error", version: "2.6.0", config: {},
3037
3070
  sourceMenuTitle: /*_(MathMenu)*/ ["Original","Original Form"]
3038
3071
  };
3039
3072
 
@@ -3063,8 +3096,8 @@ MathJax.Hub.Startup = {
3063
3096
  }
3064
3097
  }
3065
3098
  CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
3066
- // convert rackspace to cdn.mathjax.org now that it supports https protocol
3067
- .replace(/^(https?:)\/\/[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com\//,"$1//cdn.mathjax.org/");
3099
+ // convert mathjax/latest to mathjax/x.y-latest so that all files are the same version
3100
+ .replace(/^(https?:\/\/cdn.mathjax.org\/mathjax\/)(latest)/,"$1"+BASE.version.split(/\./).slice(0,2).join(".")+"-$2");
3068
3101
  BASE.Ajax.config.root = CONFIG.root;
3069
3102
  break;
3070
3103
  }
@@ -3075,11 +3108,13 @@ MathJax.Hub.Startup = {
3075
3108
  isMac: (navigator.platform.substr(0,3) === "Mac"),
3076
3109
  isPC: (navigator.platform.substr(0,3) === "Win"),
3077
3110
  isMSIE: ("ActiveXObject" in window && "clipboardData" in window),
3078
- isFirefox: (AGENT.match(/Gecko\//) && !AGENT.match(/like Gecko/)),
3079
- isSafari: (AGENT.match(/ (Apple)?WebKit\//) != null &&
3080
- (!window.chrome || window.chrome.loadTimes == null)),
3081
- isChrome: (window.chrome != null && window.chrome.loadTimes != null),
3082
- isOpera: (window.opera != null && window.opera.version != null),
3111
+ isEdge: ("MSGestureEvent" in window && "chrome" in window &&
3112
+ window.chrome.loadTimes == null),
3113
+ isFirefox: (!!AGENT.match(/Gecko\//) && !AGENT.match(/like Gecko/)),
3114
+ isSafari: (!!AGENT.match(/ (Apple)?WebKit\//) && !AGENT.match(/ like iPhone /) &&
3115
+ (!window.chrome || window.chrome.app == null)),
3116
+ isChrome: ("chrome" in window && window.chrome.loadTimes != null),
3117
+ isOpera: ("opera" in window && window.opera.version != null),
3083
3118
  isKonqueror: ("konqueror" in window && navigator.vendor == "KDE"),
3084
3119
  versionAtLeast: function (v) {
3085
3120
  var bv = (this.version).split('.'); v = (new String(v)).split('.');
@@ -3107,7 +3142,7 @@ MathJax.Hub.Startup = {
3107
3142
  HUB.Browser = HUB.Insert(new String(browser),BROWSERS);
3108
3143
  var VERSION = new RegExp(
3109
3144
  ".*(Version/| Trident/.*; rv:)((?:\\d+\\.)+\\d+)|" + // for Safari, Opera10, and IE11+
3110
- ".*("+browser+")"+(browser == "MSIE" ? " " : "/")+"((?:\\d+\\.)*\\d+)|"+ // for one of the main browser
3145
+ ".*("+browser+")"+(browser == "MSIE" ? " " : "/")+"((?:\\d+\\.)*\\d+)|"+ // for one of the main browsers
3111
3146
  "(?:^|\\(| )([a-z][-a-z0-9._: ]+|(?:Apple)?WebKit)/((?:\\d+\\.)+\\d+)"); // for unrecognized browser
3112
3147
  var MATCH = VERSION.exec(xAGENT) || ["","","","unknown","0.0"];
3113
3148
  HUB.Browser.name = (MATCH[1] != "" ? browser : (MATCH[3] || MATCH[5]));
@@ -3117,9 +3152,10 @@ MathJax.Hub.Startup = {
3117
3152
  }};
3118
3153
 
3119
3154
  //
3120
- // Initial browser-specific info (e.g., touch up version or name)
3155
+ // Initial browser-specific info (e.g., touch up version or name, check for MathPlayer, etc.)
3156
+ // Wrap in try/catch just in case of error (see issue #1155).
3121
3157
  //
3122
- HUB.Browser.Select({
3158
+ try {HUB.Browser.Select({
3123
3159
  Safari: function (browser) {
3124
3160
  var v = parseInt((String(browser.version).split("."))[0]);
3125
3161
  if (v > 85) {browser.webkit = browser.version}
@@ -3160,8 +3196,15 @@ MathJax.Hub.Startup = {
3160
3196
  AGENT.match(/ Fennec\//) != null ||
3161
3197
  AGENT.match(/Mobile/) != null);
3162
3198
  },
3199
+ Chrome: function (browser) {
3200
+ browser.noContextMenu = browser.isMobile = !!navigator.userAgent.match(/ Mobile[ \/]/);
3201
+ },
3163
3202
  Opera: function (browser) {browser.version = opera.version()},
3203
+ Edge: function (browser) {
3204
+ browser.isMobile = !!navigator.userAgent.match(/ Phone/);
3205
+ },
3164
3206
  MSIE: function (browser) {
3207
+ browser.isMobile = !!navigator.userAgent.match(/ Phone/);
3165
3208
  browser.isIE9 = !!(document.documentMode && (window.performance || window.msPerformance));
3166
3209
  MathJax.HTML.setScriptBug = !browser.isIE9 || document.documentMode < 9;
3167
3210
  MathJax.Hub.msieHTMLCollectionBug = (document.documentMode < 9);
@@ -3195,7 +3238,9 @@ MathJax.Hub.Startup = {
3195
3238
  } catch (err) {}
3196
3239
  }
3197
3240
  }
3198
- });
3241
+ });} catch (err) {
3242
+ console.error(err.message);
3243
+ }
3199
3244
  HUB.Browser.Select(MathJax.Message.browsers);
3200
3245
 
3201
3246
  if (BASE.AuthorConfig && typeof BASE.AuthorConfig.AuthorInit === "function") {BASE.AuthorConfig.AuthorInit()}