exit Modify

Composition of tex4ht.env

Tex4ht consults this file for system-dependent information. The file consists of a sequence of commands, where each command occupies a line and is identified with a distinguished character code in column 1. The following are the possible character codes and their meaning.

t
This character identifies the directory where the font metric (.tfm) files of TeX are stored.

A directory name can also be encoded into tex4ht during compilation time through the variable TFMDIR (without the character code).

Alternatively, a directory name can be provided in the command line of tex4ht, in which case the character code should be present and immediately preceded by a `-' character.

The default setting has a limit of 255 on the number of fonts TeX may use. This bound can be changed through the system variable MAXFONTS of tex4ht.c.

i
This character identifies a directory where the hypertext font (.htf) files of tex4ht are stored.

a
This character identifies aliases to the htf fonts.

g
This character identifies the extension tex4ht should associate to names of the files of pictures it creates it creates. The default corresponds to a setting of the form `g.gif'.

A directory name can also be encoded into tex4ht during compilation time through the variable LGTYP, in which case the character code should be omitted.

Alternatively, a an extension can be provided in the command line of tex4ht, in which case the character code should be present and immediately preceded by a `-' character.

s
This character identifies a command for translating a page in a dvi file into a picture for a html page. When needed, a sequence of such commands can be placed in consecutive lines to form a block of commands for handling the translation.

b
This character identifies a comment to be placed in the `.lg' file, before the scripts. for creating pictures for symbols.
Lines start with other characters are treated as comments, and empty lines are treated as file terminators. Example

          t/n/candy/0/tex/teTeX/texmf/fonts/tfm/
          i/n/soda/0/gurari/tex4ht-fonts.dir/
          acmtex cmtt
          acmbx cmr
          acmsl cmr
          aptmb cmr
          aptmri cmti
          aptmr7 cmr
          acmss cmti
          acmcsc cmr