[l2h] latex2html 99.1 TEXINPUTS problem (w/ patch)
Ralf Fassel
Ralf Fassel <ralf@akutech.de>
Mon, 18 Oct 1999 16:55:16 +0200 (MDT)
I hope this address is valid for sending bug reports for
latex2html. The one mentioned in the source file bounces
(latex2html@mcs.anl.gov)..
1) There should be a prominent note in the latex2html distribution
about where to send bug reports, and the wrong addres in latex2html
itself should be corrected.
2) the handling of `TEXINPUTS' in latex2html 99.1 is incorrect:
the contents of $ENV{TEXINPUTS} are not passed to texexpand, and
texexpand will fail due to looking in the wrong directories.
The mailing list archive did show some messages related to this,
none of which seemed to fix the real problem.
Proposed change: pass $ENV{'TEXINPUTS'} instead of $TEXINPUTS to
texexpand:
diff -c /software/latex2html/99.1/latex2html.ORIG /software/latex2html/99.1/latex2html
*** /software/latex2html/99.1/latex2html.ORIG Thu Apr 1 13:03:55 1999
--- /software/latex2html/99.1/latex2html Mon Oct 18 16:31:19 1999
***************
*** 975,981 ****
# unless (-x $TEXEXPAND);
&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";
--- 975,981 ----
# unless (-x $TEXEXPAND);
&syswait("$TEXEXPAND $dbg -auto_exclude $unseg "
. "-save_styles $DESTDIR${TMP_}styles "
! . ($ENV{'TEXINPUTS'} ? "-texinputs $ENV{'TEXINPUTS'} " : '' )
. (($VERBOSITY >2) ? "-verbose " : '' )
. "$texfilepath$dd$FILE.$EXT > $DESTDIR$TMP_$FILE")
&& die " texexpand failed: $!\n";
Diff finished at Mon Oct 18 16:31:23
Regards
R'
--
Unix is user-friendly, its just picky about who it is friends with.