--- loncom/xml/londefdef.pm 2003/06/27 16:12:39 1.146
+++ loncom/xml/londefdef.pm 2003/06/30 14:09:03 1.147
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.146 2003/06/27 16:12:39 sakharuk Exp $
+# $Id: londefdef.pm,v 1.147 2003/06/30 14:09:03 sakharuk Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -1614,10 +1614,14 @@ sub end_dt {
#--
tag
sub start_dd {
- my ($target,$token) = @_;
+ my ($target,$token,$tagstack,$parstack,$parser,$safeeval) = @_;
my $currentstring = '';
if ($target eq 'web') {
$currentstring = $token->[4];
+ } elsif ($target eq 'tex') {
+ if ($$tagstack[-2] eq 'dl') {
+ $currentstring = ' \item [] ';
+ }
}
return $currentstring;
}
@@ -1824,9 +1828,6 @@ sub end_td {
} elsif ($target eq 'tex') {
my $current_row = $Apache::londefdef::table[-1]{'row_number'};
my $data=&Apache::lonxml::endredirection();
-
- $currentstring.=' SSSS '.$data.' FFFF ';
-
my $TeXwidth=&Apache::lonxml::get_param('TeXwidth',$parstack,$safeeval,undef,0);
if (defined $TeXwidth) {
my $current_length=&recalc($TeXwidth);