<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
      <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
   ]>

<html xmlns="http://www.w3.org/1999/xhtml">


<head>
	<link rel="stylesheet" href="http://www.mathtoweb.com/css/mathtoweb_web.css" type="text/css" />
	<script type="text/javascript" src="http://www.mathtoweb.com/js/mathtoweb.js"></script>
	<title>MathToWeb - Using the Command-line Version</title>
	<link rel="shortcut icon" href="http://www.mathtoweb.com/images/mathtoweb16x16.ico" />
</head>

<body>

<!-- Main Title -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">

<tr> <!-- Top title and Home/Contact links -->
	<td id="title_left"><span class="title_font">MathToWeb</span> <span class="com_font">.com</span> <!--<span class="title_section_font">[ Support ]</span>--></td>
	<!--<td id="title_right"><span class="contacts_font"><a class="contacts_font" href="http://www.mathtoweb.com">Home</a><span class="divider">|</span><a class="contacts_font" href="http://www.mathtoweb.com/mathtoweb_support.xml">Support</a><span class="divider">|</span><a class="contacts_font" href="http://www.mathtoweb.com/mathtoweb_pro.xml">MathToWeb Pro</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> </td>-->
</tr>

<!-- Navigation toolbar -->
<!--<tr> 
	<table border="0" class="toolbar">
	<tr>

	<td class="toolbar-unselected">
	<a class="atoolbar" href="http://www.mathtoweb.com/mathtoweb_whats_new.xml">What's&nbsp;New</a></td>

	<td class="toolbar-selected">
	<a class="atoolbar" href="http://www.mathtoweb.com/mathtoweb_users_guide.xml">User's Guide</a></td>

	<td class="toolbar-unselected">
	<a class="atoolbar" href="http://www.mathtoweb.com/mathtoweb_faqs_general.xml">FAQs</a></td>

	<td class="toolbar-unselected">
	<a class="atoolbar" href="http://www.mathtoweb.com/mathtoweb_support.xml">Support</a></td>

	<td class="toolbar-unselected">
	<a class="atoolbar" href="http://www.mathtoweb.com/mathtoweb_download.xml">Download</a></td>

	<td class="toolbar-unselected">
	<a class="atoolbar" href="http://www.mathtoweb.com/mathtoweb_open_source.xml">Open Source</a></td>

	<td class="toolbar-unselected">
	<a class="atoolbar" href="http://www.mathtoweb.com/mathtoweb_pro.xml">MathToWeb Pro</a></td>

	</tr>
	</table>
</tr>-->

</table>


<p class="title-summary">
<span class="title-summary-main">MathToWeb User's Guide</span>  <span class="title-summary-list">using the command-line version of MathToWeb...</span>
</p>

<div style="margin-left: 1em;">

<h3 class="section" id="Using_command_line_version_of_MathToWeb">Using the command-line version of MathToWeb</h3>

<p>
	<h4>&nbsp;&nbsp;Testing the template (command-line version)</h4>
	<ul>
	
	<li>Copy the template to a text file and save to a directory of your choice as <code>test.xml</code>.<br />
	(You can name it anything you like, but be sure it has an .xml extension.)</li>

	<li>Copy the MathToWeb program (mathtoweb.jar) <!--(either mathtoweb.jar or mathtoweb.exe, whatever you are using)--> to the
	same directory as the above file.</li>

	<li>
	At the command line, navigate to the directory containing your xml file and the mathtoweb program ( let's call this directory C:\DM1 ).<br/>  
	Run MathToWeb - in order to convert the Latex in the document to MathML - by typing the following:<br/>
	<!--(it will take approximately 10 seconds to complete the conversion)<br/>-->
	<!--<br/>If you are using the cross-platform Java 'jar' (<u>mathtoweb.jar</u>), type:-->
	<code><pre class="command-line">C:\DM1&gt;java -jar mathtoweb.jar test.xml</pre></code>
	<!--If you are using the Windows 'exe' (<u>mathtoweb.exe</u>), type:
	<code><pre class="command-line">&gt;mathtoweb test.xml</pre></code>-->
	</li>

	<li>MathToWeb will create a separate file containing your converted text and will, in this instance, name it:
	<code>test_MathToWeb_000.xml</code>.<br/>
	View this file using the 'Open File...' command on your browser's 'File' menu.
	</li>
	</ul>
</p>

<p>
<a href="javascript:history.back()">&lt;&lt;&nbsp;Back</a><br/>
<!--<a href="javascript:history.back()"><img src="http://www.mathtoweb.com/images/back_link_blue.gif" border=0></a><br/>-->
</p>

</div>

<p class="copyright">
Copyright &#169;&nbsp;2007-2008&nbsp;&nbsp;MathToWeb.com&nbsp;/&nbsp;<a href="http://www.pwhunter.com">Paul Hunter</a>&nbsp;&nbsp; |&nbsp;&nbsp;<a href="mailto:support@mathtoweb.com?subject=MathToWeb - Question">contact me</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:new_window('http://www.mathtoweb.com/privacy_policy.xml')">privacy policy</a>&nbsp;&nbsp;|
</p>


</body>
</html>
