| 1 |
<?xml version="1.0" encoding="iso-8859-1" ?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 4 |
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> |
| 5 |
<html xmlns="http://www.w3.org/1999/xhtml" |
| 6 |
> |
| 7 |
<head><title>bookkeeping file</title> |
| 8 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| 9 |
<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" /> |
| 10 |
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" /> |
| 11 |
<!-- xhtml,th4,index --> |
| 12 |
<meta name="src" content="mn.tex" /> |
| 13 |
<link rel="stylesheet" type="text/css" href="mn.css" /> |
| 14 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 15 |
</head><body |
| 16 |
> |
| 17 |
<a |
| 18 |
href="mn34.html#mn35.html" >exit</a> <h3 class="SubSectionHead"><a |
| 19 |
name="QQ1-35-74"></a>Placement of the Bookkeeping File</h3> |
| 20 |
<a |
| 21 |
name="index35-74001"></a> <a |
| 22 |
name="index35-74002"></a> <a |
| 23 |
name="index35-74003"></a> <a |
| 24 |
name="index35-74004"></a><a |
| 25 |
name="TEX4HTWR"></a>To cut down on the time invested to locate files, the <span class="cmtt-10">tex4ht.c </span>program maintains a bookkeeping file where it |
| 26 |
records the addresses of the files it finds. Whenever the program needs to locate a file, it first searches the address in |
| 27 |
the bookkeeping file. If it doesn’t find the address there, the program embarks on a search throughout the physical |
| 28 |
directories of its platform. |
| 29 |
<!--l. 8190--><p class="indent" > The program places the bookkeeping file at the first applicable location of the following list. |
| 30 |
</p><!--l. 8193--><p class="indent" > |
| 31 |
</p><ol type="1" > |
| 32 |
<li>The pointer specified by an optional ‘<span class="cmtt-10">-l</span>’ switch provided to the invocation of the <span class="cmtt-10">tex4ht </span>program. |
| 33 |
</li> |
| 34 |
<li>A file named <span class="cmtt-10">tex4ht.fls </span>in the directory specified by an optional environment variable named <span class="cmtt-10">TEX4HTWR</span>. |
| 35 |
</li> |
| 36 |
<li>The location specified by an optional ‘<span class="cmtt-10">l</span>’ record provided in the environment file. </li> |
| 37 |
<li>A file named <span class="cmtt-10">tex4ht.fls </span>in the work directory. </li></ol> |
| 38 |
<!--l. 8209--><p class="indent" > A given address may start with the character ‘<span class="cmtt-10">~</span>’ or the character pair ‘<span class="cmtt-10">~~</span>’. The single character ‘<span class="cmtt-10">~</span>’ is |
| 39 |
interpreted to be the directory address of the root, provided in an environment variable named <span class="cmtt-10">HOME</span>. The |
| 40 |
character pair ‘<span class="cmtt-10">~~</span>’ is interpreted to be a directory address provided in an environment variable named |
| 41 |
<span class="cmtt-10">TEX4HTWR</span>. The address stored in the latter environment variable may also start with a single character |
| 42 |
‘<span class="cmtt-10">~</span>’. |
| 43 |
</p><!--l. 8220--><p class="indent" > The bookkeeping file must have writable access mode, and the directory which contains the file should have a |
| 44 |
compatible access mode. On multi-user platforms, it is recommended not to share the bookkeeping file, but to ask |
| 45 |
for such files in the users’ directories. |
| 46 |
</p><!--l. 8226--><p class="indent" > The bookkeeping file is a dynamically constructed variant of the ls-R file of kpathsea. TeX4ht |
| 47 |
ignores its own bookkeeping mechanism, if the program <span class="cmtt-10">tex4ht.c </span>is compiled with a raised <span class="cmtt-10">-DKPATHSEA</span> |
| 48 |
switch. |
| 49 |
|
| 50 |
</p> |
| 51 |
<hr /> |
| 52 |
<!--l. 8230--><p class="indent" > <small>Generated August 24, 2020 - <a href="/tex4ht/">tex4ht home page</a></small></p> |
| 53 |
</body></html> |