[l2h] latex2html and paths with spaces

Adrian Friday adrian at comp.lancs.ac.uk
Thu Jun 19 12:16:18 CEST 2003


Dear all,

No great expert with latex, latex2html or perl.  However upon 
installing I found that texexpand was bombing with 'multiple input 
files'.  The route of the problem was that I had the file in a 
subfolder whose path contained spaces (that were not protected on 
input to texexpand).  I don't know whether this is a known issue (and 
there's probably a good perl way(tm) to fix this...!)

I put in this fix:

         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";
         print STDOUT "\n ***  `texexpand' done ***\n" if ($VERBOSITY > 1);

i.e. quoting the parameters to texexpand.  Now it seems to work 
magnificently... nice utility!

Best regards,

Adrian.
-------------------------------------------------------------------------------
Dr. Adrian Friday           | Homepage :
Computing Department        |   http://www.comp.lancs.ac.uk/~adrian/
Faculty of Applied Sciences |--------------------------------------------------
Lancaster University        | E-mail :
Bailrigg                    |   mailto:adrian at comp.lancs.ac.uk
Lancs.                      |--------------------------------------------------
LA1 4YR.                    | Telephone: 01524-593807 | Facsimile: 01524-593608
-------------------------------------------------------------------------------
Fight unsolicited commercial E-mail (SPAM): http://www.politik-digital.de/spam/
-------------------------------------------------------------------------------


More information about the latex2html mailing list