[l2h] "undefined" keyword in html2_2.pl and table.pl
Shigeharu TAKENO
shige@iee.niit.ac.jp
Sat, 23 Nov 2002 21:44:12 +0900 (JST)
shige 11/23 2002
----------------
I did "make check" for new version latex2html-2002-2-1 with perl
version 5.005, then 2 errors for "undefined" keyword were
reported:
Operator or semicolon missing before &convert_length at
versions/html2_2.pl line 94.
Ambiguous use of & resolved as operator & at versions/html2_2.pl
line 94.
....
Operator or semicolon missing before &convert_length at
versions/table.pl line 94.
Ambiguous use of & resolved as operator & at versions/table.pl
line 94.
The following patch fix them:
----- From here -----
diff -cN latex2html-2002-2-1/versions/html2_2.pl.ORG latex2html-2002-2-1/versions/html2_2.pl
*** latex2html-2002-2-1/versions/html2_2.pl.ORG Fri Sep 27 14:15:03 2002
--- latex2html-2002-2-1/versions/html2_2.pl Sat Nov 23 21:27:15 2002
***************
*** 91,97 ****
($pxs,$len);
}
# should no longer be needed, as this is defined in latex2html.pin
! if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} }
# Translates LaTeX column specifications to HTML. Again, Netscape
# needs some extra work with its width attributes in the <td> tags.
--- 91,97 ----
($pxs,$len);
}
# should no longer be needed, as this is defined in latex2html.pin
! if (!defined(&convert_length)) { sub convert_length {&convert_length_table(@_)} }
# Translates LaTeX column specifications to HTML. Again, Netscape
# needs some extra work with its width attributes in the <td> tags.
diff -cN latex2html-2002-2-1/versions/table.pl.ORG latex2html-2002-2-1/versions/table.pl
*** latex2html-2002-2-1/versions/table.pl.ORG Fri Sep 27 14:15:03 2002
--- latex2html-2002-2-1/versions/table.pl Sat Nov 23 21:27:23 2002
***************
*** 91,97 ****
($pxs,$len);
}
# should no longer be needed, as this is defined in latex2html.pin
! if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} }
# Translates LaTeX column specifications to HTML. Again, Netscape
# needs some extra work with its width attributes in the <td> tags.
--- 91,97 ----
($pxs,$len);
}
# should no longer be needed, as this is defined in latex2html.pin
! if (!defined(&convert_length)) { sub convert_length {&convert_length_table(@_)} }
# Translates LaTeX column specifications to HTML. Again, Netscape
# needs some extra work with its width attributes in the <td> tags.
----- To here ------
Do not they occur for perl new version ?
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
shige@iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
+========================================================+