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
|
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/TR/xhtml1/transitional"
>
<head><title>directory</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
<!--xhtml,th4,index-->
<meta name="src" content="mn.tex" />
<meta name="date" content="2001-02-28 17:02:00" />
<link rel="stylesheet" type="text/css" href="mn.css" />
</head><body
>
<a
href="mn38.html#mn39.html" >exit</a>
<h3 class="SubSectionHead"><a
name="QQ1-39-34"></a>Placement of the Environment File</h3>
<!--l. 5837--><p class="noindent"><a
name="index39-34001"></a> <a
name="index39-34002"></a> <a
name="index39-34003"></a> <a
name="index39-34004"></a> <a
name="index39-34005"></a><a
name="envloc"></a> The <span class="cmtt-10">tex4ht.c </span>and <span class="cmtt-10">t4ht.c </span>programs retrieve the information about their platform from an environment file. The
programs search the file at the following locations, in the given order.
</p><ul type="disc" >
<li>The address specified within the <a
href="mn29.html" >command lines</a> of <span class="cmtt-10">tex4ht </span>and <span class="cmtt-10">t4ht</span>, and identified there by the prefix ‘<span class="cmtt-10">-e</span>’.
</li>
<li>The address <span class="cmtt-10">tex4ht.env </span>in the work directory. </li>
<li>At the location specified by an optional environment variable named <span class="cmtt-10">TEX4HTENV</span>. </li>
<li>The address <span class="cmtt-10">tex4ht.env </span>in the <a
href="mn40.html" name="mn40.html" >root</a> directory. </li>
<li>The address provided in the variable <a
href="mn46.html#x-ENVFILE" name="ENVFILE">ENVFILE</a> of tex4ht and t4ht during compilation. </li>
<li>At the directories of kpathsea, to be searched by that utility, if the <span class="cmtt-10">tex4ht.c </span>and <span class="cmtt-10">t4ht.c </span>programs are compiled
with the ‘<span class="cmtt-10">-DKPATHSEA</span>’ switch on.
<!--l. 5875--><p class="indent"> For instance,
</p><!--l. 5877--><p class="indent"> <span class="cmtt-10">gcc -O2 -DKPATHSEA -I/usr/local/teTeX/include -L/usr/local/teTeX/lib -o tex4ht tex4ht.c</span>
<span class="cmtt-10">-DHAVE_DIRENT_H -lkpathsea</span> </p></li></ul>
<!--l. 5883--><p class="indent"> A given address may start with the character ‘<span class="cmtt-10">~</span>’. This character is interpreted to be the directory address of the
root (as provided in an environment variable named <span class="cmtt-10">HOME</span>).
</p><!--l. 5889--><p class="indent"> The file <span class="cmtt-10">tex4ht.env </span>may be renamed to ‘<span class="cmtt-10">.tex4ht</span>’, if your system allows names consisting only of the extension
part.
</p>
</body></html>
|