Diff for /loncom/xml/lontexconvert.pm between versions 1.46 and 1.47

version 1.46, 2005/02/24 05:26:00 version 1.47, 2005/02/24 05:33:55
Line 237  sub algebra { Line 237  sub algebra {
 sub prepare_algebra {  sub prepare_algebra {
     my ($string)=@_;      my ($string)=@_;
   
       # change some multi character operators into single character operators
       $string =~ s/<>/\#/g;
       $string =~ s/<\=/\%/g;
       $string =~ s/>\=/\!/g;
       
     #protect the confusable greek symbols      #protect the confusable greek symbols
     $string =~ s/delta/zdelta/g;      $string =~ s/delta/zdelta/g;
     $string =~ s/beta/bita/g;      $string =~ s/beta/bita/g;
Line 252  sub prepare_algebra { Line 257  sub prepare_algebra {
 sub postprocess_algebra {  sub postprocess_algebra {
     my ($string)=@_;      my ($string)=@_;
   
       # exapnd out some operators
       $string =~ s/\#/\\not= /g;
       $string =~ s/\%/\\leq /g;
       $string =~ s/\!/\\geq /g;
   
     # replace some special symbols with the LaTeX equivalents      # replace some special symbols with the LaTeX equivalents
     $string =~ s/infty/\\infty/g;      $string =~ s/infty/\\infty/g;
     $string =~ s/infinity/\\infty/g;      $string =~ s/infinity/\\infty/g;

Removed from v.1.46  
changed lines
  Added in v.1.47


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