Diff for /loncom/xml/lontexconvert.pm between versions 1.32 and 1.33

version 1.32, 2004/03/04 15:41:18 version 1.33, 2004/03/04 15:46:43
Line 42 Line 42
 package Apache::lontexconvert;  package Apache::lontexconvert;
   
 use strict;  use strict;
 use tth;  use tth();
 use vars qw($errorstring);  use vars qw($errorstring);
 use Apache();  use Apache();
 use Apache::lonmsg;  use Apache::lonmsg();
 use Apache::lonxml;  use Apache::lonxml();
 use Apache::lonmenu;  use Apache::lonmenu();
   use Apache::lonlocal;
   
 # ====================================================================== Header  # ====================================================================== Header
   
Line 86  sub header { Line 87  sub header {
 $Apache::lontexconvert::messedup=0;  $Apache::lontexconvert::messedup=0;
 sub converted {  sub converted {
     my $texstring=shift;      my $texstring=shift;
     my $xmlstring='[UNDISPLAYABLE]';      my $xmlstring=&mt('[UNDISPLAYABLE]');
     if ($Apache::lontexconvert::messedup) {      if ($Apache::lontexconvert::messedup) {
  return '[TeX Unconverted Due To Previous Errors]';   return &mt('[TeX Unconverted Due To Previous Errors]');
     }      }
     eval(<<'ENDCONV');      eval(<<'ENDCONV');
     {      {
Line 109  sub converted { Line 110  sub converted {
     }      }
 ENDCONV  ENDCONV
     if ($@) {      if ($@) {
  $errorstring.="Evaluation Error $@";   $errorstring.=&mt("Evaluation Error ").$@;
  $Apache::lontexconvert::messedup=1;   $Apache::lontexconvert::messedup=1;
     }      }
     if ($Apache::lontexconvert::messedup || &tth::tthmessedup()) {      if ($Apache::lontexconvert::messedup || &tth::tthmessedup()) {

Removed from v.1.32  
changed lines
  Added in v.1.33


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