Name

AMC-export — exports marks for AMC multiple choice exams.

Synopsis

auto-multiple-choice export --module module --fich-notes marks.xml --fich-assoc assoc.xml --fich-noms students-list.csv [--noms-encodage list-encoding] --o output-file

Description

The AMC-export.pl command exports marks from an Auto Multiple Choice exam.

--module module

selects a module for export. See below for the modules included in the AMC standard distribution.

--fich-notes marks.xml

sets the marks file, generated by AMC-note(1).

--fich-assoc assoc.xml

sets the association file, generated by AMC-association-auto(1) and maybe modified for manual association.

--fich-noms students-list.csv

sets the students list file.

--noms-encodage list-encoding

selects an encoding for file students-list.csv (default is utf-8).

--o output-file

gives the output file name.

--option-out options

gives an option for selected module, in the form key=value (see below for possible options for each module). To specify multiple options, use --option several times.

--sort sort-type

sort the students names, depending on sort-type. If sort-type is l, use line number from students list file to sort. If sort-type is m, use mark (and name if marks are equal) to sort. If sort-type is i, use student number to sort. If sort-type is n, use name to sort (or line from students list if equal).

--useall all

if all is 0 or empty, only students with a scaned answer sheet appears in the output. If all is 1, all students in the students list appears in the output.

Modules

OpenDocument

With "--module ods", an OpenDocument (for use by OpenOffice or LibreOffice for example) is produced. The following options are recognized:

nom

gives a name for the exam, to be written on the beginning of the sheet.

code

gives an short name for the exam, to be used as a tab name.

CSV

With "--module CSV", a CSV file is produced. The following options are recognized:

decimal

sets the decimal point (default is a dot).

encodage

sets the encoding to use for output (default is utf-8).

separateur

sets the character used between colums (default is a comma).

entoure

sets the character used to enclose strings (default is a double quote).

cochees

if true (value 1 for example), additional columns (with "CHECKED:" prefix) are included to give all the checked boxes on all the sheets. This can be used by an external program to retrieve all the checked boxes when marks are not sufficient.