--- loncom/homework/hint.pm 2001/12/04 15:17:56 1.21 +++ loncom/homework/hint.pm 2002/01/24 04:18:54 1.25 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # implements the tags that control the hints # -# $Id: hint.pm,v 1.21 2001/12/04 15:17:56 albertel Exp $ +# $Id: hint.pm,v 1.25 2002/01/24 04:18:54 harris41 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -32,7 +32,7 @@ use strict; use Apache::lonnet; use capa; -sub BEGIN { +BEGIN { &Apache::lonxml::register('Apache::hinttags',('hintgroup','hintpart','numericalhint')); } @@ -58,6 +58,8 @@ sub start_hintgroup { if ($skiptoend) { &Apache::lonxml::get_all_text("/hintgroup",$$parser[$#$parser]); } + } elsif ($target eq 'tex') { + $result .= '\noindent{\it Hint: }'; } @Apache::hint::which=(); return $result;