[l2h] obsolete files in versions/html*.pl ?

Phil Lanch phil at subtle.clara.co.uk
Mon Mar 10 08:10:15 CET 2003


i've been hacking latex2html's source code (version 2002-2-1) about a
bit (just to make it do what i want), and am going to try turning some
what i've done into useful patches.  it looks to me as if some of the
files in versions/html*.pl are obsolete: if i could have that
confirmed/denied, then i could be sure i'm preparing patches for just
the relevant files.

specifically ...

-rw-r--r--    1 phil     phil        20274 Jul 11  1999 versions/html2_1.pl
-rw-r--r--    1 phil     phil         7704 Sep 27 06:15 versions/html2_2.pl
-rw-r--r--    1 phil     phil         2666 Jun  6  1997 versions/html3_0.pl
-rw-r--r--    1 phil     phil        87056 Sep 17  1999 versions/html3_1.pl
-rw-r--r--    1 phil     phil        47036 Apr 13  2002 versions/html3_2.pl
-rw-r--r--    1 phil     phil        60307 Apr 13  2002 versions/html4_0.pl
-rw-r--r--    1 phil     phil        60964 Apr 13  2002 versions/html4_01.pl
-rw-r--r--    1 phil     phil        60964 Aug 21  2002 versions/html4_1.pl


a) it appears that these are never used:
   
   html2_1.pl html2_2.pl html3_1.pl


b) html4_01.pl and html4_1.pl are identical to one another.

   html4_01.pl is never used, because if you say `-html_version 4.01',
   the code rounds 4.01 to 4.0 so you get the same result as if you'd
   said `-html_version 4.0'.  i'd guess that the idea behind html4_1.pl
   is to let the user say `-html_version 4.1' when they want HTML 4.01
   (this doesn't quite work, because the DOCTYPE mentions 4.1).

   _if_ i have all that right, then the best course of action would be
   to stop the code rounding 4.01 to 4.0, and delete html4_1.pl.


thanks in advance for any guidance.

-- 
Phil Lanch


More information about the latex2html mailing list