AMC-TXT [insertgroup=0] is not converted to \\insertgroup[0] (Bug #963)
Description
please consider to modify
/AMC-perl/AMC/Filter/plain.pm (L1325-1326)
$t .= "\\insertgroup";
$t .= "[" . $group->{numquestions} . "]" if ( $group->{numquestions} );
To
$t .= "\\insertgroup";
$t .= "[" . $group->{numquestions} . "]" if ( defined $group->{numquestions} );
to enable a correct conversion
from [numquestions=0]
(AMC-TXT) to \insertgroup[0]
... (AMC-LaTeX)
At present, [numquestions=0]
is converted to \insertgroup
..., that means ALL the questions.
History
Updated by Alexis Bienvenüe 14 days ago
Adopted as git:2497d7f99d, to be included in a future release.
- Status changed from New to Closed
- % Done changed from 0 to 100