[LON-CAPA-cvs] cvs: loncom /interface printout.pl

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 24 Jul 2003 14:57:54 -0000


sakharuk		Thu Jul 24 10:57:54 2003 EDT

  Modified files:              
    /loncom/interface	printout.pl 
  Log:
  Cosmetic change to look better on the screen. 
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.30 loncom/interface/printout.pl:1.31
--- loncom/interface/printout.pl:1.30	Wed Jul 23 14:58:59 2003
+++ loncom/interface/printout.pl	Thu Jul 24 10:57:54 2003
@@ -83,12 +83,12 @@
 	  } 
       } elsif ($body_log_file=~m/<inserted text>/) {
 	  my $whereitbegins = index $body_log_file,'<inserted text>';
-	  print "You are running LaTeX in the <b>batch mode</b>. \n";
+	  print "You are running LaTeX in the <b>batch mode</b>.";
 	  while ($whereitbegins != -1) {
 	      my $tempobegin=$whereitbegins;
 	      $whereitbegins = rindex $body_log_file,'STAMPOFPASSEDRESOURCESTART',$whereitbegins;
 	      my $whereitends = index $body_log_file,'STAMPOFPASSEDRESOURCEEND',$whereitbegins;
-	      print "It has found an error in".substr($body_log_file,$whereitbegins+26,$whereitends-$whereitbegins-26)." and corrected it.\n";
+	      print "<br />It has found an error in".substr($body_log_file,$whereitbegins+26,$whereitends-$whereitbegins-26)." and corrected it.\n";
 	      print "Usually this correction is valid but you probably need to check the indicated resource one more time and implement neccessary corrections by yourself.\n";
 	      $whereitbegins = index $body_log_file,'<inserted text>',$tempobegin+10;
 	  }