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