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.pdf
sets the subject file to build.
--out-corrige
corrected.pdf
sets the correction to build.
--out-calage
calage.xy
sets the positions file to build.
--prefix
directory
this 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.xy
sets the positions file to be used.
--mep
project-mep-dir
sets 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.xml
sets the scoring file to create.
The following optional arguments can be used in any mode:
--with
latex-engine
gives the LaTeX engine (command) to be used.
latex-engine
can be
pdflatex or xelatex for
exemple.
--n-copies
n
sets the number of copies to produce, overriding the number given in the LaTeX source file (first argument of the \onecopy command).
--debug
file.log
gives a file to fill with debugging information.