Diff for /loncom/interface/printout.pl between versions 1.154 and 1.156

version 1.154, 2013/03/18 21:33:08 version 1.156, 2013/08/14 00:26:29
Line 958  sub convert_figure { Line 958  sub convert_figure {
  } else {   } else {
     system("convert $not_eps $eps_f");      system("convert $not_eps $eps_f");
         if($? and $advanced_role){          if($? and $advanced_role){
             print "<p class=\"LC_warning\">"              print '<p class="LC_warning">'
                   .mt("An error occured during the conversion of [_1].[_2]"                   .&mt('An error occurred during the conversion of [_1].',
                   ."If possible try to save this image using different settings and republish it.",                            '<span class="LC_filename">'.$prettyname.'</span>')
                   "<span class=\"LC_filename\">".$prettyname."</span>", "<br/>")                   .'<br />'
                   ."</p>";                   .&mt('If possible try to save this image using different settings and republish it.')
                    .'</p>';
         }          }
  }   }
   
Line 1051  sub analyze_logfile { Line 1052  sub analyze_logfile {
     print "<h2>".&mt('LaTeX could not successfully parse your TeX file.')."</h2>";      print "<h2>".&mt('LaTeX could not successfully parse your TeX file.')."</h2>";
     print &mt('It probably has errors in it.')."<br />";      print &mt('It probably has errors in it.')."<br />";
     if ($badtext) {      if ($badtext) {
                 print &mt('With very high probability this error occured in [_1].',$badtext)                  print &mt('With very high probability this error occurred in [_1].',$badtext)
                      ."<br /><br />";                       ."<br /><br />";
             }              }
     print &mt('Here are the error messages in the LaTeX log file:')      print &mt('Here are the error messages in the LaTeX log file:')

Removed from v.1.154  
changed lines
  Added in v.1.156


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