Diff for /loncom/xml/londefdef.pm between versions 1.4 and 1.5

version 1.4, 2000/07/19 20:21:19 version 1.5, 2000/10/12 13:51:50
Line 18  sub BEGIN { Line 18  sub BEGIN {
     my ($target,$token,$parstack,$parser) = @_;      my ($target,$token,$parstack,$parser) = @_;
             my $currentstring = '';              my $currentstring = '';
             if ($target eq 'web') {              if ($target eq 'web') {
  my $inside = $parser->get_text("/m");   my $inside = &Apache::lonxml::get_all_text("/m",$$parser[$#$parser]); 
                 $currentstring = &Apache::lontexconvert::converted('\\documentstyle{article}'.$inside);                  $inside ='\\documentstyle{article}'.$inside;
   #          &Apache::lonxml::debug($inside);
                   $currentstring = &Apache::lontexconvert::converted(\$inside);
   #          &Apache::lonxml::debug($currentstring);
   
     } elsif ($target eq 'tex') {      } elsif ($target eq 'tex') {
               $currentstring = "\$";                $currentstring = "\$";
             }              }

Removed from v.1.4  
changed lines
  Added in v.1.5


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