--- loncom/xml/londefdef.pm 2003/05/22 16:00:53 1.135 +++ loncom/xml/londefdef.pm 2003/05/29 18:11:00 1.136 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.135 2003/05/22 16:00:53 sakharuk Exp $ +# $Id: londefdef.pm,v 1.136 2003/05/29 18:11:00 sakharuk Exp $ # # # Copyright Michigan State University Board of Trustees @@ -2271,9 +2271,7 @@ sub start_pre { if ($target eq 'web') { $currentstring .= $token->[4]; } elsif ($target eq 'tex') { - my $width = &Apache::lonxml::get_param('TeXwidth',$parstack,$safeeval,undef,0); - if (not defined $width) {$width ='\textwidth';} - $currentstring .= '\parbox['.$width.']{\begin{verbatim}'; + $currentstring .= '\begin{verbatim}'; } return $currentstring; } @@ -2284,7 +2282,7 @@ sub end_pre { if ($target eq 'web') { $currentstring .= $token->[2]; } elsif ($target eq 'tex') { - $currentstring .= '\end{verbatim}}'; + $currentstring .= '\end{verbatim}'; } return $currentstring; }