exit

### Directories for the Virtual Hypertext Fonts (htf)

Each font of TeX may have numerous virtual hypertext font to map to. The i directives of tex4ht.env, as well as the i switches of the tex4ht command, may be used to identify the subdirectories where the target virtual fonts are to be found.

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 ‘-i’.

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

- The directory whose name is encoded into tex4ht during compilation time, within a string "..." fed into the variable HTFDIR of tex4ht.c.

- 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 the directory address provided in an environment variable named TEX4HTHTF. The address stored in the latter environment variable may also start with a single character ‘~’.

The optional environment variable TEX4HTHTF 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.

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

Generated August 24, 2020 - tex4ht home page