[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 01 Aug 2003 18:04:10 -0000


sakharuk		Fri Aug  1 14:04:10 2003 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  Bug 2003 is fixed (the pdf file created by PRT there are some nonsense characters
  just before and after the "You are excused from the problem.") is fixed.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.110 loncom/homework/inputtags.pm:1.111
--- loncom/homework/inputtags.pm:1.110	Thu Jul 17 16:05:59 2003
+++ loncom/homework/inputtags.pm	Fri Aug  1 14:04:10 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.110 2003/07/17 20:05:59 www Exp $
+# $Id: inputtags.pm,v 1.111 2003/08/01 18:04:10 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -355,7 +355,11 @@
       $button=0;
       $previousmsg='';
   } elsif ($solved =~ /^excused/) {
-      $message = "<b>You are excused from the problem.</b>";
+      if ($target eq 'tex') {
+	  $message = ' \textbf{You are excused from the problem.} ';
+      } else {
+	  $message = "<b>You are excused from the problem.</b>";
+      }
       $bgcolor=$possiblecolors{'charged_try'};
       $button=0;
       $previousmsg='';