version 1.314, 2006/01/13 21:10:03
|
version 1.316, 2006/01/27 22:30:23
|
Line 1202 sub start_p {
|
Line 1202 sub start_p {
|
} else { |
} else { |
$currentstring.='\par '; |
$currentstring.='\par '; |
if (&is_inside_of($tagstack, 'table')) { |
if (&is_inside_of($tagstack, 'table')) { |
$closing_string = '\vskip 12pt'; # Safer in tables. |
$closing_string = '\vskip 0pt'; # Seems to be consistent with <p> in tables. |
} else { |
} else { |
$closing_string = '\strut\\\\\strut '; |
$closing_string = '\strut\\\\\strut '; |
} |
} |
Line 1980 sub start_table {
|
Line 1980 sub start_table {
|
$Apache::londefdef::table[-1]{'width'}=$1*$textwidth/100; |
$Apache::londefdef::table[-1]{'width'}=$1*$textwidth/100; |
} else { |
} else { |
$Apache::londefdef::table[-1]{'width'}=$TeXwidth; |
$Apache::londefdef::table[-1]{'width'}=$TeXwidth; |
} |
} |
|
# In the end, however the table width cannot be wider than $textwidth... |
|
|
|
if ($Apache::londefdef::table[-1]{'width'} > $textwidth) { |
|
$Apache::londefdef::table[-1]{'width'} = $textwidth; |
|
} |
|
|
#table's border |
#table's border |
my $border = &Apache::lonxml::get_param('border',$parstack,$safeeval); |
my $border = &Apache::lonxml::get_param('border',$parstack,$safeeval); |