Forums » Using AMC (english) »
Problem with \AMCStudentNumber
Added by Dominique V. almost 3 years ago
Hello,
I have a strange behavior. I took an old latex exam and I have a strange compilation error on the \AMCStudentNumber macro. The error said (in French)
"2 erreurs lors de la compilation LaTeX (sujet)
Undefined control sequence.
You can't use `\aftergroup' after \the."
In the log:
! Undefined control sequence.
\AMCStudentNumber ->\the \AMC@etud
Here is a small example to reproduce the problem. Thank you.
test.tex (702 Bytes)
Replies (4)
RE: Problem with \AMCStudentNumber - Added by Alexis Bienvenüe almost 3 years ago
You source file works with me (after changing \restituegroupe{R1}
into \restituegroupe{GR1}
).
Can you post the log file?
RE: Problem with \AMCStudentNumber - Added by Dominique V. almost 3 years ago
Hello,
Thank you for the quick answer. I did a bad copy/paste from my Linux thought x2go to my laptop. Sorry.
Here is the log file (with the good restituegroup).
Dominique.
amc-compiled.log (18.7 kB)
RE: Problem with \AMCStudentNumber - Added by Alexis Bienvenüe almost 3 years ago
Il me semble que vous utilisez une vieille version d'AMC (ou de automultiplechoice.sty
), car ce problème a été corrigé avec git:9beb2b5d850.
RE: Problem with \AMCStudentNumber - Added by Dominique V. almost 3 years ago
J'utilise la version standard sur le Ubuntu que j'ai... C'est une version 1.3.0 (dû à la version d'Ubuntu certainement).
Je vais patcher mon automultiplechoice.sty (ou voir pour installer la dernière version d'AMC). Cela avait précédemment marché
car j'avais utilisé cette macro.
Merci de ce retour. Dominique.
(1-4/4)