--- loncom/xml/londefdef.pm 2005/12/06 22:55:31 1.302 +++ loncom/xml/londefdef.pm 2005/12/19 23:27:33 1.303 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.302 2005/12/06 22:55:31 foxr Exp $ +# $Id: londefdef.pm,v 1.303 2005/12/19 23:27:33 foxr Exp $ # # # Copyright Michigan State University Board of Trustees @@ -2347,7 +2347,15 @@ sub start_td_tex { sub end_td_tex { my ($parstack,$parser,$safeeval) = @_; my $current_row = $Apache::londefdef::table[-1]{'row_number'}; - my $data=&Apache::lonxml::endredirection(); + my $data = &Apache::lonxml::endredirection(); + + # Get the column and row spans. + # Colspan can be done via \multicolumn if I can figure out the data structs. + # Rowspan, can be done using the multirow package which adds similar stuff to rowspanning. + + my $colspan = &Apache::lonxml::get_param('colspan', $parstack, $safeeval, undef, 0); + my $rowspan = &Apache::lonxml::get_param('rowspan', $parstack, $safeeval, undef, 0); + my $TeXwidth=&Apache::lonxml::get_param('TeXwidth',$parstack,$safeeval,undef,0); if (defined $TeXwidth) { push @ {$Apache::londefdef::table[-1]{'objectlen'}[$Apache::londefdef::table[-1]{'row_number'}] },'0';