[l2h] two problems in latex2html Version 2002-2-1 (1.70)

Shigeharu TAKENO shige at iee.niit.ac.jp
Fri Jan 23 10:04:50 CET 2004


shige 01/23 2004
----------------

I found the answer for one old following problem 
(Date: Thu, 17 Oct 2002 16:45:49 -0400).

Patrick Broos <patb at astro.psu.edu> wrote:

> I'd like to ask your assistance on a second matter if you are able to respond to 
> questions.  Despite reading clear instructions in the manual, and seeing clear 
> examples on the web, I have been unable to get the -no_image and -images_only 
> options to work.  (Those options sound very handy.)  The calls I'm using are:
> 
> /bin/rm -r ae_users_guide
> latex2html -no_images ae_users_guide.tex
> latex2html -images_only -debug ae_users_guide.tex
> 
> The -images_only call runs latex on images.tex, and then runs dvips, but fails 
> to convert the output of dvips to png.  The end of the transcript is below.  Do 
> you have any ideas?  I've studied the Perl in latex2html but can't figure out 
> what's happening.

To fix it, to apply the patch below and run

  /bin/rm -r ae_users_guide
  latex2html -debug -no_images ae_users_guide.tex
             ^^^^^^
  latex2html -images_only -debug ae_users_guide.tex
 
(first "-debug" is need for remaining TMP/ directory).

----- from here -----
*** latex2html-2002-2-1/latex2html.pin.ORG	Thu Jan  8 15:15:01 2004
--- latex2html-2002-2-1/latex2html.pin	Fri Jan 23 17:46:49 2004
***************
*** 803,809 ****
  	    }
  	    closedir TMP; 
  	}
! 	&cleanup(1);
  	unless(-d $TMP_) {
  	    mkdir($TMP_, 0755) ||
  	      die "Cannot create directory '$TMP_': $!\n";
--- 803,809 ----
  	    }
  	    closedir TMP; 
  	}
! 	&cleanup(0);
  	unless(-d $TMP_) {
  	    mkdir($TMP_, 0755) ||
  	      die "Cannot create directory '$TMP_': $!\n";
----- to here -----

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list