--- loncom/xml/londefdef.pm 2006/09/19 10:57:11 1.337 +++ loncom/xml/londefdef.pm 2006/09/25 10:41:15 1.339 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.337 2006/09/19 10:57:11 foxr Exp $ +# $Id: londefdef.pm,v 1.339 2006/09/25 10:41:15 foxr Exp $ # # # Copyright Michigan State University Board of Trustees @@ -1228,6 +1228,8 @@ sub start_br { $currentstring .= ' \vskip 0 mm '; } elsif ($$tagstack[-2] ne 'sub' && $$tagstack[-2] ne 'sup') { $currentstring .= '\strut \\\\ \strut '; + } else { # Honor break in simple + $currentstring .= '}} \strut \\\\ \strut \ensuremath{^{'; } } return $currentstring; @@ -3412,6 +3414,9 @@ sub start_blockquote { if ($target eq 'web' || $target eq 'webgrade') { $currentstring .= $token->[4]; } + if ($target eq 'tex') { + $currentstring .= '\begin{quote}'; + } return $currentstring; } @@ -3421,6 +3426,9 @@ sub end_blockquote { if ($target eq 'web' || $target eq 'webgrade') { $currentstring = $token->[2]; } + if ($target eq 'tex') { + $currentstring = '\end{quote}'; + } return $currentstring; }