2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/TR/xhtml1/transitional"
6
<head><title>bookkeeping file</title>
7
<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)" />
10
<meta name="src" content="mn.tex" />
11
<meta name="date" content="2001-02-28 17:02:00" />
12
<link rel="stylesheet" type="text/css" href="mn.css" />
16
href="mn41.html#mn42.html" >exit</a>
17
<h3 class="SubSectionHead"><a
18
name="QQ1-42-36"></a>Placement of the Bookkeeping File</h3>
19
<!--l. 5947--><p class="noindent"><a
20
name="index42-36001"></a> <a
21
name="index42-36002"></a> <a
22
name="index42-36003"></a> <a
23
name="index42-36004"></a><a
24
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
25
records the addresses of the files it finds. Whenever the program needs to locate a file, it first searches the address in
26
the bookkeeping file. If it doesn’t find the address there, the program embarks on a search throughout the physical
27
directories of its platform.
28
</p><!--l. 5959--><p class="indent"> The program places the bookkeeping file at the first applicable location of the following list.
29
</p><!--l. 5962--><p class="indent">
31
<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>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>The location specified by an optional ‘<span class="cmtt-10">l</span>’ record provided in the environment file. </li>
36
<li>A file named <span class="cmtt-10">tex4ht.fls </span>in the work directory. </li></ol>
37
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
38
interpreted to be the directory address of the root, provided in an environment variable named <span class="cmtt-10">HOME</span>. The
39
character pair ‘<span class="cmtt-10">~~</span>’ is interpreted to be a directory address provided in an environment variable named
40
<span class="cmtt-10">TEX4HTWR</span>. The address stored in the latter environment variable may also start with a single character
41
‘<span class="cmtt-10">~</span>’.
42
<!--l. 5989--><p class="indent"> The bookkeeping file must have writable access mode, and the directory which contains the file should have a
43
compatible access mode.
44
</p><!--l. 5993--><p class="indent"> The bookkeeping file is a dynamically constructed variant of the ls-R file of kpathsea. TeX4ht
45
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>