1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Configuring tex4ht with kpathsea
The tex4ht manuals detail the configuration of tex4ht and t4ht using both
command-line options and (preferably) lines in the configuration file
'tex4ht.env'. If compiled with support for the kpathsea file search library,
tex4ht can use the variables 'TEX4HTINPUTS' and 'T4HTINPUTS' from the global
kpathsea configuration file 'texmf.cnf' (if defined).
In the latest versions of file 'texmf.cnf' distributed with Debian (package
tetex-bin), variable T4HTINPUTS is set to ".;$TEXMF/tex4ht//", which is also
the kpathsea-default for TEX4HTINPUTS. With this setting, all the
tex4ht-specific files (*.env, *.htf) will be found automatically, without the
need for entries in the tex4ht-specific configuration file (tex4ht.env).
For simplicity, therefore, the 't', 'i' and 'H' lines have been commented out
in tex4ht.env in the Debian package. If tex4ht complains that it cannot find
particular files, you can either adjust your texmf.cnf or tex4ht.env: in the
latter case, you may have to use the '-e' option after the tex4ht and t4ht
commands in /usr/bin/ht to ensure that file tex4ht.env is found.
But note the following comment from the author of tex4ht:
kpathsea is not that important for tex4ht, because the latter program also
uses a cache tex4ht.fls of its own to speed up searches. The cache is in
particular important for htf fonts, because these fonts can have different
variants carrying identical file names in different directories.
Andrew Gray <ajpg@debian.org>,
Mon, 21 Jun 1999 22:32:25 +0100
(Written for the Debian package of tex4ht, but may be used by others.)
|