--- loncom/homework/inputtags.pm 2002/12/05 22:59:37 1.77 +++ loncom/homework/inputtags.pm 2003/01/19 08:16:43 1.79 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.77 2002/12/05 22:59:37 albertel Exp $ +# $Id: inputtags.pm,v 1.79 2003/01/19 08:16:43 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -122,6 +122,13 @@ sub start_textfield { $result=$token->[4]; } $result.=&Apache::edit::modifiedfield(); + } elsif ($target eq 'tex') { + if ($$tagstack[-2] eq 'essayresponse' and $Apache::lonhomework::type eq 'exam') { + my $number_of_lines= &Apache::lonxml::get_param('rows',$parstack,$safeeval); + $result = '\fbox{\fbox{\parbox{\textwidth-5mm}{'; + for (my $i=0;$ihere for more information.'; + $button=1; } elsif ($award eq 'SIG_FAIL') { $message = "Please adjust significant figures.";# you provided %s significant figures"; $button=1;