Math.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Options/Math - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. </head>
  9. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  10. <div id="mw-page-base" class="noprint"></div>
  11. <div id="mw-head-base" class="noprint"></div>
  12. <div id="content" class="mw-body">
  13. <h1 id="firstHeading" class="firstHeading"><span>Options/Math</span></h1>
  14. <div id="bodyContent" class="mw-body-content">
  15. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  16. <div id="contentSub"></div>
  17. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  18. <div id='xocfg_body'>
  19. <!-- TEXT:err_msg -->
  20. <div id='xocfg_err'></div>
  21. <div>
  22. <!-- BTN:info -->
  23. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.cfg_edit.help__toggle_all()' title='toggle all help'>&nbsp;</span>
  24. <!-- COMBO:cfg_grps -->
  25. <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
  26. <option value='xowa.app.security' >App - Security</option>
  27. <option value='xowa.app.startup' >App - Startup</option>
  28. <option value='xowa.app.dbs' >App - Databases</option>
  29. <option value='xowa.app.update' >App - Update</option>
  30. <option value='xowa.gui.general' >Gui - General</option>
  31. <option value='xowa.gui.tabs' >Gui - Tabs</option>
  32. <option value='xowa.gui.url_bar' >Gui - Address bar</option>
  33. <option value='xowa.gui.menus' >Gui - Menus</option>
  34. <option value='xowa.gui.shortcuts' >Gui - Shortcuts</option>
  35. <option value='xowa.gui.nightmode' >Gui - Nightmode</option>
  36. <option value='xowa.wiki.hdumps' >Wiki - HTML Databases</option>
  37. <option value='xowa.wiki.edit' >Wiki - Editing</option>
  38. <option value='xowa.bldr.general' >Import - General</option>
  39. <option value='xowa.bldr.db' >Import - Database</option>
  40. <option value='xowa.bldr.page_sync' >Import - Page sync</option>
  41. <option value='xowa.bldr.dansguardian' >Import - Dansguardian</option>
  42. <option value='xowa.html.css' >HTML - CSS</option>
  43. <option value='xowa.html.page' >HTML - Page</option>
  44. <option value='xowa.html.tidy' >HTML - Tidy</option>
  45. <option value='xowa.html.scripting' >HTML - Scripting</option>
  46. <option value='xowa.files.general' >Files - General</option>
  47. <option value='xowa.files.apps' >Files - Apps</option>
  48. <option value='xowa.addon.search' >Addon - Search</option>
  49. <option value='xowa.addon.fulltext_search' >Addon - Full-text search</option>
  50. <option value='xowa.addon.category' >Addon - Category</option>
  51. <option value='xowa.addon.http_server' >Addon - HTTP Server</option>
  52. <option value='xowa.addon.scribunto' >Addon - Scribunto</option>
  53. <option value='xowa.addon.math' selected='selected'>Addon - Math</option>
  54. <option value='xowa.addon.score' >Addon - Score</option>
  55. <option value='xowa.addon.popups' >Addon - Popups</option>
  56. <option value='xowa.addon.wikibase' >Addon - Wikidata</option>
  57. <option value='xowa.dev.general' >Dev - General</option>
  58. <option value='xowa.app.settings' >App - Settings</option>
  59. </select>
  60. <!-- LINK:cfg_link -->
  61. <div style='float:right;margin:2px 7px;'>
  62. <a id='options_lnk'>options link</a>
  63. </div>
  64. </div>
  65. <div id='cfg_grps'>
  66. <!-- TEXT:page_help -->
  67. <div>
  68. <p id='page_help_para'></p>
  69. </div>
  70. <h2>Math</h2>
  71. <div class="xocfg_row flex_div">
  72. <!-- BTN:help_item -->
  73. <div class='xocfg_itm_help'>
  74. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.math.enabled")' title='view more info'>&nbsp;</span>
  75. </div>
  76. <!-- TEXT:key -->
  77. <div id='xowa.addon.math.enabled__name' class='xocfg_itm_name'>Enabled</div>
  78. <!-- BTN:undo -->
  79. <div id='xowa.addon.math.enabled__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  80. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.math.enabled")' title="reset to &quot;y&quot;">&nbsp;</span>
  81. </div>
  82. <!-- TEXT:val -->
  83. <div class='xocfg_itm_data'>
  84. <input id="xowa.addon.math.enabled" data-xocfg-key="xowa.addon.math.enabled" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked"></input></div>
  85. <!-- HIDDEN:key,ctx -->
  86. <input type='hidden' id='xowa.addon.math.enabled__key_box' value='xowa.addon.math.enabled'></input>
  87. <input type='hidden' id='xowa.addon.math.enabled__ctx_box' value='app'></input>
  88. </div>
  89. <!-- DIV:help -->
  90. <div id='xowa.addon.math.enabled_help_div' class='xohelp_div'>
  91. <div id='xowa.addon.math.enabled_help_msg' class='xohelp_msg'><p>Choose one of the following:
  92. </p>
  93. <ul>
  94. <li> <b>checked</b> to transform &lt;math&gt; sections to images
  95. </li>
  96. <li> <b>unchecked</b> to leave &lt;math&gt; sections as text
  97. </li>
  98. </ul>
  99. </div>
  100. </div>
  101. <div class="xocfg_row flex_div">
  102. <!-- BTN:help_item -->
  103. <div class='xocfg_itm_help'>
  104. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.math.renderer")' title='view more info'>&nbsp;</span>
  105. </div>
  106. <!-- TEXT:key -->
  107. <div id='xowa.addon.math.renderer__name' class='xocfg_itm_name'>Renderer</div>
  108. <!-- BTN:undo -->
  109. <div id='xowa.addon.math.renderer__undo' data-xocfg-type='list:xowa.addon.math.renderer' class='xocfg_itm_delete xocfg_itm_hide'>
  110. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.math.renderer")' title="reset to &quot;mathjax&quot;">&nbsp;</span>
  111. </div>
  112. <!-- TEXT:val -->
  113. <div class='xocfg_itm_data'>
  114. <select id="xowa.addon.math.renderer" data-xocfg-key="xowa.addon.math.renderer" data-xocfg-type="list:xowa.addon.math.renderer" accesskey="d" class="xocfg_data__list" size="2">
  115. <option value="mathjax" selected="selected">MathJax</option>
  116. <option value="latex">LaTeX</option>
  117. </select>
  118. </div>
  119. <!-- HIDDEN:key,ctx -->
  120. <input type='hidden' id='xowa.addon.math.renderer__key_box' value='xowa.addon.math.renderer'></input>
  121. <input type='hidden' id='xowa.addon.math.renderer__ctx_box' value='app'></input>
  122. </div>
  123. <!-- DIV:help -->
  124. <div id='xowa.addon.math.renderer_help_div' class='xohelp_div'>
  125. <div id='xowa.addon.math.renderer_help_msg' class='xohelp_msg'><p>Choose one of the following:
  126. </p>
  127. <ul>
  128. <li> <b>MathJax</b>: use MathJax for &lt;math&gt;. Note that this is faster, does not use any disk space, and requires no additional setup
  129. </li>
  130. <li> <b>LaTeX</b>: use LaT<sub>E</sub>X for &lt;math&gt;. Note that LaT<sub>E</sub>X is slower and will use extra disk space. It <b>must</b> also be installed. See <a href="/wiki/App/Xtn/Mediawiki/Math/Setup" id="xolnki_32" title="App/Xtn/Mediawiki/Math/Setup" tabindex="-1">App/Xtn/Mediawiki/Math/Setup</a>
  131. </li>
  132. </ul>
  133. </div>
  134. </div>
  135. <h2>LaTeX</h2>
  136. <div class="xocfg_row flex_div">
  137. <!-- BTN:help_item -->
  138. <div class='xocfg_itm_help'>
  139. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.math.apps.tex_to_dvi")' title='view more info'>&nbsp;</span>
  140. </div>
  141. <!-- TEXT:key -->
  142. <div id='xowa.addon.math.apps.tex_to_dvi__name' class='xocfg_itm_name'>Tex to dvi</div>
  143. <!-- BTN:undo -->
  144. <div id='xowa.addon.math.apps.tex_to_dvi__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
  145. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.math.apps.tex_to_dvi")' title="reset to &quot;~{<>bin_plat_dir<>}miktex\texmfs\install\miktex\bin\latex|-quiet -output-directory=&quot;~{temp_dir}&quot; -job-name=xowa_math_temp &quot;~{tex_file}&quot;&quot;">&nbsp;</span>
  146. </div>
  147. <!-- TEXT:val -->
  148. <div class='xocfg_itm_data'>
  149. <input class="xocfg_data__io_cmd__exe__txt" id="xowa.addon.math.apps.tex_to_dvi-exe" data-xocfg-key="xowa.addon.math.apps.tex_to_dvi" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{<>bin_plat_dir<>}miktex\texmfs\install\miktex\bin\latex"></input>
  150. <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.addon.math.apps.tex_to_dvi-exe", "Please select a file.");'>&nbsp;</span><br/>
  151. <input class="xocfg_data__io_cmd__arg__txt" id="xowa.addon.math.apps.tex_to_dvi-arg" data-xocfg-key="xowa.addon.math.apps.tex_to_dvi" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="-quiet -output-directory=&quot;~{temp_dir}&quot; -job-name=xowa_math_temp &quot;~{tex_file}&quot;">
  152. </div>
  153. <!-- HIDDEN:key,ctx -->
  154. <input type='hidden' id='xowa.addon.math.apps.tex_to_dvi__key_box' value='xowa.addon.math.apps.tex_to_dvi'></input>
  155. <input type='hidden' id='xowa.addon.math.apps.tex_to_dvi__ctx_box' value='app'></input>
  156. </div>
  157. <!-- DIV:help -->
  158. <div id='xowa.addon.math.apps.tex_to_dvi_help_div' class='xohelp_div'>
  159. <div id='xowa.addon.math.apps.tex_to_dvi_help_msg' class='xohelp_msg'><p>Converts tex to dvi (needed for LaT<sub>E</sub>X; not needed for MathJax) (Recommended: <a href="http://www.miktex.org/" rel="nofollow" class="external text" tabindex="-1">MikTeX</a>)
  160. </p>
  161. </div>
  162. </div>
  163. <div class="xocfg_row flex_div">
  164. <!-- BTN:help_item -->
  165. <div class='xocfg_itm_help'>
  166. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.math.apps.dvi_to_png")' title='view more info'>&nbsp;</span>
  167. </div>
  168. <!-- TEXT:key -->
  169. <div id='xowa.addon.math.apps.dvi_to_png__name' class='xocfg_itm_name'>Dvi to png</div>
  170. <!-- BTN:undo -->
  171. <div id='xowa.addon.math.apps.dvi_to_png__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
  172. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.math.apps.dvi_to_png")' title="reset to &quot;~{<>bin_plat_dir<>}miktex\texmfs\install\miktex\bin\dvipng|&quot;~{dvi_file}&quot; -o &quot;~{png_file}&quot; -q* -T tight -bg Transparent&quot;">&nbsp;</span>
  173. </div>
  174. <!-- TEXT:val -->
  175. <div class='xocfg_itm_data'>
  176. <input class="xocfg_data__io_cmd__exe__txt" id="xowa.addon.math.apps.dvi_to_png-exe" data-xocfg-key="xowa.addon.math.apps.dvi_to_png" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{<>bin_plat_dir<>}miktex\texmfs\install\miktex\bin\dvipng"></input>
  177. <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.addon.math.apps.dvi_to_png-exe", "Please select a file.");'>&nbsp;</span><br/>
  178. <input class="xocfg_data__io_cmd__arg__txt" id="xowa.addon.math.apps.dvi_to_png-arg" data-xocfg-key="xowa.addon.math.apps.dvi_to_png" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="&quot;~{dvi_file}&quot; -o &quot;~{png_file}&quot; -q* -T tight -bg Transparent">
  179. </div>
  180. <!-- HIDDEN:key,ctx -->
  181. <input type='hidden' id='xowa.addon.math.apps.dvi_to_png__key_box' value='xowa.addon.math.apps.dvi_to_png'></input>
  182. <input type='hidden' id='xowa.addon.math.apps.dvi_to_png__ctx_box' value='app'></input>
  183. </div>
  184. <!-- DIV:help -->
  185. <div id='xowa.addon.math.apps.dvi_to_png_help_div' class='xohelp_div'>
  186. <div id='xowa.addon.math.apps.dvi_to_png_help_msg' class='xohelp_msg'><p>Converts dvi to png (needed for LaT<sub>E</sub>X; not needed for MathJax) (Recommended: <a href="http://www.miktex.org/" rel="nofollow" class="external text" tabindex="-1">MikTeX</a>)
  187. </p>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. <div id="mw-head" class="noprint">
  196. <div id="left-navigation">
  197. <div id="p-namespaces" class="vectorTabs">
  198. <h3>Namespaces</h3>
  199. <ul>
  200. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  201. </ul>
  202. </div>
  203. </div>
  204. </div>
  205. <div id='mw-panel' class='noprint'>
  206. <div id='p-logo'>
  207. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  208. </div>
  209. <div class="portal" id='xowa-portal-home'>
  210. <h3>XOWA</h3>
  211. <div class="body">
  212. <ul>
  213. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  214. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  215. <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
  216. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  217. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  218. </ul>
  219. </div>
  220. </div>
  221. <div class="portal" id='xowa-portal-started'>
  222. <h3>Getting started</h3>
  223. <div class="body">
  224. <ul>
  225. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  226. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  227. <li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
  228. <li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
  229. <li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
  230. </ul>
  231. </div>
  232. </div>
  233. <div class="portal" id='xowa-portal-android'>
  234. <h3>Android</h3>
  235. <div class="body">
  236. <ul>
  237. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  238. <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
  239. </ul>
  240. </div>
  241. </div>
  242. <div class="portal" id='xowa-portal-help'>
  243. <h3>Help</h3>
  244. <div class="body">
  245. <ul>
  246. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  247. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  248. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  249. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  250. </ul>
  251. </div>
  252. </div>
  253. <div class="portal" id='xowa-portal-blog'>
  254. <h3>Blog</h3>
  255. <div class="body">
  256. <ul>
  257. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  258. </ul>
  259. </div>
  260. </div>
  261. <div class="portal" id='xowa-portal-links'>
  262. <h3>Links</h3>
  263. <div class="body">
  264. <ul>
  265. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  266. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  267. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  268. </ul>
  269. </div>
  270. </div>
  271. <div class="portal" id='xowa-portal-donate'>
  272. <h3>Donate</h3>
  273. <div class="body">
  274. <ul>
  275. <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
  276. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  277. <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
  278. </ul>
  279. </div>
  280. </div>
  281. </div>
  282. </body>
  283. </html>