Diff for /loncom/xml/lonxml.pm between versions 1.301 and 1.302

version 1.301, 2004/02/06 20:59:50 version 1.302, 2004/02/19 19:29:40
Line 410  sub latex_special_symbols { Line 410  sub latex_special_symbols {
  #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]+));))/\\$1/gi;
  $string=~s/([^&])\#/$1\\#/g;          $string=~s/([^&\\])\#/$1\\#/g;
  $string=~s/([^\\])\#/$1\\#/g;   $string=~s/\#\#/\#\\#/g;
  $string=~s/(\$|_|{|})/\\$1/g;   $string=~s/(\$|_|{|})/\\$1/g;
  $string=~s/\\char92 /\\texttt{\\char92}/g;   $string=~s/\\char92 /\\texttt{\\char92}/g;
  $string=~s/(>|<)/\$$1\$/g; #more or less   $string=~s/(>|<)/\$$1\$/g; #more or less

Removed from v.1.301  
changed lines
  Added in v.1.302


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