--- loncom/homework/outputtags.pm 2002/01/11 16:32:29 1.14 +++ loncom/homework/outputtags.pm 2002/07/22 18:43:37 1.16 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # tags that create controlled output # -# $Id: outputtags.pm,v 1.14 2002/01/11 16:32:29 matthew Exp $ +# $Id: outputtags.pm,v 1.16 2002/07/22 18:43:37 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -32,7 +32,7 @@ use strict; use Apache::lonnet; use POSIX qw(strftime); -sub BEGIN { +BEGIN { &Apache::lonxml::register('Apache::outputtags',('displayduedate','displaytitle')); } @@ -81,6 +81,8 @@ sub start_displaytitle { $result=&Apache::edit::tag_start($target,$token); $result.=''; $result.=&Apache::edit::end_table(); + } elsif ($target eq 'tex') { + $result='\textbf{'.$Apache::lonhomework::name.'}'; } return $result; }