version 1.36, 2002/04/01 21:26:57
|
version 1.38, 2002/04/25 21:35:30
|
Line 63 sub start_optionresponse {
|
Line 63 sub start_optionresponse {
|
my $part_id="$Apache::inputtags::part.$Apache::inputtags::response[-1]"; |
my $part_id="$Apache::inputtags::part.$Apache::inputtags::response[-1]"; |
push (@{ $Apache::lonhomework::analyze{"parts"} },$part_id); |
push (@{ $Apache::lonhomework::analyze{"parts"} },$part_id); |
} |
} |
# if ($target eq 'tex') {$result .= '\begin{itemize}';} |
# if ($target eq 'tex') {$result .= '\begin{enumerate}';} |
return $result; |
return $result; |
} |
} |
|
|
Line 74 sub end_optionresponse {
|
Line 74 sub end_optionresponse {
|
&Apache::lonxml::deregister('Apache::optionresponse',('foilgroup','foil','conceptgroup')); |
&Apache::lonxml::deregister('Apache::optionresponse',('foilgroup','foil','conceptgroup')); |
my $result; |
my $result; |
if ($target eq 'edit') { $result=&Apache::edit::end_table(); } |
if ($target eq 'edit') { $result=&Apache::edit::end_table(); } |
# if ($target eq 'tex') {$result .= '\end{itemize}';} |
# if ($target eq 'tex') {$result .= '\end{enumerate}';} |
return $result; |
return $result; |
} |
} |
|
|
Line 140 ENDTABLE
|
Line 140 ENDTABLE
|
$result.=')">'; |
$result.=')">'; |
} # else nothing changed so just use the default mechanism |
} # else nothing changed so just use the default mechanism |
} |
} |
if ($target eq 'tex') {$result .= '\begin{itemize}';} |
if ($target eq 'tex') {$result .= '\begin{enumerate}';} |
return $result; |
return $result; |
} |
} |
|
|
Line 220 sub end_foilgroup {
|
Line 220 sub end_foilgroup {
|
} elsif ($target eq 'edit') { |
} elsif ($target eq 'edit') { |
$result.=&Apache::edit::end_table(); |
$result.=&Apache::edit::end_table(); |
} |
} |
if ($target eq 'tex') {$result .= '\end{itemize}';} |
if ($target eq 'tex') {$result .= '\end{enumerate}';} |
return $result; |
return $result; |
} |
} |
|
|