--- loncom/xml/londefdef.pm 2000/10/12 13:51:50 1.5 +++ loncom/xml/londefdef.pm 2000/10/26 14:01:40 1.6 @@ -17,6 +17,10 @@ sub BEGIN { sub start_m { my ($target,$token,$parstack,$parser) = @_; my $currentstring = ''; + if ($target eq 'meta') { + my $inside = &Apache::lonxml::get_all_text("/m",$$parser[$#$parser]); + $currentstring =''; + } if ($target eq 'web') { my $inside = &Apache::lonxml::get_all_text("/m",$$parser[$#$parser]); $inside ='\\documentstyle{article}'.$inside; @@ -35,6 +39,7 @@ sub BEGIN { if ($target eq 'web') { } elsif ($target eq 'tex') { $currentstring = "\$"; + } elsif ($target eq 'meta') { } return $currentstring; } @@ -828,6 +833,15 @@ sub BEGIN { } return $currentstring; } + sub end_hr { + my ($target,$token) = @_; + my $currentstring = ''; + if ($target eq 'web') { + $currentstring .= $token->[2]; + } elsif ($target eq 'tex') { + } + return $currentstring; + } #----------------------------------------------------------------------------- tag sub start_a { my ($target,$token) = @_;