softcover-nonstop 1.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (753) hide show
  1. data/.gitignore +27 -0
  2. data/.pull_requests/1371777843 +0 -0
  3. data/.pull_requests/1371928784 +0 -0
  4. data/.pull_requests/1372807241 +0 -0
  5. data/.pull_requests/1374784202 +0 -0
  6. data/.pull_requests/1375325174 +0 -0
  7. data/.pull_requests/1375410822 +0 -0
  8. data/.pull_requests/1375469799 +0 -0
  9. data/.pull_requests/1375490251 +0 -0
  10. data/.pull_requests/1375493726 +0 -0
  11. data/.pull_requests/1375496302 +0 -0
  12. data/.pull_requests/1375496370 +0 -0
  13. data/.pull_requests/1375576640 +0 -0
  14. data/.pull_requests/1375841865 +0 -0
  15. data/.pull_requests/1376353301 +0 -0
  16. data/.pull_requests/1376358293 +0 -0
  17. data/.pull_requests/1376358392 +0 -0
  18. data/.pull_requests/1376451118 +0 -0
  19. data/.pull_requests/1376508357 +0 -0
  20. data/.pull_requests/1376513848 +0 -0
  21. data/.pull_requests/1376626000 +0 -0
  22. data/.pull_requests/1376626358 +0 -0
  23. data/.pull_requests/1376694273 +0 -0
  24. data/.pull_requests/1376696608 +0 -0
  25. data/.pull_requests/1376701133 +0 -0
  26. data/.pull_requests/1376705147 +0 -0
  27. data/.pull_requests/1377192571 +0 -0
  28. data/.pull_requests/1377195255 +0 -0
  29. data/.pull_requests/1377227817 +0 -0
  30. data/.pull_requests/1378780517 +0 -0
  31. data/.pull_requests/1379022091 +0 -0
  32. data/.pull_requests/1379023124 +0 -0
  33. data/.pull_requests/1379355960 +0 -0
  34. data/.pull_requests/1379457178 +0 -0
  35. data/.pull_requests/1379471050 +0 -0
  36. data/.pull_requests/1379630778 +0 -0
  37. data/.pull_requests/1380079375 +0 -0
  38. data/.pull_requests/1380081971 +0 -0
  39. data/.pull_requests/1380222458 +0 -0
  40. data/.pull_requests/1380229616 +0 -0
  41. data/.pull_requests/1380321946 +0 -0
  42. data/.pull_requests/1380587638 +0 -0
  43. data/.pull_requests/1380673383 +0 -0
  44. data/.pull_requests/1380675541 +0 -0
  45. data/.pull_requests/1380676529 +0 -0
  46. data/.pull_requests/1380944160 +0 -0
  47. data/.pull_requests/1381001404 +0 -0
  48. data/.pull_requests/1381001955 +0 -0
  49. data/.pull_requests/1381005206 +0 -0
  50. data/.pull_requests/1381103407 +0 -0
  51. data/.pull_requests/1381265319 +0 -0
  52. data/.pull_requests/1381276823 +0 -0
  53. data/.pull_requests/1381344368 +0 -0
  54. data/.pull_requests/1381385299 +0 -0
  55. data/.pull_requests/1381429963 +0 -0
  56. data/.pull_requests/1381532321 +0 -0
  57. data/.pull_requests/1381635684 +0 -0
  58. data/.pull_requests/1381875886 +0 -0
  59. data/.pull_requests/1382040914 +0 -0
  60. data/.pull_requests/1382056382 +0 -0
  61. data/.pull_requests/1382229425 +0 -0
  62. data/.pull_requests/1382501299 +0 -0
  63. data/.pull_requests/1382559045 +0 -0
  64. data/.pull_requests/1382569908 +0 -0
  65. data/.pull_requests/1382643470 +0 -0
  66. data/.pull_requests/1382660994 +0 -0
  67. data/.pull_requests/1382815660 +0 -0
  68. data/.pull_requests/1383162273 +0 -0
  69. data/.pull_requests/1383274302 +0 -0
  70. data/.pull_requests/1383274901 +0 -0
  71. data/.pull_requests/1383336387 +0 -0
  72. data/.pull_requests/1383420874 +0 -0
  73. data/.pull_requests/1383707748 +0 -0
  74. data/.pull_requests/1384207054 +0 -0
  75. data/.pull_requests/1384304643 +0 -0
  76. data/.pull_requests/1384447036 +0 -0
  77. data/.pull_requests/1384468478 +0 -0
  78. data/.pull_requests/1384801823 +0 -0
  79. data/.pull_requests/1385070261 +0 -0
  80. data/.pull_requests/1385518404 +0 -0
  81. data/.pull_requests/1385766008 +0 -0
  82. data/.pull_requests/1385778329 +0 -0
  83. data/.pull_requests/1385834422 +0 -0
  84. data/.pull_requests/1385835007 +0 -0
  85. data/.pull_requests/1385862948 +0 -0
  86. data/.pull_requests/1386099285 +0 -0
  87. data/.pull_requests/1386115582 +0 -0
  88. data/.pull_requests/1386448492 +0 -0
  89. data/.pull_requests/1387399930 +0 -0
  90. data/.pull_requests/1387400263 +0 -0
  91. data/.pull_requests/1387592428 +0 -0
  92. data/.pull_requests/1387944330 +0 -0
  93. data/.pull_requests/1388094706 +0 -0
  94. data/.pull_requests/1388441218 +0 -0
  95. data/.pull_requests/1388518194 +0 -0
  96. data/.pull_requests/1388713504 +0 -0
  97. data/.pull_requests/1388804598 +0 -0
  98. data/.pull_requests/1395697365 +0 -0
  99. data/.pull_requests/1403289532 +0 -0
  100. data/.rspec +1 -0
  101. data/.travis.yml +13 -0
  102. data/.vagrant.yml +1 -0
  103. data/Gemfile +26 -0
  104. data/LICENSE.txt +22 -0
  105. data/README.md +27 -0
  106. data/Rakefile +2 -0
  107. data/bin/sc +4 -0
  108. data/bin/softcover +4 -0
  109. data/lib/softcover/book.rb +238 -0
  110. data/lib/softcover/book_manifest.rb +385 -0
  111. data/lib/softcover/builder.rb +86 -0
  112. data/lib/softcover/builders/epub.rb +514 -0
  113. data/lib/softcover/builders/html.rb +239 -0
  114. data/lib/softcover/builders/mobi.rb +59 -0
  115. data/lib/softcover/builders/pdf.rb +160 -0
  116. data/lib/softcover/builders/preview.rb +38 -0
  117. data/lib/softcover/builders/utils/page.js +62 -0
  118. data/lib/softcover/cli.rb +270 -0
  119. data/lib/softcover/client.rb +119 -0
  120. data/lib/softcover/commands/auth.rb +18 -0
  121. data/lib/softcover/commands/build.rb +74 -0
  122. data/lib/softcover/commands/check.rb +112 -0
  123. data/lib/softcover/commands/deployment.rb +35 -0
  124. data/lib/softcover/commands/epub_validator.rb +32 -0
  125. data/lib/softcover/commands/generator.rb +140 -0
  126. data/lib/softcover/commands/opener.rb +17 -0
  127. data/lib/softcover/commands/publisher.rb +131 -0
  128. data/lib/softcover/commands/server.rb +66 -0
  129. data/lib/softcover/config.rb +62 -0
  130. data/lib/softcover/directories.rb +5 -0
  131. data/lib/softcover/formats.rb +5 -0
  132. data/lib/softcover/mathjax.rb +85 -0
  133. data/lib/softcover/output.rb +39 -0
  134. data/lib/softcover/rails/railtie.rb +9 -0
  135. data/lib/softcover/sanitizer.rb +48 -0
  136. data/lib/softcover/server/app.rb +78 -0
  137. data/lib/softcover/server/assets/bg.gif +0 -0
  138. data/lib/softcover/server/assets/icons.png +0 -0
  139. data/lib/softcover/server/assets/main.css +189 -0
  140. data/lib/softcover/server/assets/underscore-min.js +6 -0
  141. data/lib/softcover/server/assets/underscore-min.map +1 -0
  142. data/lib/softcover/server/views/book.html.erb +55 -0
  143. data/lib/softcover/server/views/main.js.erb +58 -0
  144. data/lib/softcover/template/.softcover-build +6 -0
  145. data/lib/softcover/template/.softcover-deploy +6 -0
  146. data/lib/softcover/template/Book.txt +9 -0
  147. data/lib/softcover/template/README.md +10 -0
  148. data/lib/softcover/template/chapters/a_chapter.md +142 -0
  149. data/lib/softcover/template/chapters/a_chapter.tex +182 -0
  150. data/lib/softcover/template/chapters/another_chapter.md +11 -0
  151. data/lib/softcover/template/chapters/another_chapter.tex +4 -0
  152. data/lib/softcover/template/chapters/preface.md +3 -0
  153. data/lib/softcover/template/chapters/preface.tex +3 -0
  154. data/lib/softcover/template/chapters/yet_another_chapter.md +3 -0
  155. data/lib/softcover/template/chapters/yet_another_chapter.tex +6 -0
  156. data/lib/softcover/template/config/book.yml.erb +11 -0
  157. data/lib/softcover/template/config/lang.yml +14 -0
  158. data/lib/softcover/template/config/marketing.yml +60 -0
  159. data/lib/softcover/template/config/preamble.tex +8 -0
  160. data/lib/softcover/template/epub/OEBPS/styles/.gitkeep +0 -0
  161. data/lib/softcover/template/epub/OEBPS/styles/custom_epub.css +7 -0
  162. data/lib/softcover/template/epub/OEBPS/styles/epub.css +23 -0
  163. data/lib/softcover/template/epub/OEBPS/styles/page-template.xpgt +49 -0
  164. data/lib/softcover/template/gitignore +36 -0
  165. data/lib/softcover/template/html/.gitkeep +0 -0
  166. data/lib/softcover/template/html/MathJax/MathJax.js +30 -0
  167. data/lib/softcover/template/html/MathJax/config/TeX-AMS-MML_SVG.js +68 -0
  168. data/lib/softcover/template/html/MathJax/config/TeX-AMS_HTML.js +59 -0
  169. data/lib/softcover/template/html/MathJax/extensions/FontWarnings.js +16 -0
  170. data/lib/softcover/template/html/MathJax/extensions/HTML-CSS/handle-floats.js +16 -0
  171. data/lib/softcover/template/html/MathJax/extensions/HelpDialog.js +16 -0
  172. data/lib/softcover/template/html/MathJax/extensions/MathEvents.js +16 -0
  173. data/lib/softcover/template/html/MathJax/extensions/MathML/content-mathml.js +16 -0
  174. data/lib/softcover/template/html/MathJax/extensions/MathMenu.js +16 -0
  175. data/lib/softcover/template/html/MathJax/extensions/MathZoom.js +16 -0
  176. data/lib/softcover/template/html/MathJax/extensions/Safe.js +16 -0
  177. data/lib/softcover/template/html/MathJax/extensions/TeX/AMScd.js +16 -0
  178. data/lib/softcover/template/html/MathJax/extensions/TeX/AMSmath.js +16 -0
  179. data/lib/softcover/template/html/MathJax/extensions/TeX/AMSsymbols.js +16 -0
  180. data/lib/softcover/template/html/MathJax/extensions/TeX/HTML.js +16 -0
  181. data/lib/softcover/template/html/MathJax/extensions/TeX/action.js +16 -0
  182. data/lib/softcover/template/html/MathJax/extensions/TeX/autobold.js +16 -0
  183. data/lib/softcover/template/html/MathJax/extensions/TeX/autoload-all.js +16 -0
  184. data/lib/softcover/template/html/MathJax/extensions/TeX/bbox.js +16 -0
  185. data/lib/softcover/template/html/MathJax/extensions/TeX/begingroup.js +16 -0
  186. data/lib/softcover/template/html/MathJax/extensions/TeX/boldsymbol.js +16 -0
  187. data/lib/softcover/template/html/MathJax/extensions/TeX/cancel.js +16 -0
  188. data/lib/softcover/template/html/MathJax/extensions/TeX/color.js +16 -0
  189. data/lib/softcover/template/html/MathJax/extensions/TeX/enclose.js +16 -0
  190. data/lib/softcover/template/html/MathJax/extensions/TeX/extpfeil.js +16 -0
  191. data/lib/softcover/template/html/MathJax/extensions/TeX/mathchoice.js +16 -0
  192. data/lib/softcover/template/html/MathJax/extensions/TeX/mhchem.js +16 -0
  193. data/lib/softcover/template/html/MathJax/extensions/TeX/newcommand.js +16 -0
  194. data/lib/softcover/template/html/MathJax/extensions/TeX/noErrors.js +16 -0
  195. data/lib/softcover/template/html/MathJax/extensions/TeX/noUndefined.js +16 -0
  196. data/lib/softcover/template/html/MathJax/extensions/TeX/unicode.js +16 -0
  197. data/lib/softcover/template/html/MathJax/extensions/TeX/verb.js +16 -0
  198. data/lib/softcover/template/html/MathJax/extensions/asciimath2jax.js +16 -0
  199. data/lib/softcover/template/html/MathJax/extensions/jsMath2jax.js +16 -0
  200. data/lib/softcover/template/html/MathJax/extensions/mml2jax.js +16 -0
  201. data/lib/softcover/template/html/MathJax/extensions/tex2jax.js +16 -0
  202. data/lib/softcover/template/html/MathJax/extensions/toMathML.js +16 -0
  203. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff +0 -0
  204. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff +0 -0
  205. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff +0 -0
  206. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff +0 -0
  207. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff +0 -0
  208. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff +0 -0
  209. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff +0 -0
  210. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff +0 -0
  211. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff +0 -0
  212. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff +0 -0
  213. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff +0 -0
  214. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff +0 -0
  215. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff +0 -0
  216. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff +0 -0
  217. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff +0 -0
  218. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff +0 -0
  219. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff +0 -0
  220. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff +0 -0
  221. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff +0 -0
  222. data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff +0 -0
  223. data/lib/softcover/template/html/MathJax/images/CloseX-31.png +0 -0
  224. data/lib/softcover/template/html/MathJax/images/MenuArrow-15.png +0 -0
  225. data/lib/softcover/template/html/MathJax/jax/element/mml/jax.js +16 -0
  226. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/Arrows.js +16 -0
  227. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/BasicLatin.js +16 -0
  228. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/CombDiacritMarks.js +16 -0
  229. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +16 -0
  230. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/Dingbats.js +16 -0
  231. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/GeneralPunctuation.js +16 -0
  232. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/GeometricShapes.js +16 -0
  233. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/GreekAndCoptic.js +16 -0
  234. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/Latin1Supplement.js +16 -0
  235. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +16 -0
  236. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MathOperators.js +16 -0
  237. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +16 -0
  238. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +16 -0
  239. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscSymbolsAndArrows.js +16 -0
  240. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscTechnical.js +16 -0
  241. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SpacingModLetters.js +16 -0
  242. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SuppMathOperators.js +16 -0
  243. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SupplementalArrowsA.js +16 -0
  244. data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +16 -0
  245. data/lib/softcover/template/html/MathJax/jax/input/AsciiMath/config.js +16 -0
  246. data/lib/softcover/template/html/MathJax/jax/input/AsciiMath/jax.js +16 -0
  247. data/lib/softcover/template/html/MathJax/jax/input/MathML/config.js +16 -0
  248. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/a.js +16 -0
  249. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/b.js +16 -0
  250. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/c.js +16 -0
  251. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/d.js +16 -0
  252. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/e.js +16 -0
  253. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/f.js +16 -0
  254. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/fr.js +16 -0
  255. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/g.js +16 -0
  256. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/h.js +16 -0
  257. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/i.js +16 -0
  258. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/j.js +16 -0
  259. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/k.js +16 -0
  260. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/l.js +16 -0
  261. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/m.js +16 -0
  262. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/n.js +16 -0
  263. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/o.js +16 -0
  264. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/opf.js +16 -0
  265. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/p.js +16 -0
  266. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/q.js +16 -0
  267. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/r.js +16 -0
  268. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/s.js +16 -0
  269. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/scr.js +16 -0
  270. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/t.js +16 -0
  271. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/u.js +16 -0
  272. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/v.js +16 -0
  273. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/w.js +16 -0
  274. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/x.js +16 -0
  275. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/y.js +16 -0
  276. data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/z.js +16 -0
  277. data/lib/softcover/template/html/MathJax/jax/input/MathML/jax.js +16 -0
  278. data/lib/softcover/template/html/MathJax/jax/input/TeX/config.js +16 -0
  279. data/lib/softcover/template/html/MathJax/jax/input/TeX/jax.js +16 -0
  280. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/annotation-xml.js +16 -0
  281. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/maction.js +16 -0
  282. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/menclose.js +16 -0
  283. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +16 -0
  284. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +16 -0
  285. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/ms.js +16 -0
  286. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/mtable.js +16 -0
  287. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/multiline.js +16 -0
  288. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/config.js +16 -0
  289. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +16 -0
  290. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +16 -0
  291. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BBBold.js +16 -0
  292. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +16 -0
  293. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +16 -0
  294. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +16 -0
  295. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +16 -0
  296. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +16 -0
  297. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +16 -0
  298. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +16 -0
  299. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +16 -0
  300. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +16 -0
  301. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +16 -0
  302. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +16 -0
  303. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +16 -0
  304. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +16 -0
  305. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +16 -0
  306. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +16 -0
  307. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +16 -0
  308. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +16 -0
  309. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +16 -0
  310. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedD.js +16 -0
  311. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +16 -0
  312. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +16 -0
  313. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +16 -0
  314. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +16 -0
  315. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +16 -0
  316. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +16 -0
  317. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +16 -0
  318. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +16 -0
  319. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +16 -0
  320. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +16 -0
  321. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +16 -0
  322. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +16 -0
  323. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +16 -0
  324. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +16 -0
  325. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +16 -0
  326. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +16 -0
  327. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +16 -0
  328. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +16 -0
  329. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +16 -0
  330. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +16 -0
  331. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +16 -0
  332. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +16 -0
  333. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +16 -0
  334. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +16 -0
  335. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +16 -0
  336. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +16 -0
  337. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +16 -0
  338. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +16 -0
  339. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +16 -0
  340. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +16 -0
  341. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +16 -0
  342. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +16 -0
  343. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +16 -0
  344. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +16 -0
  345. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +16 -0
  346. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +16 -0
  347. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +16 -0
  348. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +16 -0
  349. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +16 -0
  350. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +16 -0
  351. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +16 -0
  352. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +16 -0
  353. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +16 -0
  354. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +16 -0
  355. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +16 -0
  356. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +16 -0
  357. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +16 -0
  358. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +16 -0
  359. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +16 -0
  360. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +16 -0
  361. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +16 -0
  362. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +16 -0
  363. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +16 -0
  364. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +16 -0
  365. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +16 -0
  366. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +16 -0
  367. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +16 -0
  368. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +16 -0
  369. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +16 -0
  370. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +16 -0
  371. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +16 -0
  372. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +16 -0
  373. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +16 -0
  374. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +16 -0
  375. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +16 -0
  376. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +16 -0
  377. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +16 -0
  378. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +16 -0
  379. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +16 -0
  380. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +16 -0
  381. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +16 -0
  382. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +16 -0
  383. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +16 -0
  384. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +16 -0
  385. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +16 -0
  386. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +16 -0
  387. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +16 -0
  388. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +16 -0
  389. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +16 -0
  390. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +16 -0
  391. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +16 -0
  392. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +16 -0
  393. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +16 -0
  394. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +16 -0
  395. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +16 -0
  396. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +16 -0
  397. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +16 -0
  398. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +16 -0
  399. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +16 -0
  400. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +16 -0
  401. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +16 -0
  402. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +16 -0
  403. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +16 -0
  404. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +16 -0
  405. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +16 -0
  406. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +16 -0
  407. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +16 -0
  408. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +16 -0
  409. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +16 -0
  410. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +16 -0
  411. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +16 -0
  412. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +16 -0
  413. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +16 -0
  414. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +16 -0
  415. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +16 -0
  416. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +16 -0
  417. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +16 -0
  418. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +16 -0
  419. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +16 -0
  420. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +16 -0
  421. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +16 -0
  422. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +16 -0
  423. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +16 -0
  424. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +16 -0
  425. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +16 -0
  426. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +16 -0
  427. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +16 -0
  428. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +16 -0
  429. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +16 -0
  430. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +16 -0
  431. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +16 -0
  432. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +16 -0
  433. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +16 -0
  434. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +16 -0
  435. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +16 -0
  436. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +16 -0
  437. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +16 -0
  438. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +16 -0
  439. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +16 -0
  440. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +16 -0
  441. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +16 -0
  442. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +16 -0
  443. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +16 -0
  444. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +16 -0
  445. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +16 -0
  446. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +16 -0
  447. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +16 -0
  448. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +16 -0
  449. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +16 -0
  450. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +16 -0
  451. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +16 -0
  452. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +16 -0
  453. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +16 -0
  454. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +16 -0
  455. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +16 -0
  456. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +16 -0
  457. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +16 -0
  458. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +16 -0
  459. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +16 -0
  460. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +16 -0
  461. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +16 -0
  462. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +16 -0
  463. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +16 -0
  464. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +16 -0
  465. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +16 -0
  466. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +16 -0
  467. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +16 -0
  468. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +16 -0
  469. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +16 -0
  470. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +16 -0
  471. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +16 -0
  472. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +16 -0
  473. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +16 -0
  474. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +16 -0
  475. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-1.0.js +16 -0
  476. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +16 -0
  477. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js +16 -0
  478. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +16 -0
  479. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +16 -0
  480. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +16 -0
  481. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +16 -0
  482. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +16 -0
  483. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +16 -0
  484. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +16 -0
  485. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +16 -0
  486. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +16 -0
  487. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +16 -0
  488. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +16 -0
  489. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +16 -0
  490. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +16 -0
  491. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +16 -0
  492. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +16 -0
  493. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +16 -0
  494. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +16 -0
  495. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +16 -0
  496. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +16 -0
  497. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +16 -0
  498. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +16 -0
  499. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +16 -0
  500. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +16 -0
  501. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +16 -0
  502. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +16 -0
  503. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +16 -0
  504. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +16 -0
  505. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +16 -0
  506. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +16 -0
  507. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +16 -0
  508. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +16 -0
  509. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +16 -0
  510. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +16 -0
  511. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +16 -0
  512. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +16 -0
  513. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +16 -0
  514. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +16 -0
  515. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +16 -0
  516. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +16 -0
  517. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +16 -0
  518. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +16 -0
  519. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +16 -0
  520. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +16 -0
  521. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +16 -0
  522. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +16 -0
  523. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +16 -0
  524. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +16 -0
  525. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +16 -0
  526. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +16 -0
  527. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +16 -0
  528. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +16 -0
  529. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +16 -0
  530. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +16 -0
  531. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +16 -0
  532. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +16 -0
  533. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +16 -0
  534. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +16 -0
  535. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +16 -0
  536. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +16 -0
  537. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +16 -0
  538. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +16 -0
  539. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +16 -0
  540. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +16 -0
  541. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +16 -0
  542. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +16 -0
  543. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +16 -0
  544. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +16 -0
  545. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +16 -0
  546. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +16 -0
  547. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +16 -0
  548. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +16 -0
  549. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +16 -0
  550. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +16 -0
  551. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +16 -0
  552. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +16 -0
  553. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +16 -0
  554. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +16 -0
  555. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +16 -0
  556. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +16 -0
  557. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +16 -0
  558. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +16 -0
  559. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +16 -0
  560. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +16 -0
  561. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +16 -0
  562. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +16 -0
  563. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +16 -0
  564. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +16 -0
  565. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +16 -0
  566. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +16 -0
  567. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +16 -0
  568. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +16 -0
  569. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js +16 -0
  570. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +16 -0
  571. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/imageFonts.js +16 -0
  572. data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/jax.js +16 -0
  573. data/lib/softcover/template/html/MathJax/jax/output/NativeMML/config.js +16 -0
  574. data/lib/softcover/template/html/MathJax/jax/output/NativeMML/jax.js +16 -0
  575. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/annotation-xml.js +16 -0
  576. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/maction.js +16 -0
  577. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/menclose.js +16 -0
  578. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/mglyph.js +16 -0
  579. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/mmultiscripts.js +16 -0
  580. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/ms.js +16 -0
  581. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/mtable.js +16 -0
  582. data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/multiline.js +16 -0
  583. data/lib/softcover/template/html/MathJax/jax/output/SVG/config.js +16 -0
  584. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Arrows.js +16 -0
  585. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/BoxDrawing.js +16 -0
  586. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/CombDiacritMarks.js +16 -0
  587. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Dingbats.js +16 -0
  588. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +16 -0
  589. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/GeneralPunctuation.js +16 -0
  590. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/GeometricShapes.js +16 -0
  591. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/GreekAndCoptic.js +16 -0
  592. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Latin1Supplement.js +16 -0
  593. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/LatinExtendedA.js +16 -0
  594. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +16 -0
  595. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Main.js +16 -0
  596. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MathOperators.js +16 -0
  597. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +16 -0
  598. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscSymbols.js +16 -0
  599. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscTechnical.js +16 -0
  600. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/PUA.js +16 -0
  601. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SpacingModLetters.js +16 -0
  602. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SuppMathOperators.js +16 -0
  603. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Bold/Main.js +16 -0
  604. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Regular/Main.js +16 -0
  605. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/BasicLatin.js +16 -0
  606. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js +16 -0
  607. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Other.js +16 -0
  608. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/PUA.js +16 -0
  609. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/BasicLatin.js +16 -0
  610. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Main.js +16 -0
  611. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Other.js +16 -0
  612. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/PUA.js +16 -0
  613. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Arrows.js +16 -0
  614. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/BasicLatin.js +16 -0
  615. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/CombDiacritMarks.js +16 -0
  616. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/CombDiactForSymbols.js +16 -0
  617. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/GeneralPunctuation.js +16 -0
  618. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/GeometricShapes.js +16 -0
  619. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/GreekAndCoptic.js +16 -0
  620. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Latin1Supplement.js +16 -0
  621. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/LatinExtendedA.js +16 -0
  622. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/LatinExtendedB.js +16 -0
  623. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/LetterlikeSymbols.js +16 -0
  624. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Main.js +16 -0
  625. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MathOperators.js +16 -0
  626. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +16 -0
  627. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscSymbols.js +16 -0
  628. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscTechnical.js +16 -0
  629. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SpacingModLetters.js +16 -0
  630. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SuppMathOperators.js +16 -0
  631. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SupplementalArrowsA.js +16 -0
  632. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/BasicLatin.js +16 -0
  633. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/CombDiacritMarks.js +16 -0
  634. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GeneralPunctuation.js +16 -0
  635. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GreekAndCoptic.js +16 -0
  636. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedA.js +16 -0
  637. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedB.js +16 -0
  638. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LetterlikeSymbols.js +16 -0
  639. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/Main.js +16 -0
  640. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/MathOperators.js +16 -0
  641. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/BasicLatin.js +16 -0
  642. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/CombDiacritMarks.js +16 -0
  643. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/GeometricShapes.js +16 -0
  644. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/GreekAndCoptic.js +16 -0
  645. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/LatinExtendedA.js +16 -0
  646. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/LatinExtendedB.js +16 -0
  647. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/LetterlikeSymbols.js +16 -0
  648. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/Main.js +16 -0
  649. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MathOperators.js +16 -0
  650. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MiscSymbols.js +16 -0
  651. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SpacingModLetters.js +16 -0
  652. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SuppMathOperators.js +16 -0
  653. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Math/BoldItalic/Main.js +16 -0
  654. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Math/Italic/Main.js +16 -0
  655. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/BasicLatin.js +16 -0
  656. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +16 -0
  657. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Main.js +16 -0
  658. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Other.js +16 -0
  659. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/BasicLatin.js +16 -0
  660. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +16 -0
  661. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Main.js +16 -0
  662. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Other.js +16 -0
  663. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/BasicLatin.js +16 -0
  664. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +16 -0
  665. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Main.js +16 -0
  666. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Other.js +16 -0
  667. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/BasicLatin.js +16 -0
  668. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/Main.js +16 -0
  669. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size1/Regular/Main.js +16 -0
  670. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size2/Regular/Main.js +16 -0
  671. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size3/Regular/Main.js +16 -0
  672. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size4/Regular/Main.js +16 -0
  673. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/BasicLatin.js +16 -0
  674. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +16 -0
  675. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/Main.js +16 -0
  676. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/Other.js +16 -0
  677. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/fontdata-extra.js +16 -0
  678. data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/fontdata.js +16 -0
  679. data/lib/softcover/template/html/MathJax/jax/output/SVG/jax.js +16 -0
  680. data/lib/softcover/template/html/MathJax/localization/de/FontWarnings.js +16 -0
  681. data/lib/softcover/template/html/MathJax/localization/de/HTML-CSS.js +16 -0
  682. data/lib/softcover/template/html/MathJax/localization/de/HelpDialog.js +16 -0
  683. data/lib/softcover/template/html/MathJax/localization/de/MathML.js +16 -0
  684. data/lib/softcover/template/html/MathJax/localization/de/MathMenu.js +16 -0
  685. data/lib/softcover/template/html/MathJax/localization/de/TeX.js +16 -0
  686. data/lib/softcover/template/html/MathJax/localization/de/de.js +16 -0
  687. data/lib/softcover/template/html/MathJax/localization/en/FontWarnings.js +16 -0
  688. data/lib/softcover/template/html/MathJax/localization/en/HTML-CSS.js +16 -0
  689. data/lib/softcover/template/html/MathJax/localization/en/HelpDialog.js +16 -0
  690. data/lib/softcover/template/html/MathJax/localization/en/MathML.js +16 -0
  691. data/lib/softcover/template/html/MathJax/localization/en/MathMenu.js +16 -0
  692. data/lib/softcover/template/html/MathJax/localization/en/TeX.js +16 -0
  693. data/lib/softcover/template/html/MathJax/localization/en/en.js +16 -0
  694. data/lib/softcover/template/html/MathJax/localization/fr/FontWarnings.js +16 -0
  695. data/lib/softcover/template/html/MathJax/localization/fr/HTML-CSS.js +16 -0
  696. data/lib/softcover/template/html/MathJax/localization/fr/HelpDialog.js +16 -0
  697. data/lib/softcover/template/html/MathJax/localization/fr/MathML.js +16 -0
  698. data/lib/softcover/template/html/MathJax/localization/fr/MathMenu.js +16 -0
  699. data/lib/softcover/template/html/MathJax/localization/fr/TeX.js +16 -0
  700. data/lib/softcover/template/html/MathJax/localization/fr/fr.js +16 -0
  701. data/lib/softcover/template/html/jquery/1.10.2/jquery-1.10.2.js +9789 -0
  702. data/lib/softcover/template/html/jquery/1.10.2/jquery-1.10.2.min.map +1 -0
  703. data/lib/softcover/template/html/stylesheets/.gitkeep +0 -0
  704. data/lib/softcover/template/html/stylesheets/custom.css +15 -0
  705. data/lib/softcover/template/html/stylesheets/softcover.css +440 -0
  706. data/lib/softcover/template/images/.gitkeep +0 -0
  707. data/lib/softcover/template/images/2011_michael_hartl.png +0 -0
  708. data/lib/softcover/template/images/cover-web.png +0 -0
  709. data/lib/softcover/template/images/cover.jpg +0 -0
  710. data/lib/softcover/template/images/cover.pdf +1020 -15
  711. data/lib/softcover/template/images/cover.png +0 -0
  712. data/lib/softcover/template/images/figures/.gitkeep +0 -0
  713. data/lib/softcover/template/images/testimonial_1.png +0 -0
  714. data/lib/softcover/template/latex_styles/custom.sty +19 -0
  715. data/lib/softcover/template/latex_styles/custom_pdf.sty +9 -0
  716. data/lib/softcover/template/latex_styles/framed.sty +548 -0
  717. data/lib/softcover/template/latex_styles/language_customization.sty +11 -0
  718. data/lib/softcover/template/latex_styles/softcover.sty +167 -0
  719. data/lib/softcover/template/media/screencasts/.gitkeep +0 -0
  720. data/lib/softcover/uploader.rb +90 -0
  721. data/lib/softcover/utils.rb +284 -0
  722. data/lib/softcover/version.rb +3 -0
  723. data/lib/softcover.rb +68 -0
  724. data/softcover.gemspec +41 -0
  725. data/spec/app_spec.rb +91 -0
  726. data/spec/auth_spec.rb +44 -0
  727. data/spec/book_manifest_spec.rb +78 -0
  728. data/spec/book_spec.rb +40 -0
  729. data/spec/builder_spec.rb +10 -0
  730. data/spec/builders/epub_spec.rb +219 -0
  731. data/spec/builders/html_spec.rb +170 -0
  732. data/spec/builders/mobi_spec.rb +59 -0
  733. data/spec/builders/pdf_spec.rb +113 -0
  734. data/spec/builders/preview_spec.rb +30 -0
  735. data/spec/cli_spec.rb +183 -0
  736. data/spec/commands/build_spec.rb +59 -0
  737. data/spec/commands/check_spec.rb +55 -0
  738. data/spec/commands/deployment_spec.rb +21 -0
  739. data/spec/commands/generator_spec.rb +130 -0
  740. data/spec/commands/opener_spec.rb +17 -0
  741. data/spec/commands/publisher_spec.rb +140 -0
  742. data/spec/commands/server_spec.rb +21 -0
  743. data/spec/config_spec.rb +30 -0
  744. data/spec/fixtures/.gitkeep +0 -0
  745. data/spec/mathjax_spec.rb +61 -0
  746. data/spec/output_spec.rb +41 -0
  747. data/spec/sanitizer_spec.rb +37 -0
  748. data/spec/spec_helper.rb +54 -0
  749. data/spec/support/exist_matcher.rb +7 -0
  750. data/spec/utils_spec.rb +10 -0
  751. data/spec/webmock_helpers.rb +210 -0
  752. data/tasks/run_specs.rake +5 -0
  753. metadata +1133 -0
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/autobold.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/autobold"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.InputJax.TeX;a.prefilterHooks.Add(function(d){var c=d.script.parentNode.insertBefore(document.createElement("span"),d.script);c.visibility="hidden";c.style.fontFamily="Times, serif";c.appendChild(document.createTextNode("ABCXYZabcxyz"));var b=c.offsetWidth;c.style.fontWeight="bold";if(b&&c.offsetWidth===b){d.math="\\boldsymbol{"+d.math+"}"}c.parentNode.removeChild(c)});MathJax.Hub.Startup.signal.Post("TeX autobold Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/autobold.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/autoload-all.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/autoload-all"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var h={action:["mathtip","texttip","toggle"],AMSmath:["mathring","nobreakspace","negmedspace","negthickspace","intI","iiiint","idotsint","dddot","ddddot","sideset","boxed","substack","injlim","projlim","varliminf","varlimsup","varinjlim","varprojlim","DeclareMathOperator","operatorname","genfrac","tfrac","dfrac","binom","tbinom","dbinom","cfrac","shoveleft","shoveright","xrightarrow","xleftarrow"],begingroup:["begingroup","endgroup","gdef","global"],cancel:["cancel","bcancel","xcancel","cancelto"],color:["color","textcolor","colorbox","fcolorbox","DefineColor"],enclose:["enclose"],extpfeil:["Newextarrow","xlongequal","xmapsto","xtofrom","xtwoheadleftarrow","xtwoheadrightarrow"],mhchem:["ce","cee","cf"]};var c={AMSmath:["subarray","smallmatrix","equation","equation*"],AMScd:["CD"]};var d,g,b,a={macros:{},environment:{}};for(d in h){if(h.hasOwnProperty(d)){if(!MathJax.Extension["TeX/"+d]){var f=h[d];for(g=0,b=f.length;g<b;g++){a.macros[f[g]]=["Extension",d]}}}}for(d in c){if(c.hasOwnProperty(d)){if(!MathJax.Extension["TeX/"+d]){var e=c[d];for(g=0,b=e.length;g<b;g++){a.environment[e[g]]=["ExtensionEnv",null,d]}}}}MathJax.InputJax.TeX.Definitions.Add(a);MathJax.Hub.Startup.signal.Post("TeX autoload-all Ready")});MathJax.Callback.Queue(["Require",MathJax.Ajax,"[MathJax]/extensions/TeX/AMSsymbols.js"],["loadComplete",MathJax.Ajax,"[MathJax]/extensions/TeX/autoload-all.js"]);
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/bbox.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/bbox"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.InputJax.TeX,a=MathJax.ElementJax.mml;b.Definitions.Add({macros:{bbox:"BBox"}},null,true);b.Parse.Augment({BBox:function(e){var n=this.GetBrackets(e,""),m=this.ParseArg(e);var j=n.split(/,/),g,d,c;for(var k in j){var f=j[k].replace(/^\s+/,"").replace(/\s+$/,"");var l=f.match(/^(\.\d+|\d+(\.\d*)?)(pt|em|ex|mu|px|in|cm|mm)$/);if(l){if(g){b.Error(["MultipleBBoxProperty","%1 specified twice in %2","Padding",e])}var h=l[1]+l[3];g={height:"+"+h,depth:"+"+h,lspace:h,width:"+"+(2*l[1])+l[3]}}else{if(f.match(/^([a-z0-9]+|\#[0-9a-f]{6}|\#[0-9a-f]{3})$/i)){if(d){b.Error(["MultipleBBoxProperty","%1 specified twice in %2","Background",e])}d=f}else{if(f.match(/^[-a-z]+:/i)){if(c){b.Error(["MultipleBBoxProperty","%1 specified twice in %2","Style",e])}c=this.BBoxStyle(f)}else{if(f!==""){b.Error(["InvalidBBoxProperty","'%1' doesn't look like a color, a padding dimension, or a style",f])}}}}}if(g){m=a.mpadded(m).With(g)}if(d||c){m=a.mstyle(m).With({mathbackground:d,style:c})}this.Push(m)},BBoxStyle:function(c){return c}});MathJax.Hub.Startup.signal.Post("TeX bbox Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/bbox.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/begingroup.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/begingroup"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var d=MathJax.InputJax.TeX,b=d.Definitions;var a=MathJax.Object.Subclass({macros:null,environments:null,Init:function(e,f){this.macros=(e||{});this.environments=(f||{})},Find:function(e,f){if(this[f][e]){return this[f][e]}},Def:function(e,g,f){this[f][e]=g},Undef:function(e,f){delete this[f][e]},Merge:function(e){MathJax.Hub.Insert(this.macros,e.macros);MathJax.Hub.Insert(this.environments,e.environments)},MergeGlobals:function(e){var f=this.macros;for(var g in f){if(f.hasOwnProperty(g)&&f[g].global){e.Def(g,f[g],"macros",true);delete f[g].global;delete f[g]}}},Clear:function(g){this.environments={};if(g){this.macros={}}else{var e=this.macros;for(var f in e){if(e.hasOwnProperty(f)&&!e[f].global){delete e[f]}}}return this}});var c=d.nsStack=MathJax.Object.Subclass({stack:null,top:0,isEqn:false,Init:function(e){this.isEqn=e;this.stack=[];if(!e){this.Push(a(b.macros,b.environment))}else{this.Push(a())}},Def:function(e,h,f,g){var i=this.top-1;if(g){while(i>0){this.stack[i].Undef(e,f);i--}if(!(h instanceof Array)){h=[h]}if(this.isEqn){h.global=true}}this.stack[i].Def(e,h,f)},Push:function(e){this.stack.push(e);this.top=this.stack.length},Pop:function(){var e;if(this.top>1){e=this.stack[--this.top];if(this.isEqn){this.stack.pop()}}else{if(this.isEqn){this.Clear()}}return e},Find:function(e,g){for(var f=this.top-1;f>=0;f--){var h=this.stack[f].Find(e,g);if(h){return h}}return null},Merge:function(e){e.stack[0].MergeGlobals(this);this.stack[this.top-1].Merge(e.stack[0]);var f=[this.top,this.stack.length-this.top].concat(e.stack.slice(1));this.stack.splice.apply(this.stack,f);this.top=this.stack.length},Reset:function(){this.top=this.stack.length},Clear:function(e){this.stack=[this.stack[0].Clear()];this.top=this.stack.length}},{nsFrame:a});b.Add({macros:{begingroup:"BeginGroup",endgroup:"EndGroup",global:["Extension","newcommand"],gdef:["Extension","newcommand"]}},null,true);d.Parse.Augment({BeginGroup:function(e){d.eqnStack.Push(a())},EndGroup:function(e){if(d.eqnStack.top>1){d.eqnStack.Pop()}else{if(d.rootStack.top===1){d.Error(["ExtraEndMissingBegin","Extra %1 or missing \\begingroup",e])}else{d.eqnStack.Clear();d.rootStack.Pop()}}},csFindMacro:function(e){return(d.eqnStack.Find(e,"macros")||d.rootStack.Find(e,"macros"))},envFindName:function(e){return(d.eqnStack.Find(e,"environments")||d.rootStack.Find(e,"environments"))}});d.rootStack=c();d.eqnStack=c(true);d.prefilterHooks.Add(function(){d.rootStack.Reset();d.eqnStack.Clear(true)});d.postfilterHooks.Add(function(){d.rootStack.Merge(d.eqnStack)});MathJax.Hub.Register.StartupHook("TeX newcommand Ready",function(){b.Add({macros:{global:"Global",gdef:["Macro","\\global\\def"]}},null,true);d.Parse.Augment({setDef:function(e,f){f.isUser=true;d.eqnStack.Def(e,f,"macros",this.stack.env.isGlobal);delete this.stack.env.isGlobal},setEnv:function(e,f){f.isUser=true;d.eqnStack.Def(e,f,"environments")},Global:function(e){var f=this.i;var g=this.GetCSname(e);this.i=f;if(g!=="let"&&g!=="def"&&g!=="newcommand"){d.Error(["GlobalNotFollowedBy","%1 not followed by \\let, \\def, or \\newcommand",e])}this.stack.env.isGlobal=true}})});MathJax.Hub.Startup.signal.Post("TeX begingroup Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/begingroup.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/boldsymbol.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/boldsymbol"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.ElementJax.mml;var d=MathJax.InputJax.TeX;var b=d.Definitions;var c={};c[a.VARIANT.NORMAL]=a.VARIANT.BOLD;c[a.VARIANT.ITALIC]=a.VARIANT.BOLDITALIC;c[a.VARIANT.FRAKTUR]=a.VARIANT.BOLDFRAKTUR;c[a.VARIANT.SCRIPT]=a.VARIANT.BOLDSCRIPT;c[a.VARIANT.SANSSERIF]=a.VARIANT.BOLDSANSSERIF;c["-tex-caligraphic"]="-tex-caligraphic-bold";c["-tex-oldstyle"]="-tex-oldstyle-bold";b.Add({macros:{boldsymbol:"Boldsymbol"}},null,true);d.Parse.Augment({mmlToken:function(f){if(this.stack.env.boldsymbol){var e=f.Get("mathvariant");if(e==null){f.mathvariant=a.VARIANT.BOLD}else{f.mathvariant=(c[e]||e)}}return f},Boldsymbol:function(h){var e=this.stack.env.boldsymbol,f=this.stack.env.font;this.stack.env.boldsymbol=true;this.stack.env.font=null;var g=this.ParseArg(h);this.stack.env.font=f;this.stack.env.boldsymbol=e;this.Push(g)}});MathJax.Hub.Startup.signal.Post("TeX boldsymbol Ready")});MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var a=MathJax.OutputJax["HTML-CSS"];var c=a.FONTDATA.FONTS;var b=a.FONTDATA.VARIANT;if(a.fontInUse==="TeX"){c["MathJax_Caligraphic-bold"]="Caligraphic/Bold/Main.js";b["-tex-caligraphic-bold"]={fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"],offsetA:65,variantA:"bold-italic"};b["-tex-oldstyle-bold"]={fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"]};if(a.msieCheckGreek&&a.Font.testFont({family:"MathJax_Greek",weight:"bold",style:"italic",testString:a.msieCheckGreek})){b["bold-italic"].offsetG=913;b["bold-italic"].variantG="-Greek-Bold-Italic";b["-Greek-Bold-Italic"]={fonts:["MathJax_Greek-bold-italic"]};c["MathJax_Greek-bold-italic"]="Greek/BoldItalic/Main.js"}if(MathJax.Hub.Browser.isChrome&&!MathJax.Hub.Browser.versionAtLeast("5.0")){b["-tex-caligraphic-bold"].remap={84:[58096,"-WinChrome"]}}}else{if(a.fontInUse==="STIX"){b["-tex-caligraphic-bold"]={fonts:["STIXGeneral-bold-italic","STIXNonUnicode-bold-italic","STIXNonUnicode","STIXGeneral","STIXSizeOneSym"],offsetA:57927,noLowerCase:1};b["-tex-oldstyle-bold"]={fonts:["STIXGeneral-bold","STIXNonUnicode-bold","STIXGeneral","STIXSizeOneSym"],offsetN:57955,remap:{57956:57959,57957:57963,57958:57967,57959:57971,57960:57975,57961:57979,57962:57983,57963:57987,57964:57991}}}}});MathJax.Hub.Register.StartupHook("SVG Jax Ready",function(){var c=MathJax.OutputJax.SVG;var b=c.FONTDATA.FONTS;var a=c.FONTDATA.VARIANT;b["MathJax_Caligraphic-bold"]="Caligraphic/Bold/Main.js";a["-tex-caligraphic-bold"]={fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"],offsetA:65,variantA:"bold-italic"};a["-tex-oldstyle-bold"]={fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"]}});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/boldsymbol.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/cancel.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/cancel"]={version:"2.2",ALLOWED:{arrow:1,color:1,mathcolor:1,background:1,mathbackground:1,padding:1,thickness:1}};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var c=MathJax.InputJax.TeX,a=MathJax.ElementJax.mml,b=MathJax.Extension["TeX/cancel"];b.setAttributes=function(h,e){if(e!==""){e=e.replace(/ /g,"").split(/,/);for(var g=0,d=e.length;g<d;g++){var f=e[g].split(/[:=]/);if(b.ALLOWED[f[0]]){if(f[1]==="true"){f[1]=true}if(f[1]==="false"){f[1]=false}h[f[0]]=f[1]}}}return h};c.Definitions.Add({macros:{cancel:["Cancel",a.NOTATION.UPDIAGONALSTRIKE],bcancel:["Cancel",a.NOTATION.DOWNDIAGONALSTRIKE],xcancel:["Cancel",a.NOTATION.UPDIAGONALSTRIKE+" "+a.NOTATION.DOWNDIAGONALSTRIKE],cancelto:"CancelTo"}},null,true);c.Parse.Augment({Cancel:function(e,g){var d=this.GetBrackets(e,""),f=this.ParseArg(e);var h=b.setAttributes({notation:g},d);this.Push(a.menclose(f).With(h))},CancelTo:function(e,g){var i=this.ParseArg(e),d=this.GetBrackets(e,""),f=this.ParseArg(e);var h=b.setAttributes({notation:a.NOTATION.UPDIAGONALSTRIKE,arrow:true},d);i=a.mpadded(i).With({depth:"-.1em",height:"+.1em",voffset:".1em"});this.Push(a.msup(a.menclose(f).With(h),i))}});MathJax.Hub.Startup.signal.Post("TeX cancel Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/cancel.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/color.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/color"]={version:"2.2",config:MathJax.Hub.CombineConfig("TeX.color",{padding:"5px",border:"2px"}),colors:{Apricot:"#FBB982",Aquamarine:"#00B5BE",Bittersweet:"#C04F17",Black:"#221E1F",Blue:"#2D2F92",BlueGreen:"#00B3B8",BlueViolet:"#473992",BrickRed:"#B6321C",Brown:"#792500",BurntOrange:"#F7921D",CadetBlue:"#74729A",CarnationPink:"#F282B4",Cerulean:"#00A2E3",CornflowerBlue:"#41B0E4",Cyan:"#00AEEF",Dandelion:"#FDBC42",DarkOrchid:"#A4538A",Emerald:"#00A99D",ForestGreen:"#009B55",Fuchsia:"#8C368C",Goldenrod:"#FFDF42",Gray:"#949698",Green:"#00A64F",GreenYellow:"#DFE674",JungleGreen:"#00A99A",Lavender:"#F49EC4",LimeGreen:"#8DC73E",Magenta:"#EC008C",Mahogany:"#A9341F",Maroon:"#AF3235",Melon:"#F89E7B",MidnightBlue:"#006795",Mulberry:"#A93C93",NavyBlue:"#006EB8",OliveGreen:"#3C8031",Orange:"#F58137",OrangeRed:"#ED135A",Orchid:"#AF72B0",Peach:"#F7965A",Periwinkle:"#7977B8",PineGreen:"#008B72",Plum:"#92268F",ProcessBlue:"#00B0F0",Purple:"#99479B",RawSienna:"#974006",Red:"#ED1B23",RedOrange:"#F26035",RedViolet:"#A1246B",Rhodamine:"#EF559F",RoyalBlue:"#0071BC",RoyalPurple:"#613F99",RubineRed:"#ED017D",Salmon:"#F69289",SeaGreen:"#3FBC9D",Sepia:"#671800",SkyBlue:"#46C5DD",SpringGreen:"#C6DC67",Tan:"#DA9D76",TealBlue:"#00AEB3",Thistle:"#D883B7",Turquoise:"#00B4CE",Violet:"#58429B",VioletRed:"#EF58A0",White:"#FFFFFF",WildStrawberry:"#EE2967",Yellow:"#FFF200",YellowGreen:"#98CC70",YellowOrange:"#FAA21A"},getColor:function(a,c){if(!a){a="named"}var b=this["get_"+a];if(!b){this.TEX.Error(["UndefinedColorModel","Color model '%1' not defined",a])}return b.call(this,c)},get_rgb:function(b){b=b.replace(/^\s+/,"").replace(/\s+$/,"").split(/\s*,\s*/);var a="#";if(b.length!==3){this.TEX.Error(["ModelArg1","Color values for the %1 model require 3 numbers","rgb"])}for(var c=0;c<3;c++){if(!b[c].match(/^(\d+(\.\d*)?|\.\d+)$/)){this.TEX.Error(["InvalidDecimalNumber","Invalid decimal number"])}var d=parseFloat(b[c]);if(d<0||d>1){this.TEX.Error(["ModelArg2","Color values for the %1 model must be between %2 and %3","rgb",0,1])}d=Math.floor(d*255).toString(16);if(d.length<2){d="0"+d}a+=d}return a},get_RGB:function(b){b=b.replace(/^\s+/,"").replace(/\s+$/,"").split(/\s*,\s*/);var a="#";if(b.length!==3){this.TEX.Error(["ModelArg1","Color values for the %1 model require 3 numbers","RGB"])}for(var c=0;c<3;c++){if(!b[c].match(/^\d+$/)){this.TEX.Error(["InvalidNumber","Invalid number"])}var d=parseInt(b[c]);if(d>255){this.TEX.Error(["ModelArg2","Color values for the %1 model must be between %2 and %3","RGB",0,255])}d=d.toString(16);if(d.length<2){d="0"+d}a+=d}return a},get_gray:function(a){if(!a.match(/^\s*(\d+(\.\d*)?|\.\d+)\s*$/)){this.TEX.Error(["InvalidDecimalNumber","Invalid decimal number"])}var b=parseFloat(a);if(b<0||b>1){this.TEX.Error(["ModelArg2","Color values for the %1 model must be between %2 and %3","gray",0,1])}b=Math.floor(b*255).toString(16);if(b.length<2){b="0"+b}return"#"+b+b+b},get_named:function(a){if(this.colors[a]){return this.colors[a]}return a},padding:function(){var c="+"+this.config.padding;var a=this.config.padding.replace(/^.*?([a-z]*)$/,"$1");var b="+"+(2*parseFloat(c))+a;return{width:b,height:c,depth:c,lspace:this.config.padding}}};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var d=MathJax.InputJax.TeX,a=MathJax.ElementJax.mml;var c=d.Stack.Item;var b=MathJax.Extension["TeX/color"];b.TEX=d;d.Definitions.Add({macros:{color:"Color",textcolor:"TextColor",definecolor:"DefineColor",colorbox:"ColorBox",fcolorbox:"fColorBox"}},null,true);d.Parse.Augment({Color:function(h){var g=this.GetBrackets(h),e=this.GetArgument(h);e=b.getColor(g,e);var f=c.style().With({styles:{mathcolor:e}});this.stack.env.color=e;this.Push(f)},TextColor:function(h){var g=this.GetBrackets(h),f=this.GetArgument(h);f=b.getColor(g,f);var e=this.stack.env.color;this.stack.env.color=f;var i=this.ParseArg(h);if(e){this.stack.env.color}else{delete this.stack.env.color}this.Push(a.mstyle(i).With({mathcolor:f}))},DefineColor:function(g){var f=this.GetArgument(g),e=this.GetArgument(g),h=this.GetArgument(g);b.colors[f]=b.getColor(e,h)},ColorBox:function(g){var f=this.GetArgument(g),e=this.InternalMath(this.GetArgument(g));this.Push(a.mpadded.apply(a,e).With({mathbackground:b.getColor("named",f)}).With(b.padding()))},fColorBox:function(g){var h=this.GetArgument(g),f=this.GetArgument(g),e=this.InternalMath(this.GetArgument(g));this.Push(a.mpadded.apply(a,e).With({mathbackground:b.getColor("named",f),style:"border: "+b.config.border+" solid "+b.getColor("named",h)}).With(b.padding()))}});MathJax.Hub.Startup.signal.Post("TeX color Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/color.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/enclose.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/enclose"]={version:"2.2",ALLOWED:{arrow:1,color:1,mathcolor:1,background:1,mathbackground:1,padding:1,thickness:1}};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var c=MathJax.InputJax.TeX,a=MathJax.ElementJax.mml,b=MathJax.Extension["TeX/enclose"].ALLOWED;c.Definitions.Add({macros:{enclose:"Enclose"}},null,true);c.Parse.Augment({Enclose:function(g){var k=this.GetArgument(g),e=this.GetBrackets(g),j=this.ParseArg(g);var l={notation:k.replace(/,/g," ")};if(e){e=e.replace(/ /g,"").split(/,/);for(var h=0,d=e.length;h<d;h++){var f=e[h].split(/[:=]/);if(b[f[0]]){f[1]=f[1].replace(/^"(.*)"$/,"$1");if(f[1]==="true"){f[1]=true}if(f[1]==="false"){f[1]=false}l[f[0]]=f[1]}}}this.Push(a.menclose(j).With(l))}});MathJax.Hub.Startup.signal.Post("TeX enclose Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/enclose.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/extpfeil.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/extpfeil"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.InputJax.TeX,a=b.Definitions;a.Add({macros:{xtwoheadrightarrow:["Extension","AMSmath"],xtwoheadleftarrow:["Extension","AMSmath"],xmapsto:["Extension","AMSmath"],xlongequal:["Extension","AMSmath"],xtofrom:["Extension","AMSmath"],Newextarrow:["Extension","AMSmath"]}},null,true);MathJax.Hub.Register.StartupHook("TeX AMSmath Ready",function(){MathJax.Hub.Insert(a,{macros:{xtwoheadrightarrow:["xArrow",8608,12,16],xtwoheadleftarrow:["xArrow",8606,17,13],xmapsto:["xArrow",8614,6,7],xlongequal:["xArrow",61,7,7],xtofrom:["xArrow",8644,12,12],Newextarrow:"NewExtArrow"}})});b.Parse.Augment({NewExtArrow:function(c){var e=this.GetArgument(c),f=this.GetArgument(c),d=this.GetArgument(c);if(!e.match(/^\\([a-z]+|.)$/i)){b.Error(["NewextarrowArg1","First argument to %1 must be a control sequence name",c])}if(!f.match(/^(\d+),(\d+)$/)){b.Error(["NewextarrowArg2","Second argument to %1 must be two integers separated by a comma",c])}if(!d.match(/^(\d+|0x[0-9A-F]+)$/i)){b.Error(["NewextarrowArg3","Third argument to %1 must be a unicode character number",c])}e=e.substr(1);f=f.split(",");d=parseInt(d);a.macros[e]=["xArrow",d,parseInt(f[0]),parseInt(f[1])]}});MathJax.Hub.Startup.signal.Post("TeX extpfeil Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/extpfeil.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/mathchoice.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var c="2.2";var a=MathJax.ElementJax.mml;var d=MathJax.InputJax.TeX;var b=d.Definitions;b.Add({macros:{mathchoice:"MathChoice"}},null,true);d.Parse.Augment({MathChoice:function(f){var i=this.ParseArg(f),e=this.ParseArg(f),g=this.ParseArg(f),h=this.ParseArg(f);this.Push(a.TeXmathchoice(i,e,g,h))}});a.TeXmathchoice=a.mbase.Subclass({type:"TeXmathchoice",notParent:true,choice:function(){if(this.selection==null){this.selection=0;var e=this.getValues("displaystyle","scriptlevel");if(e.scriptlevel>0){this.selection=Math.min(3,e.scriptlevel+1)}else{this.selection=(e.displaystyle?0:1)}}return this.selection},selected:function(){return this.data[this.choice()]},setTeXclass:function(e){return this.selected().setTeXclass(e)},isSpacelike:function(){return this.selected().isSpacelike()},isEmbellished:function(){return this.selected().isEmbellished()},Core:function(){return this.selected()},CoreMO:function(){return this.selected().CoreMO()},toHTML:function(e){e=this.HTMLcreateSpan(e);e.bbox=this.Core().toHTML(e).bbox;if(e.firstChild&&e.firstChild.style.marginLeft){e.style.marginLeft=e.firstChild.style.marginLeft;e.firstChild.style.marginLeft=""}return e},toSVG:function(){return this.Core().toSVG()}});MathJax.Hub.Startup.signal.Post("TeX mathchoice Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/mathchoice.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/mhchem.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/mhchem"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.InputJax.TeX;var a=MathJax.Object.Subclass({string:"",i:0,tex:"",atom:false,sup:"",sub:"",Init:function(c){this.string=c},ParseTable:{"-":"Minus","+":"Plus","(":"Open",")":"Close","[":"Open","]":"Close","<":"Less","^":"Superscript",_:"Subscript","*":"Dot",".":"Dot","=":"Equal","#":"Pound","$":"Math","\\":"Macro"," ":"Space"},Arrows:{"->":"rightarrow","<-":"leftarrow","<->":"leftrightarrow","<=>":"rightleftharpoons","<=>>":"Rightleftharpoons","<<=>":"Leftrightharpoons","^":"uparrow",v:"downarrow"},Bonds:{"-":"-","=":"=","#":"\\equiv","~":"\\tripledash","~-":"\\begin{CEstack}{}\\tripledash\\\\-\\end{CEstack}","~=":"\\raise2mu{\\begin{CEstack}{}\\tripledash\\\\-\\\\-\\end{CEstack}}","~--":"\\raise2mu{\\begin{CEstack}{}\\tripledash\\\\-\\\\-\\end{CEstack}}","-~-":"\\raise2mu{\\begin{CEstack}{}-\\\\\\tripledash\\\\-\\end{CEstack}}","...":"{\\cdot}{\\cdot}{\\cdot}","....":"{\\cdot}{\\cdot}{\\cdot}{\\cdot}","->":"\\rightarrow","<-":"\\leftarrow","??":"\\text{??}"},Parse:function(){this.tex="";this.atom=false;while(this.i<this.string.length){var d=this.string.charAt(this.i);if(d.match(/[a-z]/i)){this.ParseLetter()}else{if(d.match(/[0-9]/)){this.ParseNumber()}else{this["Parse"+(this.ParseTable[d]||"Other")](d)}}}this.FinishAtom();return this.tex},ParseLetter:function(){this.FinishAtom();if(this.Match(/^v( |$)/)){this.tex+="{\\"+this.Arrows.v+"}"}else{this.tex+="\\text{"+this.Match(/^[a-z]+/i)+"}";this.atom=true}},ParseNumber:function(){var e=this.Match(/^\d+/);if(this.atom&&!this.sub){this.sub=e}else{this.FinishAtom();var d=this.Match(/^\/\d+/);if(d){var c="\\frac{"+e+"}{"+d.substr(1)+"}";this.tex+="\\mathchoice{\\textstyle"+c+"}{"+c+"}{"+c+"}{"+c+"}"}else{this.tex+=e;if(this.i<this.string.length){this.tex+="\\,"}}}},ParseMinus:function(d){if(this.atom&&(this.i===this.string.length-1||this.string.charAt(this.i+1)===" ")){this.sup+=d}else{this.FinishAtom();if(this.string.substr(this.i,2)==="->"){this.i+=2;this.AddArrow("->");return}else{this.tex+="{-}"}}this.i++},ParsePlus:function(d){if(this.atom){this.sup+=d}else{this.FinishAtom();this.tex+=d}this.i++},ParseDot:function(d){this.FinishAtom();this.tex+="\\cdot ";this.i++},ParseEqual:function(d){this.FinishAtom();this.tex+="{=}";this.i++},ParsePound:function(d){this.FinishAtom();this.tex+="{\\equiv}";this.i++},ParseOpen:function(e){this.FinishAtom();var d=this.Match(/^\([v^]\)/);if(d){this.tex+="{\\"+this.Arrows[d.charAt(1)]+"}"}else{this.tex+="{"+e;this.i++}},ParseClose:function(d){this.FinishAtom();this.atom=true;this.tex+=d+"}";this.i++},ParseLess:function(e){this.FinishAtom();var d=this.Match(/^(<->?|<=>>?|<<=>)/);if(!d){this.tex+=e;this.i++}else{this.AddArrow(d)}},ParseSuperscript:function(f){f=this.string.charAt(++this.i);if(f==="{"){this.i++;var d=this.Find("}");if(d==="-."){this.sup+="{-}{\\cdot}"}else{if(d){this.sup+=a(d).Parse().replace(/^\{-\}/,"-")}}}else{if(f===" "||f===""){this.tex+="{\\"+this.Arrows["^"]+"}";this.i++}else{var e=this.Match(/^(\d+|-\.)/);if(e){this.sup+=e}}}},ParseSubscript:function(e){if(this.string.charAt(++this.i)=="{"){this.i++;this.sub+=a(this.Find("}")).Parse().replace(/^\{-\}/,"-")}else{var d=this.Match(/^\d+/);if(d){this.sub+=d}}},ParseMath:function(d){this.FinishAtom();this.i++;this.tex+=this.Find(d)},ParseMacro:function(f){this.FinishAtom();this.i++;var d=this.Match(/^([a-z]+|.)/i)||" ";if(d==="sbond"){this.tex+="{-}"}else{if(d==="dbond"){this.tex+="{=}"}else{if(d==="tbond"){this.tex+="{\\equiv}"}else{if(d==="bond"){var e=(this.Match(/^\{.*?\}/)||"");e=e.substr(1,e.length-2);this.tex+="{"+(this.Bonds[e]||"\\text{??}")+"}"}else{if(d==="{"){this.tex+="{\\{"}else{if(d==="}"){this.tex+="\\}}";this.atom=true}else{this.tex+=f+d}}}}}}},ParseSpace:function(d){this.FinishAtom();this.i++},ParseOther:function(d){this.FinishAtom();this.tex+=d;this.i++},AddArrow:function(e){var g=this.Match(/^[CT]\[/);if(g){this.i--;g=g.charAt(0)}var d=this.GetBracket(g),f=this.GetBracket(g);e=this.Arrows[e];if(d||f){if(f){e+="["+f+"]"}e+="{"+d+"}";e="\\mathrel{\\x"+e+"}"}else{e="\\long"+e+" "}this.tex+=e},FinishAtom:function(){if(this.sup||this.sub){if(this.sup&&this.sub&&!this.atom){var c=this.sup,d=this.sub;if(!c.match(/\d/)){c+="\\vphantom{0}"}if(!d.match(/\d/)){d+="\\vphantom{0}"}this.tex+="\\raise 1pt{\\scriptstyle\\begin{CEscriptstack}"+c+"\\\\"+d+"\\end{CEscriptstack}}\\kern-.125em "}else{if(!this.sup){this.sup="\\Space{0pt}{0pt}{.2em}"}this.tex+="^{"+this.sup+"}_{"+this.sub+"}"}this.sup=this.sub=""}this.atom=false},GetBracket:function(e){if(this.string.charAt(this.i)!=="["){return""}this.i++;var d=this.Find("]");if(e==="C"){d="\\ce{"+d+"}"}else{if(e==="T"){if(!d.match(/^\{.*\}$/)){d="{"+d+"}"}d="\\text"+d}}return d},Match:function(d){var c=d.exec(this.string.substr(this.i));if(c){c=c[0];this.i+=c.length}return c},Find:function(h){var d=this.string.length,e=this.i,g=0;while(this.i<d){var f=this.string.charAt(this.i++);if(f===h&&g===0){return this.string.substr(e,this.i-e-1)}if(f==="{"){g++}else{if(f==="}"){if(g){g--}else{b.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"])}}}}if(g){b.Error(["MissingCloseBrace","Missing close brace"])}b.Error(["NoClosingChar","Can't find closing %1",h])}});MathJax.Extension["TeX/mhchem"].CE=a;b.Definitions.Add({macros:{ce:"CE",cf:"CE",cee:"CE",xleftrightarrow:["Extension","AMSmath"],xrightleftharpoons:["Extension","AMSmath"],xRightleftharpoons:["Extension","AMSmath"],xLeftrightharpoons:["Extension","AMSmath"],longrightleftharpoons:["Macro","\\stackrel{\\textstyle{{-}\\!\\!{\\rightharpoonup}}}{\\smash{{\\leftharpoondown}\\!\\!{-}}}"],longRightleftharpoons:["Macro","\\stackrel{\\textstyle{-}\\!\\!{\\rightharpoonup}}{\\small\\smash\\leftharpoondown}"],longLeftrightharpoons:["Macro","\\stackrel{\\rightharpoonup}{{{\\leftharpoondown}\\!\\!\\textstyle{-}}}"],hyphen:["Macro","\\text{-}"],tripledash:["Macro","\\raise3mu{\\tiny\\text{-}\\kern2mu\\text{-}\\kern2mu\\text{-}}"]},environment:{CEstack:["Array",null,null,null,"r",null,"0.001em","T",1],CEscriptstack:["Array",null,null,null,"r",null,"0.2em","S",1]}},null,true);if(!MathJax.Extension["TeX/AMSmath"]){b.Definitions.Add({macros:{xrightarrow:["Extension","AMSmath"],xleftarrow:["Extension","AMSmath"]}},null,true)}MathJax.Hub.Register.StartupHook("TeX AMSmath Ready",function(){b.Definitions.Add({macros:{xleftrightarrow:["xArrow",8596,6,6],xrightleftharpoons:["xArrow",8652,5,7],xRightleftharpoons:["xArrow",8652,5,7],xLeftrightharpoons:["xArrow",8652,5,7]}},null,true)});b.Parse.Augment({CE:function(e){var c=this.GetArgument(e);var d=a(c).Parse();this.string=d+this.string.substr(this.i);this.i=0}});MathJax.Hub.Startup.signal.Post("TeX mhchem Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/mhchem.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/newcommand.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/newcommand"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.InputJax.TeX;var a=b.Definitions;a.Add({macros:{newcommand:"NewCommand",renewcommand:"NewCommand",newenvironment:"NewEnvironment",renewenvironment:"NewEnvironment",def:"MacroDef",let:"Let"}},null,true);b.Parse.Augment({NewCommand:function(c){var e=this.trimSpaces(this.GetArgument(c)),g=this.GetBrackets(c),d=this.GetBrackets(c),f=this.GetArgument(c);if(e.charAt(0)==="\\"){e=e.substr(1)}if(!e.match(/^(.|[a-z]+)$/i)){b.Error(["IllegalControlSequenceName","Illegal control sequence name for %1",c])}if(g){g=this.trimSpaces(g);if(!g.match(/^[0-9]+$/)){b.Error(["IllegalParamNumber","Illegal number of parameters specified in %1",c])}}this.setDef(e,["Macro",f,g,d])},NewEnvironment:function(d){var e=this.trimSpaces(this.GetArgument(d)),g=this.GetBrackets(d),f=this.GetArgument(d),c=this.GetArgument(d);if(g){g=this.trimSpaces(g);if(!g.match(/^[0-9]+$/)){b.Error(["IllegalParamNumber","Illegal number of parameters specified in %1",d])}}this.setEnv(e,["BeginEnv","EndEnv",f,c,g])},MacroDef:function(c){var d=this.GetCSname(c),f=this.GetTemplate(c,"\\"+d),e=this.GetArgument(c);if(!(f instanceof Array)){this.setDef(d,["Macro",e,f])}else{this.setDef(d,["MacroWithTemplate",e].concat(f))}},Let:function(d){var e=this.GetCSname(d),f;var g=this.GetNext();if(g==="="){this.i++;g=this.GetNext()}if(g==="\\"){d=this.GetCSname(d);f=this.csFindMacro(d);if(!f){if(a.mathchar0mi[d]){f=["csMathchar0mi",a.mathchar0mi[d]]}else{if(a.mathchar0mo[d]){f=["csMathchar0mo",a.mathchar0mo[d]]}else{if(a.mathchar7[d]){f=["csMathchar7",a.mathchar7[d]]}else{if(a.delimiter["\\"+d]!=null){f=["csDelimiter",a.delimiter["\\"+d]]}}}}}}else{f=["Macro",g];this.i++}this.setDef(e,f)},setDef:function(c,d){d.isUser=true;a.macros[c]=d},setEnv:function(c,d){d.isUser=true;a.environment[c]=d},GetCSname:function(e){var f=this.GetNext();if(f!=="\\"){b.Error(["DoubleBackSlash","\\ must be followed by a control sequence"])}var d=this.trimSpaces(this.GetArgument(e));return d.substr(1)},GetTemplate:function(f,e){var j,g=[],h=0;j=this.GetNext();var d=this.i;while(this.i<this.string.length){j=this.GetNext();if(j==="#"){if(d!==this.i){g[h]=this.string.substr(d,this.i-d)}j=this.string.charAt(++this.i);if(!j.match(/^[1-9]$/)){b.Error(["CantUseHash2","Illegal use of # in template for %1",e])}if(parseInt(j)!=++h){b.Error(["SequentialParam","Parameters for %1 must be numbered sequentially",e])}d=this.i+1}else{if(j==="{"){if(d!==this.i){g[h]=this.string.substr(d,this.i-d)}if(g.length>0){return[h,g]}else{return h}}}this.i++}b.Error(["MissingReplacementString","Missing replacement string for definition of %1",f])},MacroWithTemplate:function(d,g,h,f){if(h){var c=[];this.GetNext();if(f[0]&&!this.MatchParam(f[0])){b.Error(["MismatchUseDef","Use of %1 doesn't match its definition",d])}for(var e=0;e<h;e++){c.push(this.GetParameter(d,f[e+1]))}g=this.SubstituteArgs(c,g)}this.string=this.AddArgs(g,this.string.slice(this.i));this.i=0;if(++this.macroCount>b.config.MAXMACROS){b.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])}},BeginEnv:function(f,h,c,g){if(g){var d=[];for(var e=0;e<g;e++){d.push(this.GetArgument("\\begin{"+name+"}"))}h=this.SubstituteArgs(d,h);c=this.SubstituteArgs(d,c)}f.edef=c;this.string=this.AddArgs(h,this.string.slice(this.i));this.i=0;return f},EndEnv:function(c,d){this.string=this.AddArgs(c.edef,this.string.slice(this.i));this.i=0;return d},GetParameter:function(d,g){if(g==null){return this.GetArgument(d)}var f=this.i,c=0,e=0;while(this.i<this.string.length){if(this.string.charAt(this.i)==="{"){if(this.i===f){e=1}this.GetArgument(d);c=this.i-f}else{if(this.MatchParam(g)){if(e){f++;c-=2}return this.string.substr(f,c)}else{this.i++;c++;e=0}}}b.Error(["RunawayArgument","Runaway argument for %1?",d])},MatchParam:function(c){if(this.string.substr(this.i,c.length)!==c){return 0}this.i+=c.length;return 1}});b.Environment=function(c){a.environment[c]=["BeginEnv","EndEnv"].concat([].slice.call(arguments,1));a.environment[c].isUser=true};MathJax.Hub.Startup.signal.Post("TeX newcommand Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/newcommand.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/noErrors.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ (function(b,e){var d="2.2";var a=b.CombineConfig("TeX.noErrors",{disabled:false,multiLine:true,inlineDelimiters:["",""],style:{"font-size":"90%","text-align":"left",color:"black",padding:"1px 3px",border:"1px solid"}});var c="\u00A0";MathJax.Extension["TeX/noErrors"]={version:d,config:a};b.Register.StartupHook("TeX Jax Ready",function(){var f=MathJax.InputJax.TeX.formatError;MathJax.InputJax.TeX.Augment({formatError:function(j,i,k,g){if(a.disabled){return f.apply(this,arguments)}var h=j.message.replace(/\n.*/,"");b.signal.Post(["TeX Jax - parse error",h,i,k,g]);var m=a.inlineDelimiters;var l=(k||a.multiLine);if(!k){i=m[0]+i+m[1]}if(l){i=i.replace(/ /g,c)}else{i=i.replace(/\n/g," ")}return MathJax.ElementJax.mml.merror(i).With({isError:true,multiLine:l})}})});b.Register.StartupHook("HTML-CSS Jax Config",function(){b.Config({"HTML-CSS":{styles:{".MathJax .noError":b.Insert({"vertical-align":(b.Browser.isMSIE&&a.multiLine?"-2px":"")},a.style)}}})});b.Register.StartupHook("HTML-CSS Jax Ready",function(){var g=MathJax.ElementJax.mml;var h=MathJax.OutputJax["HTML-CSS"];var f=g.math.prototype.toHTML,i=g.merror.prototype.toHTML;g.math.Augment({toHTML:function(j,k){var l=this.data[0];if(l&&l.data[0]&&l.data[0].isError){j.style.fontSize="";j=this.HTMLcreateSpan(j);j.bbox=l.data[0].toHTML(j).bbox}else{j=f.call(this,j,k)}return j}});g.merror.Augment({toHTML:function(p){if(!this.isError){return i.call(this,p)}p=this.HTMLcreateSpan(p);p.className="noError";if(this.multiLine){p.style.display="inline-block"}var r=this.data[0].data[0].data.join("").split(/\n/);for(var o=0,l=r.length;o<l;o++){h.addText(p,r[o]);if(o!==l-1){h.addElement(p,"br",{isMathJax:true})}}var q=h.getHD(p.parentNode),k=h.getW(p.parentNode);if(l>1){var n=(q.h+q.d)/2,j=h.TeX.x_height/2;p.parentNode.style.verticalAlign=h.Em(q.d+(j-n));q.h=j+n;q.d=n-j}p.bbox={h:q.h,d:q.d,w:k,lw:0,rw:k};return p}})});b.Register.StartupHook("SVG Jax Config",function(){b.Config({SVG:{styles:{".MathJax_SVG .noError":b.Insert({"vertical-align":(b.Browser.isMSIE&&a.multiLine?"-2px":"")},a.style)}}})});b.Register.StartupHook("SVG Jax Ready",function(){var g=MathJax.ElementJax.mml;var f=g.math.prototype.toSVG,h=g.merror.prototype.toSVG;g.math.Augment({toSVG:function(i,j){var k=this.data[0];if(k&&k.data[0]&&k.data[0].isError){i=k.data[0].toSVG(i)}else{i=f.call(this,i,j)}return i}});g.merror.Augment({toSVG:function(n){if(!this.isError||this.Parent().type!=="math"){return h.call(this,n)}n=e.addElement(n,"span",{className:"noError",isMathJax:true});if(this.multiLine){n.style.display="inline-block"}var o=this.data[0].data[0].data.join("").split(/\n/);for(var l=0,j=o.length;l<j;l++){e.addText(n,o[l]);if(l!==j-1){e.addElement(n,"br",{isMathJax:true})}}if(j>1){var k=n.offsetHeight/2;n.style.verticalAlign=(-k+(k/j))+"px"}return n}})});b.Register.StartupHook("NativeMML Jax Ready",function(){var h=MathJax.ElementJax.mml;var g=MathJax.Extension["TeX/noErrors"].config;var f=h.math.prototype.toNativeMML,i=h.merror.prototype.toNativeMML;h.math.Augment({toNativeMML:function(j){var k=this.data[0];if(k&&k.data[0]&&k.data[0].isError){j=k.data[0].toNativeMML(j)}else{j=f.call(this,j)}return j}});h.merror.Augment({toNativeMML:function(n){if(!this.isError){return i.call(this,n)}n=n.appendChild(document.createElement("span"));var o=this.data[0].data[0].data.join("").split(/\n/);for(var l=0,k=o.length;l<k;l++){n.appendChild(document.createTextNode(o[l]));if(l!==k-1){n.appendChild(document.createElement("br"))}}if(this.multiLine){n.style.display="inline-block";if(k>1){n.style.verticalAlign="middle"}}for(var p in g.style){if(g.style.hasOwnProperty(p)){var j=p.replace(/-./g,function(m){return m.charAt(1).toUpperCase()});n.style[j]=g.style[p]}}return n}})});b.Startup.signal.Post("TeX noErrors Ready")})(MathJax.Hub,MathJax.HTML);MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/noUndefined.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/noUndefined"]={version:"2.2",config:MathJax.Hub.CombineConfig("TeX.noUndefined",{disabled:false,attributes:{mathcolor:"red"}})};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.Extension["TeX/noUndefined"].config;var a=MathJax.ElementJax.mml;var c=MathJax.InputJax.TeX.Parse.prototype.csUndefined;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(d){if(b.disabled){return c.apply(this,arguments)}MathJax.Hub.signal.Post(["TeX Jax - undefined control sequence",d]);this.Push(a.mtext(d).With(b.attributes))}});MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/unicode.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/unicode"]={version:"2.2",unicode:{},config:MathJax.Hub.CombineConfig("TeX.unicode",{fonts:"STIXGeneral,'Arial Unicode MS'"})};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var c=MathJax.InputJax.TeX;var a=MathJax.ElementJax.mml;var b=MathJax.Extension["TeX/unicode"].unicode;c.Definitions.Add({macros:{unicode:"Unicode"}},null,true);c.Parse.Augment({Unicode:function(e){var i=this.GetBrackets(e),d;if(i){if(i.replace(/ /g,"").match(/^(\d+(\.\d*)?|\.\d+),(\d+(\.\d*)?|\.\d+)$/)){i=i.replace(/ /g,"").split(/,/);d=this.GetBrackets(e)}else{d=i;i=null}}var j=this.trimSpaces(this.GetArgument(e)),h=parseInt(j.match(/^x/)?"0"+j:j);if(!b[h]){b[h]=[800,200,d,h]}else{if(!d){d=b[h][2]}}if(i){b[h][0]=Math.floor(i[0]*1000);b[h][1]=Math.floor(i[1]*1000)}var f=this.stack.env.font,g={};if(d){b[h][2]=g.fontfamily=d.replace(/"/g,"'");if(f){if(f.match(/bold/)){g.fontweight="bold"}if(f.match(/italic|-mathit/)){g.fontstyle="italic"}}}else{if(f){g.mathvariant=f}}g.unicode=[].concat(b[h]);this.Push(a.mtext(a.entity("#"+j)).With(g))}});MathJax.Hub.Startup.signal.Post("TeX unicode Ready")});MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var a=MathJax.ElementJax.mml;var c=MathJax.Extension["TeX/unicode"].config.fonts;var b=a.mbase.prototype.HTMLgetVariant;a.mbase.Augment({HTMLgetVariant:function(){var d=b.call(this);if(d.unicode){delete d.unicode;delete d.FONTS}if(!this.unicode){return d}d.unicode=true;if(!d.defaultFont){d=MathJax.Hub.Insert({},d);d.defaultFont={family:c}}var e=this.unicode[2];if(e){e+=","+c}else{e=c}d.defaultFont[this.unicode[3]]=[this.unicode[0],this.unicode[1],500,0,500,{isUnknown:true,isUnicode:true,font:e}];return d}})});MathJax.Hub.Register.StartupHook("SVG Jax Ready",function(){var a=MathJax.ElementJax.mml;var c=MathJax.Extension["TeX/unicode"].config.fonts;var b=a.mbase.prototype.SVGgetVariant;a.mbase.Augment({SVGgetVariant:function(){var d=b.call(this);if(d.unicode){delete d.unicode;delete d.FONTS}if(!this.unicode){return d}d.unicode=true;if(!d.forceFamily){d=MathJax.Hub.Insert({},d)}d.defaultFamily=c;d.noRemap=true;d.h=this.unicode[0];d.d=this.unicode[1];return d}})});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/unicode.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/TeX/verb.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension["TeX/verb"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.ElementJax.mml;var c=MathJax.InputJax.TeX;var b=c.Definitions;b.Add({macros:{verb:"Verb"}},null,true);c.Parse.Augment({Verb:function(d){var g=this.GetNext();var f=++this.i;if(g==""){c.Error(["MissingArgFor","Missing argument for %1",d])}while(this.i<this.string.length&&this.string.charAt(this.i)!=g){this.i++}if(this.i==this.string.length){c.Error(["NoClosingDelim","Can't find closing delimiter for %1",d])}var e=this.string.slice(f,this.i).replace(/ /g,"\u00A0");this.i++;this.Push(a.mtext(e).With({mathvariant:a.VARIANT.MONOSPACE}))}});MathJax.Hub.Startup.signal.Post("TeX verb Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/verb.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/asciimath2jax.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension.asciimath2jax={version:"2.2",config:{delimiters:[["`","`"]],skipTags:["script","noscript","style","textarea","pre","code"],ignoreClass:"asciimath2jax_ignore",processClass:"asciimath2jax_process",preview:"AsciiMath"},PreProcess:function(a){if(!this.configured){this.config=MathJax.Hub.CombineConfig("asciimath2jax",this.config);if(this.config.Augment){MathJax.Hub.Insert(this,this.config.Augment)}this.configured=true}if(typeof(a)==="string"){a=document.getElementById(a)}if(!a){a=document.body}if(this.createPatterns()){this.scanElement(a,a.nextSibling)}},createPatterns:function(){var d=[],c,a,b=this.config;this.match={};if(b.delimiters.length===0){return false}for(c=0,a=b.delimiters.length;c<a;c++){d.push(this.patternQuote(b.delimiters[c][0]));this.match[b.delimiters[c][0]]={mode:"",end:b.delimiters[c][1],pattern:this.endPattern(b.delimiters[c][1])}}this.start=new RegExp(d.sort(this.sortLength).join("|"),"g");this.skipTags=new RegExp("^("+b.skipTags.join("|")+")$","i");var e=[];if(MathJax.Hub.config.preRemoveClass){e.push(MathJax.Hub.config.preRemoveClass)}if(b.ignoreClass){e.push(b.ignoreClass)}this.ignoreClass=(e.length?new RegExp("(^| )("+e.join("|")+")( |$)"):/^$/);this.processClass=new RegExp("(^| )("+b.processClass+")( |$)");return true},patternQuote:function(a){return a.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(a){return new RegExp(this.patternQuote(a)+"|\\\\.","g")},sortLength:function(d,c){if(d.length!==c.length){return c.length-d.length}return(d==c?0:(d<c?-1:1))},scanElement:function(c,b,g){var a,e,d,f;while(c&&c!=b){if(c.nodeName.toLowerCase()==="#text"){if(!g){c=this.scanText(c)}}else{a=(typeof(c.className)==="undefined"?"":c.className);e=(typeof(c.tagName)==="undefined"?"":c.tagName);if(typeof(a)!=="string"){a=String(a)}f=this.processClass.exec(a);if(c.firstChild&&!a.match(/(^| )MathJax/)&&(f||!this.skipTags.exec(e))){d=(g||this.ignoreClass.exec(a))&&!f;this.scanElement(c.firstChild,b,d)}}if(c){c=c.nextSibling}}},scanText:function(b){if(b.nodeValue.replace(/\s+/,"")==""){return b}var a,c;this.search={start:true};this.pattern=this.start;while(b){this.pattern.lastIndex=0;while(b&&b.nodeName.toLowerCase()==="#text"&&(a=this.pattern.exec(b.nodeValue))){if(this.search.start){b=this.startMatch(a,b)}else{b=this.endMatch(a,b)}}if(this.search.matched){b=this.encloseMath(b)}if(b){do{c=b;b=b.nextSibling}while(b&&(b.nodeName.toLowerCase()==="br"||b.nodeName.toLowerCase()==="#comment"));if(!b||b.nodeName!=="#text"){return c}}}return b},startMatch:function(a,b){var c=this.match[a[0]];if(c!=null){this.search={end:c.end,mode:c.mode,open:b,olen:a[0].length,opos:this.pattern.lastIndex-a[0].length};this.switchPattern(c.pattern)}return b},endMatch:function(a,b){if(a[0]==this.search.end){this.search.close=b;this.search.cpos=this.pattern.lastIndex;this.search.clen=(this.search.isBeginEnd?0:a[0].length);this.search.matched=true;b=this.encloseMath(b);this.switchPattern(this.start)}return b},switchPattern:function(a){a.lastIndex=this.pattern.lastIndex;this.pattern=a;this.search.start=(a===this.start)},encloseMath:function(b){var a=this.search,f=a.close,e,c;if(a.cpos===f.length){f=f.nextSibling}else{f=f.splitText(a.cpos)}if(!f){e=f=MathJax.HTML.addText(a.close.parentNode,"")}a.close=f;c=(a.opos?a.open.splitText(a.opos):a.open);while(c.nextSibling&&c.nextSibling!==f){if(c.nextSibling.nodeValue!==null){if(c.nextSibling.nodeName==="#comment"){c.nodeValue+=c.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1")}else{c.nodeValue+=c.nextSibling.nodeValue}}else{if(this.msieNewlineBug){c.nodeValue+=(c.nextSibling.nodeName.toLowerCase()==="br"?"\n":" ")}else{c.nodeValue+=" "}}c.parentNode.removeChild(c.nextSibling)}var d=c.nodeValue.substr(a.olen,c.nodeValue.length-a.olen-a.clen);c.parentNode.removeChild(c);if(this.config.preview!=="none"){this.createPreview(a.mode,d)}c=this.createMathTag(a.mode,d);this.search={};this.pattern.lastIndex=0;if(e){e.parentNode.removeChild(e)}return c},insertNode:function(b){var a=this.search;a.close.parentNode.insertBefore(b,a.close)},createPreview:function(c,a){var b=this.config.preview;if(b==="none"){return}if(b==="AsciiMath"){b=[this.filterPreview(a)]}if(b){b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b);this.insertNode(b)}},createMathTag:function(c,a){var b=document.createElement("script");b.type="math/asciimath"+c;MathJax.HTML.setScript(b,a);this.insertNode(b);return b},filterPreview:function(a){return a},msieNewlineBug:(MathJax.Hub.Browser.isMSIE&&(document.documentMode||0)<9)};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/jsMath2jax.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension.jsMath2jax={version:"2.2",config:{preview:"TeX"},PreProcess:function(b){if(!this.configured){this.config=MathJax.Hub.CombineConfig("jsMath2jax",this.config);if(this.config.Augment){MathJax.Hub.Insert(this,this.config.Augment)}if(typeof(this.config.previewTeX)!=="undefined"&&!this.config.previewTeX){this.config.preview="none"}this.previewClass=MathJax.Hub.config.preRemoveClass;this.configured=true}if(typeof(b)==="string"){b=document.getElementById(b)}if(!b){b=document.body}var c=b.getElementsByTagName("span"),a;for(a=c.length-1;a>=0;a--){if(String(c[a].className).match(/(^| )math( |$)/)){this.ConvertMath(c[a],"")}}var d=b.getElementsByTagName("div");for(a=d.length-1;a>=0;a--){if(String(d[a].className).match(/(^| )math( |$)/)){this.ConvertMath(d[a],"; mode=display")}}},ConvertMath:function(c,d){if(c.getElementsByTagName("script").length===0){var b=c.parentNode,a=this.createMathTag(d,c.innerHTML);if(c.nextSibling){b.insertBefore(a,c.nextSibling)}else{b.appendChild(a)}if(this.config.preview!=="none"){this.createPreview(c)}b.removeChild(c)}},createPreview:function(a){var b=this.config.preview;if(b==="TeX"){b=[this.filterPreview(a.innerHTML)]}if(b){b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b);a.parentNode.insertBefore(b,a)}},createMathTag:function(c,b){b=b.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&");var a=document.createElement("script");a.type="math/tex"+c;MathJax.HTML.setScript(a,b);return a},filterPreview:function(a){return a}};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.jsMath2jax],8);MathJax.Ajax.loadComplete("[MathJax]/extensions/jsMath2jax.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/mml2jax.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension.mml2jax={version:"2.2",config:{preview:"alttext"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(e){if(!this.configured){this.config=MathJax.Hub.CombineConfig("mml2jax",this.config);if(this.config.Augment){MathJax.Hub.Insert(this,this.config.Augment)}this.InitBrowser();this.configured=true}if(typeof(e)==="string"){e=document.getElementById(e)}if(!e){e=document.body}this.ProcessMathArray(e.getElementsByTagName("math"));if(e.getElementsByTagNameNS){this.ProcessMathArray(e.getElementsByTagNameNS(this.MMLnamespace,"math"))}var d,b;if(typeof(document.namespaces)!=="undefined"){try{for(d=0,b=document.namespaces.length;d<b;d++){var f=document.namespaces[d];if(f.urn===this.MMLnamespace){this.ProcessMathArray(e.getElementsByTagName(f.name+":math"))}}}catch(g){}}else{var c=document.getElementsByTagName("html")[0];if(c){for(d=0,b=c.attributes.length;d<b;d++){var a=c.attributes[d];if(a.nodeName.substr(0,6)==="xmlns:"&&a.nodeValue===this.MMLnamespace){this.ProcessMathArray(e.getElementsByTagName(a.nodeName.substr(6)+":math"))}}}}},ProcessMathArray:function(b){var a;if(b.length){if(this.MathTagBug){for(a=b.length-1;a>=0;a--){if(b[a].nodeName==="MATH"){this.ProcessMathFlattened(b[a])}else{this.ProcessMath(b[a])}}}else{for(a=b.length-1;a>=0;a--){this.ProcessMath(b[a])}}}},ProcessMath:function(e){var d=e.parentNode;var a=document.createElement("script");a.type="math/mml";d.insertBefore(a,e);if(this.AttributeBug){var b=this.OuterHTML(e);if(this.CleanupHTML){b=b.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,"");b=b.replace(/&nbsp;/g,"&#xA0;")}MathJax.HTML.setScript(a,b);d.removeChild(e)}else{var c=MathJax.HTML.Element("span");c.appendChild(e);MathJax.HTML.setScript(a,c.innerHTML)}if(this.config.preview!=="none"){this.createPreview(e,a)}},ProcessMathFlattened:function(f){var d=f.parentNode;var b=document.createElement("script");b.type="math/mml";d.insertBefore(b,f);var c="",e,a=f;while(f&&f.nodeName!=="/MATH"){e=f;f=f.nextSibling;c+=this.NodeHTML(e);e.parentNode.removeChild(e)}if(f&&f.nodeName==="/MATH"){f.parentNode.removeChild(f)}b.text=c+"</math>";if(this.config.preview!=="none"){this.createPreview(a,b)}},NodeHTML:function(e){var c,b,a;if(e.nodeName==="#text"){c=this.quoteHTML(e.nodeValue)}else{if(e.nodeName==="#comment"){c="<!--"+e.nodeValue+"-->"}else{c="<"+e.nodeName.toLowerCase();for(b=0,a=e.attributes.length;b<a;b++){var d=e.attributes[b];if(d.specified){c+=" "+d.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"=";var f=d.nodeValue;if(f==null&&d.nodeName==="style"&&e.style){f=e.style.cssText}c+='"'+this.quoteHTML(f)+'"'}}c+=">";if(e.outerHTML!=null&&e.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)){for(b=0,a=e.childNodes.length;b<a;b++){c+=this.OuterHTML(e.childNodes[b])}c+="</"+e.nodeName.toLowerCase()+">"}}}return c},OuterHTML:function(d){if(d.nodeName.charAt(0)==="#"){return this.NodeHTML(d)}if(!this.AttributeBug){return d.outerHTML}var c=this.NodeHTML(d);for(var b=0,a=d.childNodes.length;b<a;b++){c+=this.OuterHTML(d.childNodes[b])}c+="</"+d.nodeName.toLowerCase()+">";return c},quoteHTML:function(a){if(a==null){a=""}return a.replace(/&/g,"&#x26;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;")},createPreview:function(b,a){var c=this.config.preview;if(c==="none"){return}if(c==="alttext"){var d=b.getAttribute("alttext");if(d!=null){c=[this.filterPreview(d)]}else{c=null}}if(c){c=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},c);a.parentNode.insertBefore(c,a)}},filterPreview:function(a){return a},InitBrowser:function(){var b=MathJax.HTML.Element("span",{id:"<",className:"mathjax",innerHTML:"<math><mi>x</mi><mspace /></math>"});var a=b.outerHTML||"";this.AttributeBug=a!==""&&!(a.match(/id="&lt;"/)&&a.match(/class="mathjax"/)&&a.match(/<\/math>/));this.MathTagBug=b.childNodes.length>1;this.CleanupHTML=MathJax.Hub.Browser.isMSIE}};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/tex2jax.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Extension.tex2jax={version:"2.2",config:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],balanceBraces:true,skipTags:["script","noscript","style","textarea","pre","code"],ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",processEscapes:false,processEnvironments:true,processRefs:true,preview:"TeX"},PreProcess:function(a){if(!this.configured){this.config=MathJax.Hub.CombineConfig("tex2jax",this.config);if(this.config.Augment){MathJax.Hub.Insert(this,this.config.Augment)}if(typeof(this.config.previewTeX)!=="undefined"&&!this.config.previewTeX){this.config.preview="none"}this.configured=true}if(typeof(a)==="string"){a=document.getElementById(a)}if(!a){a=document.body}if(this.createPatterns()){this.scanElement(a,a.nextSibling)}},createPatterns:function(){var d=[],e=[],c,a,b=this.config;this.match={};for(c=0,a=b.inlineMath.length;c<a;c++){d.push(this.patternQuote(b.inlineMath[c][0]));this.match[b.inlineMath[c][0]]={mode:"",end:b.inlineMath[c][1],pattern:this.endPattern(b.inlineMath[c][1])}}for(c=0,a=b.displayMath.length;c<a;c++){d.push(this.patternQuote(b.displayMath[c][0]));this.match[b.displayMath[c][0]]={mode:"; mode=display",end:b.displayMath[c][1],pattern:this.endPattern(b.displayMath[c][1])}}if(d.length){e.push(d.sort(this.sortLength).join("|"))}if(b.processEnvironments){e.push("\\\\begin\\{([^}]*)\\}")}if(b.processEscapes){e.push("\\\\*\\\\\\$")}if(b.processRefs){e.push("\\\\(eq)?ref\\{[^}]*\\}")}this.start=new RegExp(e.join("|"),"g");this.skipTags=new RegExp("^("+b.skipTags.join("|")+")$","i");var f=[];if(MathJax.Hub.config.preRemoveClass){f.push(MathJax.Hub.config.preRemoveClass)}if(b.ignoreClass){f.push(b.ignoreClass)}this.ignoreClass=(f.length?new RegExp("(^| )("+f.join("|")+")( |$)"):/^$/);this.processClass=new RegExp("(^| )("+b.processClass+")( |$)");return(e.length>0)},patternQuote:function(a){return a.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(a){return new RegExp(this.patternQuote(a)+"|\\\\.|[{}]","g")},sortLength:function(d,c){if(d.length!==c.length){return c.length-d.length}return(d==c?0:(d<c?-1:1))},scanElement:function(c,b,g){var a,e,d,f;while(c&&c!=b){if(c.nodeName.toLowerCase()==="#text"){if(!g){c=this.scanText(c)}}else{a=(typeof(c.className)==="undefined"?"":c.className);e=(typeof(c.tagName)==="undefined"?"":c.tagName);if(typeof(a)!=="string"){a=String(a)}f=this.processClass.exec(a);if(c.firstChild&&!a.match(/(^| )MathJax/)&&(f||!this.skipTags.exec(e))){d=(g||this.ignoreClass.exec(a))&&!f;this.scanElement(c.firstChild,b,d)}}if(c){c=c.nextSibling}}},scanText:function(b){if(b.nodeValue.replace(/\s+/,"")==""){return b}var a,c;this.search={start:true};this.pattern=this.start;while(b){this.pattern.lastIndex=0;while(b&&b.nodeName.toLowerCase()==="#text"&&(a=this.pattern.exec(b.nodeValue))){if(this.search.start){b=this.startMatch(a,b)}else{b=this.endMatch(a,b)}}if(this.search.matched){b=this.encloseMath(b)}if(b){do{c=b;b=b.nextSibling}while(b&&(b.nodeName.toLowerCase()==="br"||b.nodeName.toLowerCase()==="#comment"));if(!b||b.nodeName!=="#text"){return(this.search.close?this.prevEndMatch():c)}}}return b},startMatch:function(a,b){var f=this.match[a[0]];if(f!=null){this.search={end:f.end,mode:f.mode,pcount:0,open:b,olen:a[0].length,opos:this.pattern.lastIndex-a[0].length};this.switchPattern(f.pattern)}else{if(a[0].substr(0,6)==="\\begin"){this.search={end:"\\end{"+a[1]+"}",mode:"; mode=display",pcount:0,open:b,olen:0,opos:this.pattern.lastIndex-a[0].length,isBeginEnd:true};this.switchPattern(this.endPattern(this.search.end))}else{if(a[0].substr(0,4)==="\\ref"||a[0].substr(0,6)==="\\eqref"){this.search={mode:"",end:"",open:b,pcount:0,olen:0,opos:this.pattern.lastIndex-a[0].length};return this.endMatch([""],b)}else{var d=a[0].substr(0,a[0].length-1),g,c;if(d.length%2===0){c=[d.replace(/\\\\/g,"\\")];g=1}else{c=[d.substr(1).replace(/\\\\/g,"\\"),"$"];g=0}c=MathJax.HTML.Element("span",null,c);var e=MathJax.HTML.TextNode(b.nodeValue.substr(0,a.index));b.nodeValue=b.nodeValue.substr(a.index+a[0].length-g);b.parentNode.insertBefore(c,b);b.parentNode.insertBefore(e,c);this.pattern.lastIndex=g}}}return b},endMatch:function(a,c){var b=this.search;if(a[0]==b.end){if(!b.close||b.pcount===0){b.close=c;b.cpos=this.pattern.lastIndex;b.clen=(b.isBeginEnd?0:a[0].length)}if(b.pcount===0){b.matched=true;c=this.encloseMath(c);this.switchPattern(this.start)}}else{if(a[0]==="{"){b.pcount++}else{if(a[0]==="}"&&b.pcount){b.pcount--}}}return c},prevEndMatch:function(){this.search.matched=true;var a=this.encloseMath(this.search.close);this.switchPattern(this.start);return a},switchPattern:function(a){a.lastIndex=this.pattern.lastIndex;this.pattern=a;this.search.start=(a===this.start)},encloseMath:function(b){var a=this.search,f=a.close,e,c;if(a.cpos===f.length){f=f.nextSibling}else{f=f.splitText(a.cpos)}if(!f){e=f=MathJax.HTML.addText(a.close.parentNode,"")}a.close=f;c=(a.opos?a.open.splitText(a.opos):a.open);while(c.nextSibling&&c.nextSibling!==f){if(c.nextSibling.nodeValue!==null){if(c.nextSibling.nodeName==="#comment"){c.nodeValue+=c.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1")}else{c.nodeValue+=c.nextSibling.nodeValue}}else{if(this.msieNewlineBug){c.nodeValue+=(c.nextSibling.nodeName.toLowerCase()==="br"?"\n":" ")}else{c.nodeValue+=" "}}c.parentNode.removeChild(c.nextSibling)}var d=c.nodeValue.substr(a.olen,c.nodeValue.length-a.olen-a.clen);c.parentNode.removeChild(c);if(this.config.preview!=="none"){this.createPreview(a.mode,d)}c=this.createMathTag(a.mode,d);this.search={};this.pattern.lastIndex=0;if(e){e.parentNode.removeChild(e)}return c},insertNode:function(b){var a=this.search;a.close.parentNode.insertBefore(b,a.close)},createPreview:function(c,a){var b=this.config.preview;if(b==="none"){return}if(b==="TeX"){b=[this.filterPreview(a)]}if(b){b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b);this.insertNode(b)}},createMathTag:function(c,b){var a=document.createElement("script");a.type="math/tex"+c;MathJax.HTML.setScript(a,b);this.insertNode(a);return a},filterPreview:function(a){return a},msieNewlineBug:(MathJax.Hub.Browser.isMSIE&&document.documentMode<9)};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");
16
+
@@ -0,0 +1,16 @@
1
+ /*
2
+ * /MathJax/extensions/toMathML.js
3
+ *
4
+ * Copyright (c) 2009-2013 The MathJax Consortium
5
+ *
6
+ * Part of the MathJax library.
7
+ * See http://www.mathjax.org for details.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0;
10
+ * you may not use this file except in compliance with the License.
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ */
14
+
15
+ MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var b="2.2";var a=MathJax.ElementJax.mml;SETTINGS=MathJax.Hub.config.menuSettings;a.mbase.Augment({toMathML:function(k){var g=(this.inferred&&this.parent.inferRow);if(k==null){k=""}var e=this.type,d=this.toMathMLattributes();if(e==="mspace"){return k+"<"+e+d+" />"}var j=[];var h=(this.isToken?"":k+(g?"":" "));for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){j.push(this.data[f].toMathML(h))}else{if(!this.isToken){j.push(h+"<mrow />")}}}if(this.isToken){return k+"<"+e+d+">"+j.join("")+"</"+e+">"}if(g){return j.join("\n")}if(j.length===0||(j.length===1&&j[0]==="")){return k+"<"+e+d+" />"}return k+"<"+e+d+">\n"+j.join("\n")+"\n"+k+"</"+e+">"},toMathMLattributes:function(){var j=[],g=this.defaults;var c=(this.attrNames||a.copyAttributeNames),l=a.skipAttributes;if(this.type==="math"&&(!this.attr||!this.attr.xmlns)){j.push('xmlns="http://www.w3.org/1998/Math/MathML"')}if(!this.attrNames){if(this.type==="mstyle"){g=a.math.prototype.defaults}for(var d in g){if(!l[d]&&g.hasOwnProperty(d)){var e=(d==="open"||d==="close");if(this[d]!=null&&(e||this[d]!==g[d])){var k=this[d];delete this[d];if(e||this.Get(d)!==k){j.push(d+'="'+this.toMathMLattribute(k)+'"')}this[d]=k}}}}for(var h=0,f=c.length;h<f;h++){if(c[h]==="class"){continue}k=(this.attr||{})[c[h]];if(k==null){k=this[c[h]]}if(k!=null){j.push(c[h]+'="'+this.toMathMLquote(k)+'"')}}this.toMathMLclass(j);if(j.length){return" "+j.join(" ")}else{return""}},toMathMLclass:function(c){var e=[];if(this["class"]){e.push(this["class"])}if(this.isa(a.TeXAtom)&&SETTINGS.texHints){var d=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];if(d){e.push("MJX-TeXAtom-"+d)}}if(this.mathvariant&&this.toMathMLvariants[this.mathvariant]){e.push("MJX"+this.mathvariant)}if(this.arrow){e.push("MJX-arrow")}if(this.variantForm){e.push("MJX-variant")}if(e.length){c.unshift('class="'+e.join(" ")+'"')}},toMathMLattribute:function(c){if(typeof(c)==="string"&&c.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)){return RegExp.$2+((1/18)*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em"}else{if(this.toMathMLvariants[c]){return this.toMathMLvariants[c]}}return this.toMathMLquote(c)},toMathMLvariants:{"-tex-caligraphic":a.VARIANT.SCRIPT,"-tex-caligraphic-bold":a.VARIANT.BOLDSCRIPT,"-tex-oldstyle":a.VARIANT.NORMAL,"-tex-oldstyle-bold":a.VARIANT.BOLD,"-tex-mathit":a.VARIANT.ITALIC},toMathMLquote:function(f){f=String(f).split("");for(var g=0,d=f.length;g<d;g++){var k=f[g].charCodeAt(0);if(k<=55295||57344<=k){if(k<32||k>126){f[g]="&#x"+k.toString(16).toUpperCase()+";"}else{var j={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[f[g]];if(j){f[g]=j}}}else{if(g+1<d){var h=f[g+1].charCodeAt(0);var e=(((k-55296)<<10)+(h-56320)+65536);f[g]="&#x"+e.toString(16).toUpperCase()+";";f[g+1]="";g++}else{f[g]=""}}}return f.join("")}});a.msubsup.Augment({toMathML:function(h){var e=this.type;if(this.data[this.sup]==null){e="msub"}if(this.data[this.sub]==null){e="msup"}var d=this.toMathMLattributes();delete this.data[0].inferred;var g=[];for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){g.push(this.data[f].toMathML(h+" "))}}return h+"<"+e+d+">\n"+g.join("\n")+"\n"+h+"</"+e+">"}});a.munderover.Augment({toMathML:function(h){var e=this.type;if(this.data[this.under]==null){e="mover"}if(this.data[this.over]==null){e="munder"}var d=this.toMathMLattributes();delete this.data[0].inferred;var g=[];for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){g.push(this.data[f].toMathML(h+" "))}}return h+"<"+e+d+">\n"+g.join("\n")+"\n"+h+"</"+e+">"}});a.TeXAtom.Augment({toMathML:function(d){var c=this.toMathMLattributes();if(!c&&this.data[0].data.length===1){return d.substr(2)+this.data[0].toMathML(d)}return d+"<mrow"+c+">\n"+this.data[0].toMathML(d+" ")+"\n"+d+"</mrow>"}});a.chars.Augment({toMathML:function(c){return(c||"")+this.toMathMLquote(this.toString())}});a.entity.Augment({toMathML:function(c){return(c||"")+"&"+this.data[0]+";<!-- "+this.toString()+" -->"}});a.xml.Augment({toMathML:function(c){return(c||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){a.TeXmathchoice.Augment({toMathML:function(c){return this.Core().toMathML(c)}})});MathJax.Hub.Startup.signal.Post("toMathML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js");
16
+