Hello,

On Sun, 03 Feb 2008, Gábor Braun wrote:
> Sample invocation and response:
> 
> $ mk4ht htcontext file.tex
> mk4ht (2007-11-14-18:40)
> (mk4ht cfg)
> htcontext file.tex "" "" "-cvalidatehtml"
> sh: htcontext: command not found
> --- error --- failed to execute command

Oops. It looks like calling "kpsewhich" does not set "progname".

The enclosed patch works. I will fix it in the next upload.

Thanks and regards,

Kapil.
==========patch============
--- /usr/bin/mk4ht.orig 2007-12-13 09:54:45.000000000 +0530
+++ /usr/bin/mk4ht      2008-02-05 08:54:37.000000000 +0530
@@ -352,7 +352,7 @@
   $i++;
 }
 my $cmd;
-open (KPSEA, "kpsewhich " . $command[0] . " |");
+open (KPSEA, "kpsewhich --progname mk4ht " . $command[0] . " |");
 if ($cmd = <KPSEA>){
   $cmd =~ s/\s+$//;
 } else {
==========patch============
--



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to