Diff for /loncom/xml/londefdef.pm between versions 1.292 and 1.293

version 1.292, 2005/11/03 21:58:11 version 1.293, 2005/11/08 02:04:23
Line 110  sub start_m { Line 110  sub start_m {
  # detect simple math mode entry exits, and convert them   # detect simple math mode entry exits, and convert them
         # to use \ensuremath          # to use \ensuremath
  if ($currentstring=~/^\s*\$[^\$].*[^\$]\$\s*$/) {   if ($currentstring=~/^\s*\$[^\$].*[^\$]\$\s*$/) {
     $currentstring=~s/^\$//;      $currentstring=~s/^(\s*)\$/$1/;
     $currentstring=~s/\$$//;      $currentstring=~s/\$(\s*)$/$1/;
     $currentstring='\ensuremath{'.$currentstring.'}';      $currentstring='\ensuremath{'.$currentstring.'}';
  }   }
  $Apache::lonxml::post_evaluate=0;   $Apache::lonxml::post_evaluate=0;

Removed from v.1.292  
changed lines
  Added in v.1.293


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