<?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> <html xmlns="http://www.w3.org/1999/xhtml" > <head><title>similar manner</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> <meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> <!-- xhtml,th4,index --> <meta name="src" content="mn.tex" /> <meta name="date" content="2007-07-08 23:10:00" /> <link rel="stylesheet" type="text/css" href="mn.css" /> </head><body > <a href="mn.html#mn-port.html" >exit similar manner</a> <h3 class="SubSectionHead"><a name="QQ1-29-42"></a>Establishing a Port</h3> <a name="index29-42001"></a>A port can be established in the following manner. <!--l. 6912--><p class="indent" > </p><ol type="1" > <li>Set a directory, say,‘<span class="cmtt-10">~/tex4ht.dir</span>’. </li> <li>Download the file <a href="tex4ht.zip" >tex4ht.zip</a> into the directory <span class="cmtt-10">tex4ht.dir </span>and unzip it. </li> <li>Add to ‘<span class="cmtt-10">tex4ht.dir/texmf/tex4ht/base/</span>’ and ‘<span class="cmtt-10">tex4ht.dir/bin/</span>’ a subdirectory named, say, <span class="cmtt-10">mydir</span>. </li> <li>Copy ‘<span class="cmtt-10">tex4ht.dir/texmf/tex4ht/base/unix/tex4ht.env</span>’ or ‘<span class="cmtt-10">tex4ht.dir/texmf/tex4ht/base/win32/tex4ht.env</span>’ into ‘<span class="cmtt-10">tex4ht.dir/texmf/tex4ht/base/mydir/tex4ht.env</span>’. <a href="mn32.html" name="mn32.html" >Modify</a> the file to meet the setting of your environment. </li> <li><a href="mn35.html" name="mn35.html" >Compile</a> the source files ‘<span class="cmtt-10">tex4ht.dir/temp/tex4ht.c</span>’ and ‘<span class="cmtt-10">tex4ht.dir/temp/t4ht.c</span>’ into executable programs <span class="cmtt-10">tex4ht </span>and <span class="cmtt-10">t4ht</span>, and move the latter programs into ‘<span class="cmtt-10">tex4ht.dir/bin/</span>’. </li> <li>Set a <a href="mn36.html" name="mn36.html" >driver</a> for the t4ht utility. </li></ol> </body></html>