--- loncom/homework/hint.pm 2002/01/17 12:23:31 1.23 +++ loncom/homework/hint.pm 2002/03/06 20:39:15 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # implements the tags that control the hints # -# $Id: hint.pm,v 1.23 2002/01/17 12:23:31 harris41 Exp $ +# $Id: hint.pm,v 1.27 2002/03/06 20:39:15 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -58,6 +58,8 @@ sub start_hintgroup { if ($skiptoend) { &Apache::lonxml::get_all_text("/hintgroup",$$parser[$#$parser]); } + } elsif ($target eq 'tex') { + $result .= '\keephidden{'; } @Apache::hint::which=(); return $result; @@ -79,6 +81,8 @@ sub end_hintgroup { } } elsif ($target eq 'edit') { $result.=&Apache::edit::end_table(); + } elsif ($target eq 'tex') { + $result .= '}'; } @Apache::hint::which=(); return $result;