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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 06 Mar 2002 20:39:15 -0000


sakharuk		Wed Mar  6 15:39:15 2002 EDT

  Modified files:              
    /loncom/homework	hint.pm 
  Log:
  removed hints from printout
  
  
Index: loncom/homework/hint.pm
diff -u loncom/homework/hint.pm:1.26 loncom/homework/hint.pm:1.27
--- loncom/homework/hint.pm:1.26	Wed Feb 20 17:20:23 2002
+++ loncom/homework/hint.pm	Wed Mar  6 15:39:15 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # implements the tags that control the hints
 #
-# $Id: hint.pm,v 1.26 2002/02/20 22:20:23 albertel Exp $
+# $Id: hint.pm,v 1.27 2002/03/06 20:39:15 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
       &Apache::lonxml::get_all_text("/hintgroup",$$parser[$#$parser]);
     }
   } elsif ($target eq 'tex') {
-    $result .= '\noindent{\it Hint: }'; 
+    $result .= '\keephidden{'; 
   }
   @Apache::hint::which=();
   return $result;
@@ -81,6 +81,8 @@
     }
   } elsif ($target eq 'edit') {
     $result.=&Apache::edit::end_table();
+  } elsif ($target eq 'tex') {
+    $result .= '}'; 
   }
   @Apache::hint::which=();
   return $result;