--- loncom/homework/hint.pm 2002/01/11 16:32:29 1.22 +++ loncom/homework/hint.pm 2002/02/20 22:20:23 1.26 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # implements the tags that control the hints # -# $Id: hint.pm,v 1.22 2002/01/11 16:32:29 matthew Exp $ +# $Id: hint.pm,v 1.26 2002/02/20 22:20:23 albertel 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;