Hi,
I've found out some problems trying to convert a latex file which has 
whitespaces in path when it's passed to texextend.
The attached patch fixes this, making the parameters of texextend quoted.

HTH,
-- 
Diego "Flameeyes" Petten�
[EMAIL PROTECTED] - http://flameeyes.web.ctonet.it/
diff -Npaur latex2html-2002-2-1/latex2html.pin latex2html-2002-2-1-fix/latex2html.pin
--- latex2html-2002-2-1/latex2html.pin	2004-01-08 07:15:01.000000000 +0100
+++ latex2html-2002-2-1-fix/latex2html.pin	2004-12-23 05:53:23.154289408 +0100
@@ -829,11 +829,11 @@ sub driver {
 #	die "File $TEXEXPAND does not exist or is not executable\n"
 #	    unless (-x $TEXEXPAND);
 	L2hos->syswait("$TEXEXPAND $dbg -auto_exclude $unseg"
-		 . "-save_styles $DESTDIR$dd$TMP_${dd}styles "
-		 . ($TEXINPUTS ? "-texinputs $TEXINPUTS " : '' )
+		 . "-save_styles '$DESTDIR$dd$TMP_${dd}styles' "
+		 . ($TEXINPUTS ? "-texinputs '$TEXINPUTS' " : '' )
 		 . (($VERBOSITY >2) ? "-verbose " : '' )
-		 . "-out $DESTDIR$dd$TMP_$dd$FILE "
-		 . "$texfilepath$dd$FILE.$EXT")
+		 . "-out '$DESTDIR$dd$TMP_$dd$FILE' "
+		 . "'$texfilepath$dd$FILE.$EXT'")
 	    && die " texexpand  failed: $!\n";
 	print STDOUT "\n ***  `texexpand' done ***\n" if ($VERBOSITY > 1);
 

Attachment: pgpxIprLZJSrK.pgp
Description: PGP signature

_______________________________________________
latex2html mailing list
[email protected]
http://tug.org/mailman/listinfo/latex2html

Reply via email to