version 1.260.2.1, 2004/08/13 18:51:33
|
version 1.260.2.3, 2004/08/25 20:12:15
|
Line 58 sub start_tex {
|
Line 58 sub start_tex {
|
my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; |
my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; |
my $result=''; |
my $result=''; |
my $bodytext=&Apache::lonxml::get_all_text("/tex",$parser); |
my $bodytext=&Apache::lonxml::get_all_text("/tex",$parser); |
&Apache::lonnet::logthis("Hrrm? $bodytext --"); |
|
if ($target eq 'tex') { |
if ($target eq 'tex') { |
return $bodytext.' '; |
return $bodytext.' '; |
} |
} |
Line 1148 sub end_part {
|
Line 1147 sub end_part {
|
$gradestatus=''; |
$gradestatus=''; |
} |
} |
$result=$gradestatus; |
$result=$gradestatus; |
if ($$tagstack[-2] eq 'td') {$result.='\end{minipage}';} |
if ($$tagstack[-2] eq 'td' and $target eq 'tex') {$result.='\end{minipage}';} |
} elsif ($target eq 'edit') { |
} elsif ($target eq 'edit') { |
$result=&Apache::edit::end_table(); |
$result=&Apache::edit::end_table(); |
} |
} |