[l2h] texexpand fails

Julius Smith Julius Smith <jos@ccrma.stanford.edu>
Wed, 07 Apr 1999 12:50:02 -0700


I just installed l2h-99.1 on Windows NT, install-test looks good,
but l2h fails on example/report.tex saying "texexpand failed".
I constructed a series of tests in l2h as follows:

	&syswait("$TEXEXPAND")
	    && die " texexpand TEST 0 failed: $!\n";
	print "\n$TEXEXPAND "
	    . "$texfilepath$dd$FILE.$EXT \n";
	&syswait("$TEXEXPAND "
	    . "$texfilepath$dd$FILE.$EXT")
	    && die " texexpand TEST 1 failed: $!\n";
	print "\n$TEXEXPAND "
	    . "$texfilepath$dd$FILE.$EXT > foo\n";
	&syswait("$TEXEXPAND "
		 . "$texfilepath$dd$FILE.$EXT > foo")
	    && die " texexpand TEST 2 failed: $!\n";
	print "\n$TEXEXPAND "
	    . "$texfilepath$dd$FILE.$EXT > ${DESTDIR}bar\n";
	&syswait("$TEXEXPAND "
		 . "$texfilepath$dd$FILE.$EXT > ${DESTDIR}bar")
	    && die " texexpand TEST 3 failed: $!\n";
	&syswait("$TEXEXPAND $dbg -auto_exclude $unseg "
		 . "-save_styles $DESTDIR${TMP_}styles "
		 . ($TEXINPUTS ? "-texinputs $TEXINPUTS " : '' )
		 . (($VERBOSITY >2) ? "-verbose " : '' )
		 . "$texfilepath$dd$FILE.$EXT > $DESTDIR$TMP_$FILE")
	    && die " texexpand failed: $!\n";
	print STDOUT "\n ***  `texexpand' done ***\n" if ($VERBOSITY > 1);

and the result is 

l2h report

 *** initialise *** 
This is LaTeX2HTML Version 99.1 release (March 30, 1999)
by Nikos Drakos, CBLU, University of Leeds.

Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2  



Loading H:/Local/l2h/l2h-99p1\versions\html3_2.pl

 *** processing declarations ***

 *** check modes *** 
 ***  file: report *** 
OPENING H:\Local\l2h\l2h-99p1\example\report.tex 

Cannot create directory H:\Local\l2h\l2h-99p1\example\report\: File exists,
reusing it.
 *** calling  `texexpand' ***
texexpand for LaTeX2HTML V98.2

perl H:/Local/l2h/l2h-99p1/texexpand H:\Local\l2h\l2h-99p1\example\report.tex 
%
%  This simple example illustrates how documents can be
%  split into smaller segments, each segment processed
%  by latex2html separately.  This document can be
...
perl H:/Local/l2h/l2h-99p1/texexpand
H:\Local\l2h\l2h-99p1\example\report.tex > foo
 texexpand TEST 2 failed: No such file or directory

So, adding " > foo " causes it to fail.
It works, however, if I type the command myself
in a shell (after changing all "\" to "/" since my emacs
shell interprets "\"  as the quote char).

Any ideas how this could happen?  
Am I the only person running Windows NT?

Thanks,
JOS

_____________________________
       Julius Smith, Assoc. Prof.
    CCRMA, Stanford University
http://www-ccrma.stanford.edu/~jos/