[l2h] latex2html bug report when handling TEXINPUTS.

Erling D. Andersen e.d.andersen at mosek.com
Fri Apr 23 14:09:17 CEST 2004


Hi
I define 

set TEXINPUTS=c:\something..

and it seems latex2html does not feed it properly to texpand.

If you change the code from

        L2hos->syswait("$TEXEXPAND $dbg -auto_exclude $unseg"
                 . "-save_styles $DESTDIR$dd$TMP_${dd}styles "
                 . ($TEXINPUTS ? "-texinputs $TEXINPUTS " : '' )
                 . (($VERBOSITY >2) ? "-verbose " : '' )
                 . "-out $DESTDIR$dd$TMP_$dd$FILE "
                 . "$texfilepath$dd$FILE.$EXT")
            && die " texexpand  failed: $!\n";

to

        $MYTEXINPUTS = $ENV{'TEXINPUTS'};

        L2hos->syswait("$TEXEXPAND $dbg -auto_exclude $unseg"
                 . "-save_styles $DESTDIR$dd$TMP_${dd}styles "
                 . ($MYTEXINPUTS ? "-texinputs $MYTEXINPUTS " : '' )
                 . (($VERBOSITY >2) ? "-verbose " : '' )
                 . "-out $DESTDIR$dd$TMP_$dd$FILE "
                 . "$texfilepath$dd$FILE.$EXT")
            && die " texexpand  failed: $!\n";


then things works very well.

I think the problem is

$TEXINPUTS

only includes the current directory.

Is my bug report correct or have I misunderstood something?

If you want to verify the bug then TEXINPUTS to something.
Do 

latex2html -debug ...

Verify that texpand does not get the right -texinputs.

Erling

PS. I would prefer a LOT that

latex2html -texinputs whateverpath .....

was possible.




*************************************************************************
MOSEK ApS     
C/O Symbion Science Park    
Fruebjergvej 3, Boks 16
DK-2100 Copenhagen O
Denmark

Phone (work): +45 3917 9907
Mobile-phone: +45 2362 9520
Fax:               +45 3917 9823
Email to phone: 23629520 at gsm1800.telia.dk
Email: e.d.andersen at mosek.com
Homepage: http://erling.andersen.name 
                  http://www.mosek.com/homepages/e.d.andersen/

************************************************************************* 


**************************************************************************** 
Denne mail er blevet scannet af http://www.virus112.com 
****************************************************************************


More information about the latex2html mailing list