AMC-prepare — prepares working documents from LaTeX source file
auto-multiple-choice prepare --mode s --prefix
project-dir mcq.tex
auto-multiple-choice prepare --mode m --mep-dir
project-mep-dir --calage
calage.xy mcq.tex
auto-multiple-choice prepare --mode b --bareme
scoring.xml mcq.tex
The AMC-prepare.pl command extracts working
documents from the source LaTeX file describing the multiple choice
questionnaire. Information to be extracted depends on the
--mode argument value. In any mode, the LaTeX source
filename must be given as an argument.
with "--mode s",
AMC-prepare.pl makes the subject file (answer
sheet to be printed and given to the students), the correction
(single corrected answer sheet) and the positions file (file
containing information about the positions of the boxes on the
pages). The following arguments can be used:
--out-sujet
subject.pdfsets the subject file to build.
--out-corrige
corrected.pdfsets the correction to build.
--out-calage
calage.xysets the positions file to build.
--prefix
directorythis directory is only necessary if one or more of the
three previous options are not used: default values are then
,
directory/sujet.pdf
and
directory/corrige.pdf.directory/calage.xy
with "--mode m",
AMC-prepare.pl makes the MEP files (XML files
with exact positions of the boxes, the marks, the name field on
all the pages). In this mode, the following arguments must be
used:
--calage
calage.xysets the positions file to be used.
--mep
project-mep-dirsets the directory to store MEP files into.
with "--mode b",
AMC-prepare.pl makes the scoring file
extracting the scoring strategy defined in the source LaTeX file.
In this mode, the following arguments must be used:
--bareme
scoring.xmlsets the scoring file to create.
The following optional arguments can be used in any mode:
--with
latex-enginegives the LaTeX engine (command) to be used.
latex-engine can be
pdflatex or xelatex for
exemple.
--n-copies
nsets the number of copies to produce, overriding the number given in the LaTeX source file (first argument of the \onecopy command).
--debug
file.loggives a file to fill with debugging information.