1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-10-27 20:34:16 +00:00
gnosygnu_xowa/home/wiki/Options/Math.html

485 lines
17 KiB
HTML
Raw Normal View History

2016-04-17 15:48:03 +00:00
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Options/Math - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
2016-06-13 03:17:17 +00:00
<style data-source="xowa" type="text/css">
2016-06-26 06:10:12 +00:00
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
2016-04-17 15:48:03 +00:00
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
.options_textbox {padding: 2px; border: 1px solid black;}
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
.options_textarea {padding: 2px; border: 1px solid black;}
.options_select {padding: 2px; border: 1px solid black;}
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
.options_checkbox {padding: 2px; border: 1px solid black;}
.options_readonly {background-color:#F9F9F9;}
</style>
2016-06-13 03:17:17 +00:00
<style data-source="xowa" type="text/css">
2016-04-17 15:48:03 +00:00
.optionsButton
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: lightgray;
text-align: center;
}
.optionsLink
{
color: black !important;
text-decoration: none;
}
.optionsButton.active
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: dimgray;
color: white !important;
border: solid 1px dimgray;
}
.optionsButton.active a
{
color: white !important;
}
.tabs
{
width: 100%;
margin-top: 10px;
}
.tab-links ul
{
margin-left: -40px;
}
.tab-links li
{
margin: 0px 0px 0px 0px;
float: left;
list-style: none;
}
.tab-links a
{
padding: 9px 15px 9px 15px;
border-radius: 3px 3px 0px 0px;
background: #f0f0f0;
font-family: 'Segoe UI';
font-size: 13px;
color: black !important;
text-decoration: none;
border-radius: 3px;
border-top: solid 1px gray;
border-left: solid 1px gray;
border-right: solid 1px gray;
}
.tab-links a:hover
{
background: #B0B0B0;
text-decoration: none;
}
li.active a, li.active a:hover
{
background: #fff;
color: #4c4c4c;
font-weight: bold;
}
.tab-content
{
padding: 15px;
border-radius: 3px;
background: #fff;
border-top: solid 1px gray;
margin-top: 5px;
min-height: 300px;
}
</style>
2016-06-13 03:17:17 +00:00
<style data-source="xowa" type="text/css">
2016-06-26 06:10:12 +00:00
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
2016-04-17 15:48:03 +00:00
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
.options_textbox {padding: 2px; border: 1px solid black;}
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
.options_textarea {padding: 2px; border: 1px solid black;}
.options_select {padding: 2px; border: 1px solid black;}
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
.options_checkbox {padding: 2px; border: 1px solid black;}
.options_readonly {background-color:#F9F9F9;}
</style>
2016-06-13 03:17:17 +00:00
<style data-source="xowa" type="text/css">
2016-04-17 15:48:03 +00:00
.optionsButton
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: lightgray;
text-align: center;
}
.optionsLink
{
color: black !important;
text-decoration: none;
}
.optionsButton.active
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: dimgray;
color: white !important;
border: solid 1px dimgray;
}
.optionsButton.active a
{
color: white !important;
}
.tabs
{
width: 100%;
margin-top: 10px;
}
.tab-links ul
{
margin-left: -40px;
}
.tab-links li
{
margin: 0px 0px 0px 0px;
float: left;
list-style: none;
}
.tab-links a
{
padding: 9px 15px 9px 15px;
border-radius: 3px 3px 0px 0px;
background: #f0f0f0;
font-family: 'Segoe UI';
font-size: 13px;
color: black !important;
text-decoration: none;
border-radius: 3px;
border-top: solid 1px gray;
border-left: solid 1px gray;
border-right: solid 1px gray;
}
.tab-links a:hover
{
background: #B0B0B0;
text-decoration: none;
}
li.active a, li.active a:hover
{
background: #fff;
color: #4c4c4c;
font-weight: bold;
}
.tab-content
{
padding: 15px;
border-radius: 3px;
background: #fff;
border-top: solid 1px gray;
margin-top: 5px;
min-height: 300px;
}
</style>
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>Options/Math</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<div>
<table>
<tr>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
</td>
<td class='optionsButton active'>
<a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
</td>
</tr>
</table>
</div>
<div class="tabs">
<div>
<ul class='tab-links' style='margin-left:0px;'>
<li class='active'>
<a href='/wiki/Options/Math'>Math</a>
</li>
<li class=''>
<a href='/wiki/Options/Scribunto'>Scribunto</a>
</li>
<li class=''>
<a href='/wiki/Options/Score'>Score</a>
</li>
<li class=''>
<a href='/wiki/Options/Wikibase'>Wikibase</a>
</li>
</ul>
</div><br>
<div class='tab-content'>
<div id="toc" class="toc">
<div id="toctitle">
<h2>
Contents
</h2>
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Math"><span class="tocnumber">1</span> <span class="toctext">Math</span></a>
</li>
<li class="toclevel-1 tocsection-2">
2016-07-18 01:56:14 +00:00
<a href="#LaTEX"><span class="tocnumber">2</span> <span class="toctext">LaT<sub>E</sub>X</span></a>
2016-04-17 15:48:03 +00:00
</li>
<li class="toclevel-1 tocsection-3">
<a href="#Notes"><span class="tocnumber">3</span> <span class="toctext">Notes</span></a>
</li>
</ul>
</div>
<div style='float:right; margin-right:10px; margin-top:5px;'>
<p>
<a href="xowa-cmd:app.user.prefs.save();" accesskey='s'><img src='file:///C:/xowa/bin/any/xowa/file/app.window/save.png' width="16" height="16">Save</a>
</p>
</div><br>
<h2>
<span class="mw-headline" id="Math">Math</span>
</h2>
<table class='options_table'>
<tr>
<td class='options_row_label'>
Enabled: <sup id="cite_ref-math_enabled_0-0" class="reference"><a href="#cite_note-math_enabled-0">[1]</a></sup>
</td>
<td>
<input xowa_prop="app.files.math.enabled" type="checkbox" class="options_checkbox" id='xowa_prop_0' checked='checked'>
</td>
</tr>
<tr>
<td class='options_row_label'>
Renderer: <sup id="cite_ref-math_renderer_1-0" class="reference"><a href="#cite_note-math_renderer-1">[2]</a></sup>
</td>
<td>
<select xowa_prop="app.files.math.renderer" xowa_prop_list="app.files.math.renderer_list" class='options_select' size="2" id='xowa_prop_1'>
<option value='mathjax' selected='selected'>
MathJax
</option>
<option value='latex'>
LaTeX
</option>
</select>
</td>
</tr>
</table>
<h2>
<span class="mw-headline" id="LaTEX">LaT<sub>E</sub>X</span>
</h2>
<table class='options_table'>
<tr>
<td class='options_row_label'>
LaT<sub>E</sub>X app
<p>
<sup id="cite_ref-2" class="reference"><a href="#cite_note-2">[3]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.convert_dvi_to_png.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_2' value='C:\xowa\bin\windows_64\miktex\miktex\bin\dvipng'><button id='xowa_prop_2_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_2", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.convert_dvi_to_png.args" class="options_textbox" style="width: 380px;" id='xowa_prop_3' value='"~{dvi_file}" -o "~{png_file}" -q* -T tight -bg Transparent"'>
</p>
</td>
</tr>
</table>
<h2>
<span class="mw-headline" id="Notes">Notes</span>
</h2>
<ol class="references">
<li id="cite_note-math_enabled-0">
<span class="mw-cite-backlink"><a href="#cite_ref-math_enabled_0-0">^</a></span> <span class="reference-text">Choose one of the following (default is <code>checked</code>)</span>
<ul>
<li>
<span class="reference-text"><b>checked</b> to transform &lt;math&gt; sections to images</span>
</li>
<li>
<span class="reference-text"><b>unchecked</b> to leave &lt;math&gt; sections as text</span>
</li>
</ul>
</li>
<li id="cite_note-math_renderer-1">
<span class="mw-cite-backlink"><a href="#cite_ref-math_renderer_1-0">^</a></span> <span class="reference-text">Choose one of the following (default is <code>MathJax</code>)</span>
<ul>
<li>
<span class="reference-text"><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</span>
</li>
<li>
2016-05-08 23:51:56 +00:00
<span class="reference-text"><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="http://xowa.org/home/wiki/App/Xtn/Mediawiki/Math/Setup.html" id="xolnki_2" title="App/Xtn/Mediawiki/Math/Setup">App/Xtn/Mediawiki/Math/Setup</a></span>
2016-04-17 15:48:03 +00:00
</li>
</ul>
</li>
<li id="cite_note-2">
<span class="mw-cite-backlink"><a href="#cite_ref-2">^</a></span> <span class="reference-text">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">MikTeX</a></span>
</li>
</ol>
</div>
</div>
2016-09-06 03:09:27 +00:00
<div id="catlinks" class="catlinks">
<div id="mw-normal-catlinks" class="mw-normal-catlinks">
Categories
<ul>
</ul>
</div>
</div>
2016-04-17 15:48:03 +00:00
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
2016-06-26 06:10:12 +00:00
<li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
2016-04-17 15:48:03 +00:00
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<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>
<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>
<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>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
2016-06-26 06:10:12 +00:00
<li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
2016-04-17 15:48:03 +00:00
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<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/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
</ul>
</div>
</div>
2016-04-17 18:00:49 +00:00
2016-04-17 15:48:03 +00:00
</div>
</body>
</html>