[tex4ht] tex4ht.c compiling

Michal Hoftich michal.h21 at gmail.com
Tue May 12 23:53:01 CEST 2015

Hi all,

I've tried to compile tex4ht.c. I was able to run the compilation
without errors, but the resulting executable doesn't work correctly.
My compilation command is:

$ gcc -DHAVE_DIRENT_H -DKPATHSEA -lkpathsea tex4ht.c -o tex4ht

when I try to process a dvi file with resulting executable, I got some warnings:

- warning: kpathsea: configuration file texmf.cnf not found

- warning --- Missing search support for kpse_find_file--using kpsewhich calls
- --- warning --- Couldn't find font `pcrr7t.htf' (and all other htf files)

kpse warnings aren't so serious, as it finds tex4ht.env and correct
.tfm files, but missing .htf support is more serious, as I don't get
correct characters and css in the output.

What am I missing? I suppose it is just some option to set correct directory?

Best regards,

More information about the tex4ht mailing list