AMC-TXT [insertgroup=0] is not converted to \\insertgroup[0] (Bug #963)


Added by Miguel J Ruiz Benítez 14 days ago. Updated 14 days ago.


Status:Closed Start date:04/25/2025
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

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

Also available in: Atom PDF