1
<?xml version="1.0" encoding="iso-8859-1" ?>
2
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/TR/xhtml1/transitional"
4
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
5
<html xmlns="http://www.w3.org/1999/xhtml"
6
<head><title>compile</title>
7
<head><title>MathML</title>
7
8
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
8
<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
9
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
10
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
11
<!-- xhtml,th4,index -->
10
12
<meta name="src" content="mn.tex" />
11
<meta name="date" content="2001-02-28 17:02:00" />
13
<meta name="date" content="2005-02-28 00:13:00" />
12
14
<link rel="stylesheet" type="text/css" href="mn.css" />
16
href="mn38.html#mn46.html" >exit compile</a> <a
18
href="mn.html#mn46.html" >exit MathML</a>
18
19
<h3 class="SubSectionHead"><a
19
name="QQ1-46-40"></a>Compiling tex4ht.c</h3>
20
<!--l. 6267--><p class="noindent">
23
name="index46-40001"></a>You might want to activate some of the options at the start of the file by uncommenting the corresponding
25
<pre class="Verbatim"><span class="cmtt-10">/*</span> <span class="cmtt-10">**********************************************</span>
26
<span class="cmtt-10">Compiler</span> <span class="cmtt-10">options</span> <span class="cmtt-10">*</span>
27
<span class="cmtt-10">(uncommented</span> <span class="cmtt-10">|</span> <span class="cmtt-10">command</span> <span class="cmtt-10">line)</span> <span class="cmtt-10">*</span>
28
<span class="cmtt-10">------------------------------------------------*</span>
29
<span class="cmtt-10">Clasic</span> <span class="cmtt-10">C</span> <span class="cmtt-10">(CC)</span> <span class="cmtt-10">default</span>
30
<span class="cmtt-10">#define</span> <span class="cmtt-10">ANSI</span> <span class="cmtt-10">ansi-c,</span> <span class="cmtt-10">c++</span>
31
<span class="cmtt-10">#define</span> <span class="cmtt-10">DOS_C</span>
32
<span class="cmtt-10">#define</span> <span class="cmtt-10">HAVE_STRING_H</span> <span class="cmtt-10"><string.h></span>
33
<span class="cmtt-10">#define</span> <span class="cmtt-10">HAVE_DIRENT_H</span> <span class="cmtt-10"><dirent.h></span>
34
<span class="cmtt-10">#define</span> <span class="cmtt-10">HAVE_SYS_NDIR_H</span> <span class="cmtt-10"><sys/ndir.h></span>
35
<span class="cmtt-10">#define</span> <span class="cmtt-10">HAVE_SYS_DIR_H</span> <span class="cmtt-10"><sys/dir.h></span>
36
<span class="cmtt-10">#define</span> <span class="cmtt-10">HAVE_NDIR_H</span> <span class="cmtt-10"><dir.h></span>
37
<span class="cmtt-10">#define</span> <span class="cmtt-10">WIN32</span>
38
<span class="cmtt-10">#define</span> <span class="cmtt-10">KPATHSEA</span>
39
<span class="cmtt-10">#define</span> <span class="cmtt-10">BCC32</span> <span class="cmtt-10">bordland</span> <span class="cmtt-10">c++</span>
41
<span class="cmtt-10">*************************************************</span>
43
<!--l. 6292--><p class="noindent"></p></li>
45
name="index46-40002"></a> <a
46
name="index46-40003"></a> <a
47
name="index46-40004"></a> <a
48
name="index46-40005"></a> <a
49
name="index46-40006"></a> <a
50
name="index46-40007"></a> <a
51
name="index46-40008"></a>Values may be assigned in the command line or the beginning of the source file, to the environment variables
53
href="mn39.html#ENVFILE" name="x-ENVFILE">ENVFILE</a>, <a
54
href="mn45.html#HTFDIR" name="x-HTFDIR">HTFDIR</a>, <a
55
href="mn47.html#LGPIC" name="x-LGPIC">LGPIC</a>, <a
56
href="mn47.html#LGSEP" name="x-LGSEP">LGSEP</a>, <a
57
href="mn41.html#LGTYP" name="x-LGTYP">LGTYP</a>, <a
58
href="mn43.html#MAXFONTS" name="x-MAXFONTS">MAXFONTS</a>, and <a
59
href="mn43.html#TFMDIR" name="x-TFMDIR">TFMDIR</a>.
60
<!--l. 6314--><p class="indent"> For instance,
61
</p><!--l. 6316--><p class="indent"> <span class="cmtt-10">cc -o tex4ht tex4ht.c -DENVFILE='"path/tex4ht.dir/tex4ht.env"' -DHAVE_DIRENT_H</span>
20
name="QQ1-46-83"></a>MathML</h3>
23
href="http://www.w3.org/TR/MathML2/" target="_blank" >Specifications</a>. </li>
25
href="http://www.w3.org/Math/" target="_blank" >W3C’s Math Home Page</a>. </li>
27
href="http://www.w3.org/Amaya/" target="_blank" >Amaya</a>. A browser capable of viewing MathML. </li>
29
href="http://www.dessci.com/webmath/mathplayer/" target="_blank" >MathPlayer</a>. A MathML display engine for the MicroSoft’s Internet Explorer web browser. </li>
31
href="http://www.mozilla.org" target="_blank" >Mozilla</a>. A MathML enabled browser (<a
32
href="http://ftp.mozilla.org/pub/mozilla/nightly/latest/" target="_blank" >nightlies</a>).
33
<!--l. 7545--><p class="noindent"></p></li>
35
href="http://www.integretechpub.com/" target="_blank" >TechExplorer</a>. A plug-in for viewing a large subset of TeX, LaTeX, and AMS-LaTeX, as well as MathML.
38
href="http://www.dessci.com" target="_blank" >WebEQ</a>. A Java-based renderer for MathML. </li>
40
href="ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex/base/manual.html" target="_blank" >XMLTeX</a>. LaTeX-based formatter for MathML. </li>
42
href="http://www.pragma-ade.com/" target="_blank" >ConTeXt</a>. TeX-based formatter for MathML </li>
44
href="http://www.alanwood.net/unicode/" target="_blank" >Unicode fonts</a> for browsers (Alan Wood).
64
<!--l. 6322--><p class="indent"> The switch ‘<span class="cmtt-10">-DENVFILE</span>’ is optional, if the program can reach the environment file in an <a
65
href="mn39.html#envloc">alternative</a>
68
<h3 class="SubSectionHead"><a
69
name="QQ1-46-41"></a>Compiling t4ht.c</h3>
70
<!--l. 6329--><p class="noindent"><a
71
name="index46-41001"></a>The environment variable <span class="cmtt-10">ENVFILE </span>is available also in ‘<span class="cmtt-10">t4ht.c</span>’.
72
</p><!--l. 6332--><p class="indent"> For instance,
73
</p><!--l. 6334--><p class="indent"> <span class="cmtt-10">cc -o t4ht t4ht.c -DENVFILE='"gold/tex4ht.dir/tex4ht.env"'</span>