exit

### Directories of the TeX Fonts Metric (tfm)

TeX4ht searches the hypertext fonts in the working directory, and in the following optional directories, in the given order.

- The directory named in the command line of tex4ht, identified with the prefix ‘-t’.

- The directory identified with the character ‘t’ in the tex4ht.env file.

- The directory whose name is fed into tex4ht.c during compilation time, through the program variable TFMDIR.

- In the directory holding the executable tex4ht (only for MS Windows).

A given address may start with the character ‘~’ or the character pair ‘~~’. The single character ‘~’ is interpreted to be the directory address of the root, provided in an environment variable named HOME. The character pair ‘~~’ is interpreted to be a directory address provided in an environment variable named TEX4HTTFM. The address stored in the latter environment variable may also start with a single character ‘~’.

The optional environment variable TEX4HTTFM may hold one or more addresses. The addresses must be separated by a character which does not appear in the addresses, and that character must also delimit the content at the start and end points.

The system variable MAXFONTS of tex4ht.c places a limit on the number of fonts allowed in the documents. The default setting doesn’t provide such a limit.

If the program tex4ht.c is compiled with the ‘-DKPATHSEA’ switch on, TeX4ht ignores its own search and delegate it to the kpathsea utility.

A given address may start with the character ‘~’ or the character pair ‘~~’. The single character ‘~’ is interpreted to be the directory address of the root, provided in an environment variable named HOME. The character pair ‘~~’ is interpreted to be a directory address provided in an environment variable named TEX4HTA. The address stored in the latter environment variable may also start with a single character ‘~’.