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

2003-03-10 Thread Phil Lanch
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 phil20274 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 phil87056 Sep 17  1999 versions/html3_1.pl
-rw-r--r--1 phil phil47036 Apr 13  2002 versions/html3_2.pl
-rw-r--r--1 phil phil60307 Apr 13  2002 versions/html4_0.pl
-rw-r--r--1 phil phil60964 Apr 13  2002 versions/html4_01.pl
-rw-r--r--1 phil phil60964 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
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html


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

2003-03-10 Thread Ross Moore
 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 phil20274 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 phil87056 Sep 17  1999 versions/html3_1.pl
 -rw-r--r--1 phil phil47036 Apr 13  2002 versions/html3_2.pl
 -rw-r--r--1 phil phil60307 Apr 13  2002 versions/html4_0.pl
 -rw-r--r--1 phil phil60964 Apr 13  2002 versions/html4_01.pl
 -rw-r--r--1 phil phil60964 Aug 21  2002 versions/html4_1.pl
 
 
 a) it appears that these are never used:

html2_1.pl html2_2.pl html3_1.pl

Correct, insofar as HTML versions 1, 2.1, and 2.2 are never
used anymore, having been superseded long ago by HTML 3.2 and 4.x .

Similarly 3.1 is out-dated, implementing MATH tags that
never got universal acceptance.


 
 
 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).

Yeah, that was the idea.
OK, so there needs to be a small patch to get the DOCTYPE correct.


_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.

The same trick was used with  3_1  really being  3.01 (I think).
For compatibility with any existing documents or scripts calling
LaTeX2HTML, it would be best to catch  4_1 and make it  4.01
where needed, as well as stopping the rounding.

There is no future compatibility problem, as the W3C have effectively
frozen HTML at 4.01  --- as far as I can recall.
Future development is in  XHTML  and  XML.


 
 thanks in advance for any guidance.


Hope this helps,

Ross Moore

 
 -- 
 Phil Lanch
 ___
 latex2html mailing list
 [EMAIL PROTECTED]
 http://tug.org/mailman/listinfo/latex2html

___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html