--- loncom/homework/inputtags.pm 2002/12/05 22:59:37 1.77 +++ loncom/homework/inputtags.pm 2003/01/13 21:22:43 1.78 @@ -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.78 2003/01/13 21:22:43 sakharuk 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;$i