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