--- loncom/homework/inputtags.pm 2003/04/21 20:59:02 1.93 +++ loncom/homework/inputtags.pm 2003/04/22 20:43:40 1.94 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.93 2003/04/21 20:59:02 albertel Exp $ +# $Id: inputtags.pm,v 1.94 2003/04/22 20:43:40 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -124,11 +124,17 @@ sub start_textfield { } $result.=&Apache::edit::modifiedfield(); } elsif ($target eq 'tex') { + my $number_of_lines = &Apache::lonxml::get_param('rows',$parstack,$safeeval); + my $width_of_box = &Apache::lonxml::get_param('cols',$parstack,$safeeval); 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