1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
<?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>Compile</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" />
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" />
<!-- xhtml,th4,index -->
<meta name="src" content="mn.tex" />
<link rel="stylesheet" type="text/css" href="mn.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head><body
>
<a
href="mn31.html#mn37.html" >exit Compile</a> <a
name="doc-c"></a>
<h3 class="SubSectionHead"><a
name="QQ1-37-76"></a>Compiling tex4ht.c</h3>
<ul type="disc" >
<li> <a
name="index37-76001"></a>You might want to activate some of the options at the start of the file by uncommenting the corresponding
lines.
<div class="Verbatim"><span class="cmtt-10">/*</span><span class="cmtt-10"> **********************************************</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> Compiler</span><span class="cmtt-10"> options</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> *</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><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><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> *</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">------------------------------------------------*</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> Classic</span><span class="cmtt-10"> C</span><span class="cmtt-10"> (CC)</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> default</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> ANSI</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> ansi-c,</span><span class="cmtt-10"> c++</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> DOS_C</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> HAVE_STRING_H</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> <string.h></span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> HAVE_DIRENT_H</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> <dirent.h></span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> HAVE_SYS_NDIR_H</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> <sys/ndir.h></span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> HAVE_SYS_DIR_H</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> <sys/dir.h></span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> HAVE_NDIR_H</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> <dir.h></span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> WIN32</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> KPATHSEA</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">#define</span><span class="cmtt-10"> BCC32</span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> </span><span class="cmtt-10"> bordland</span><span class="cmtt-10"> c++</span><span class="cmtt-10"> </span>
<br /><span class="cmtt-10"> </span>
<br /><span class="cmtt-10">*************************************************</span><span class="cmtt-10"> </span>
<br /></div>
<!--l. 8513--><p class="noindent" ></p></li>
<li> <a
name="index37-76002"></a> <a
name="index37-76003"></a> <a
name="index37-76004"></a> <a
name="index37-76005"></a> <a
name="index37-76006"></a> <a
name="index37-76007"></a> <a
name="index37-76008"></a>Values may be assigned in the command line or the beginning of the source file, to the environment variables
<a
href="mn32.html#ENVFILE" name="x-ENVFILE">ENVFILE</a>, <a
href="mn40.html#HTFDIR" name="x-HTFDIR">HTFDIR</a>, <a
href="mn38.html#LGPIC" name="x-LGPIC">LGPIC</a>, <a
href="mn38.html#LGSEP" name="x-LGSEP">LGSEP</a>, <a
href="mn34.html#LGTYP" name="x-LGTYP">LGTYP</a>, <a
href="mn36.html#MAXFONTS" name="x-MAXFONTS">MAXFONTS</a>, and <a
href="mn36.html#TFMDIR" name="x-TFMDIR">TFMDIR</a>.
<!--l. 8535--><p class="indent" > For instance,
</p><!--l. 8537--><p class="indent" > <span class="cmtt-10">gcc -o tex4ht tex4ht.c -DENVFILE=’"path/tex4ht.dir/texmf/tex4ht/base/unix/tex4ht.env"’</span>
<span class="cmtt-10">-DHAVE_DIRENT_H</span>
</p>
</li></ul>
<!--l. 8543--><p class="indent" > The switch ‘<span class="cmtt-10">-DENVFILE</span>’ is optional, if the program can reach the environment file in an <a
href="mn32.html#envloc">alternative</a>
manner.
</p>
<h3 class="SubSectionHead"><a
name="QQ1-37-77"></a>Compiling t4ht.c</h3>
<a
name="index37-77001"></a>The environment variable <span class="cmtt-10">ENVFILE </span>is available also in ‘<span class="cmtt-10">t4ht.c</span>’.
<!--l. 8553--><p class="indent" > For instance,
</p><!--l. 8555--><p class="indent" > <span class="cmtt-10">gcc -o t4ht t4ht.c -DENVFILE=’"gold/tex4ht.dir/texmf/tex4ht/base/unix/tex4ht.env"’</span>
</p>
<hr />
<!--l. 8559--><p class="indent" > <small>Generated August 24, 2020 - <a href="/tex4ht/">tex4ht home page</a></small></p>
</body></html>
|