Diff for /loncom/xml/londefdef.pm between versions 1.302.2.1 and 1.302.2.2

version 1.302.2.1, 2006/01/04 23:15:52 version 1.302.2.2, 2006/01/09 22:54:47
Line 1961  sub start_table { Line 1961  sub start_table {
   
  # width either comes forced from the TeXwidth or the width parameters.   # width either comes forced from the TeXwidth or the width parameters.
  # in either case it can be a percentage or absolute width.   # in either case it can be a percentage or absolute width.
    # in the width case we ignore absolute width 
  my $TeXwidth = &Apache::lonxml::get_param('TeXwidth',$parstack,$safeeval,undef,0);   my $TeXwidth = &Apache::lonxml::get_param('TeXwidth',$parstack,$safeeval,undef,0);
  if (!defined($TeXwidth)) {   if (!defined($TeXwidth)) {
     $TeXwidth = &Apache::lonxml::get_param('width',$parstack,$safeeval,undef,1);      my $htmlwidth = &Apache::lonxml::get_param('width',$parstack,
     if (!defined($TeXwidth)) { $TeXwidth = $textwidth; }         $safeeval,undef,1);
       if ($htmlwidth =~ /%/) {
    $TeXwidth = $htmlwidth;
       } else { 
    $TeXwidth = $textwidth;
       }
  } else {   } else {
     $Apache::londefdef::table[-1]{'forcedtablewidth'} = 1;      $Apache::londefdef::table[-1]{'forcedtablewidth'} = 1;
  }   }

Removed from v.1.302.2.1  
changed lines
  Added in v.1.302.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>