Blame SOURCES/latex2html-2K.1beta-tabularx.patch

e54890
--- latex2html-2K.1beta/versions/table.pl.tabularx	Fri Nov 14 11:10:52 1997
e54890
+++ latex2html-2K.1beta/versions/table.pl	Wed Jan 24 15:11:01 2001
e54890
@@ -121,6 +121,10 @@
e54890
 	    $htmlcolspec .= "";
e54890
 	    push(@colspec,"$cellopen=RIGHT NOWRAP>$content_mark$cellclose");
e54890
 	    $cols++;
e54890
+	} elsif ( $char eq "X" ) {
e54890
+	    $htmlcolspec .= "";
e54890
+	    push(@colspec,"$cellopen=LEFT>$content_mark$cellclose");
e54890
+	    $cols++;
e54890
 	} elsif ( $char eq "p" ) {
e54890
 	    $colspec =~ s/$next_pair_rx//;
e54890
 	    ($pts,$len) = &convert_length($2);
e54890
@@ -170,7 +174,11 @@
e54890
     local($_) = @_;
e54890
     s/$next_pair_rx//;
e54890
     local($pts,$len) = &convert_length($2);
e54890
-    &do_env_tabular($_," width=$pts");
e54890
+    if ($pts != "") {
e54890
+	&do_env_tabular($_," width=$pts");
e54890
+    } else {
e54890
+	&do_env_tabular($_);
e54890
+    }
e54890
 }
e54890
 
e54890
 sub do_env_tabular {