Subject: tex4htk search paths. 
Date: 04 Feb 1998 21:22:46 +0100 
 
Lines: 43 
X-Mailer: Gnus v5.4.66/Emacs 19.34 
 
I’m wondering whether the texmf tree really is the proper place for 
the tex4htk.env and .htf files.  Unless these need to be read by TeX, 
the proper location would be somewhere in 
  texmf/tex4htk/ 
which is accessible by using kpse_program_text_format (or 
kpse_program_binary_format) in the kpse_find_file calls, and can be 
modified by defining TEX4HTKINPUTS in texmf.cnf or the environment. 
 
 
If so, the necessary changes would look something like this... 
 
--- tex4ht.c-  Fri Jan 30 17:00:55 1998 
+++ tex4ht.c  Wed Feb  4 21:20:33 1998 
@@ -3038,7 +3038,7 @@ 
        char *p, *q, *in_name = "", *out_name = ""; 
 
 #ifdef KPATHSEA 
-   kpse_set_progname (argv[0]); 
+   kpse_set_program_name (argv[0], NULL); 
 #endif 
 
 
@@ -3175,7 +3175,7 @@ 
 
 #ifdef KPATHSEA 
   if( !dot_file ) 
-    dot_file = kpse_open_file ("tex4ht.env", kpse_tex_format); 
+    dot_file = kpse_open_file ("tex4ht.env", kpse_program_text_format); 
 #endif 
 
 
@@ -3648,7 +3648,7 @@ 
 
 #ifdef KPATHSEA 
   if( !file ){ char * htfname; 
-     htfname= kpse_find_file (name, kpse_tex_format, 0); 
+     htfname= kpse_find_file (name, kpse_program_text_format, 0); 
      if ( htfname) file= fopen(htfname,READ_TEXT_FLAGS); 
   } 
 #endif 
 
-- 
Olaf Weber