Diff for /loncom/xml/lonxml.pm between versions 1.307 and 1.308

version 1.307, 2004/03/02 22:45:56 version 1.308, 2004/03/04 23:01:31
Line 409  sub latex_special_symbols { Line 409  sub latex_special_symbols {
  $string=~s/\~/\\char126 /g;   $string=~s/\~/\\char126 /g;
  #fixup & if it doesn't look like   #fixup & if it doesn't look like
         # { or α          # { or α
  $string=~s/(&(?!((\#[0-9]+)|([a-z]+));))/\\$1/gi;   $string=~s/(&(?!((\#[0-9]+)|([a-z][a-z0-9]*));))/\\$1/gi;
         $string=~s/([^&\\])\#/$1\\#/g;          $string=~s/([^&\\])\#/$1\\#/g;
  $string=~s/\#\#/\#\\#/g;   $string=~s/\#\#/\#\\#/g;
  $string=~s/(\$|_|{|})/\\$1/g;   $string=~s/(\$|_|{|})/\\$1/g;

Removed from v.1.307  
changed lines
  Added in v.1.308


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