Leading zeroes in AMCCode leads to junk lines in the exported csv

Added by Alex Alex over 1 year ago

I am using \AMCcodeH{num}{2} for automatic student's association, so there are two numbers for the students to input.

My student's list looks like this:
num,,name
01,, StudentA
02,, StudentB
...
10,, StudentK
11,, StudentL

But when I export the marks in the report tab, for each students with code 01 to 09, there are two lines:
"Exam";"A:num";"Name";"Mark"
"15";"1";"StudentA";"6"
"";"01";"StudentA";"ABS";

Where 'ABS' is what I chose to represent absent students.

The extra lines stop appearing from code 10 onward, so it seems that AMC gets confused and looks for a grade for both code 01 AND code 1.
What's the best way to avoid that? I can edit the student's list of course, but I would prefer having no difference at all between the number I tell the students to tick and the list.
I'm also interested in knowing what the cause of the issue is.


Replies (4)

RE: Leading zeroes in AMCCode leads to junk lines in the exported csv - Added by Alex Alex about 1 year ago

Version 1.3.0

Sorry for the very late answer. I just had the problem again, so I can confirm it's still there.

RE: Leading zeroes in AMCCode leads to junk lines in the exported csv - Added by Gérard Carpeaux about 1 year ago

This bug is fixed but i can't remember when. I tried yesterday a with similar list and it was OK.
Version 1.4.0+git2020-08-24 and ppa test

RE: Leading zeroes in AMCCode leads to junk lines in the exported csv - Added by Alex Alex about 1 year ago

Thank you, I will wait for my debian version to catch up then.
It's not very annoying to remove the extra lines right now, but it's nice to know this will not always be necessary.

(1-4/4)