Scoring Strategy Example Broken (Bug #794)


Added by Andrew Yu 11 months ago. Updated 11 months ago.


Status:Resolved Start date:11/09/2021
Priority:High Due date:
Assignee:- % Done:

100%

Category:-
Target version:1.6.0

Description

On Arch Linux, after an upgrade to version 1.5.1-1, it seems that the example template "Scoring Strategy" is not working. Logs from LaTeX below.

This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./scoring.tex
LaTeX2e <2021-06-01> patch level 1
L3 programming layer <2021-07-12>
(/opt/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/02/12 v1.4n Standard LaTeX document class
(/opt/texlive/2021/texmf-dist/tex/latex/base/size10.clo))
(/opt/texlive/2021/texmf-dist/tex/latex/base/inputenc.sty
(/opt/texlive/2021/texmf-dist/tex/latex/ucs/utf8x.def))
(/opt/texlive/2021/texmf-dist/tex/latex/ucs/ucs.sty
(/opt/texlive/2021/texmf-dist/tex/latex/ucs/data/uni-global.def))
(/opt/texlive/2021/texmf-dist/tex/latex/base/fontenc.sty)
(/opt/texlive/2021/texmf-dist/tex/latex/AMC/automultiplechoice.sty
AMC version: 2021/10/13 v1.5.1 r:6959dcc7
(/opt/texlive/2021/texmf-dist/tex/latex/xcolor/xcolor.sty
(/opt/texlive/2021/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/opt/texlive/2021/texmf-dist/tex/latex/graphics-def/pdftex.def))
(/opt/texlive/2021/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/opt/texlive/2021/texmf-dist/tex/latex/bophook/bophook.sty)
(/opt/texlive/2021/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/opt/texlive/2021/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/opt/texlive/2021/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/opt/texlive/2021/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/opt/texlive/2021/texmf-dist/tex/latex/graphics/rotating.sty
(/opt/texlive/2021/texmf-dist/tex/latex/graphics/graphicx.sty
(/opt/texlive/2021/texmf-dist/tex/latex/graphics/graphics.sty
(/opt/texlive/2021/texmf-dist/tex/latex/graphics/trig.sty)
(/opt/texlive/2021/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/opt/texlive/2021/texmf-dist/tex/latex/base/ifthen.sty))
(/opt/texlive/2021/texmf-dist/tex/latex/fancybox/fancybox.sty
Style option: `fancybox' v1.4 <2010/05/15> (tvz)
) (/opt/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty
(/opt/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def))
(/opt/texlive/2021/texmf-dist/tex/latex/csvsimple/csvsimple.sty
(/opt/texlive/2021/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty))
(/opt/texlive/2021/texmf-dist/tex/latex/csvsimple/csvsimple-legacy.sty
(/opt/texlive/2021/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/opt/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(/opt/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.te
x)) (/opt/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def)
(/opt/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/opt/texlive/2021/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/opt/texlive/2021/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/opt/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/opt/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.te
x))) (/opt/texlive/2021/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/opt/texlive/2021/texmf-dist/tex/latex/tools/shellesc.sty))
(/opt/texlive/2021/texmf-dist/tex/latex/environ/environ.sty
(/opt/texlive/2021/texmf-dist/tex/latex/trimspaces/trimspaces.sty))
Loading configuration file...
(./amc-compiled-config.tex)
(/opt/texlive/2021/texmf-dist/tex/latex/etex-pkg/etex.sty
Package etex Warning: Extended allocation already in use.
(etex) etex.sty code will not be used.
(etex) To force etex package to load, add
(etex) \RequirePackage{etex}
(etex) at the start of the document.
) SUJET
(/opt/texlive/2021/texmf-dist/tex/latex/geometry/geometry.sty
(/opt/texlive/2021/texmf-dist/tex/generic/iftex/ifvtex.sty
(/opt/texlive/2021/texmf-dist/tex/generic/iftex/iftex.sty))))
(./amc-compiled.aux) (/opt/texlive/2021/texmf-dist/tex/latex/ucs/ucsencs.def)
(/opt/texlive/2021/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/opt/texlive/2021/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/opt/texlive/2021/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
geometry driver: auto-detecting
geometry detected driver: pdftex
! Undefined control sequence.
\\wrongchoice ...count :M]
}\fi \AMCload@@reponse {\une@rep {\AMC@box {#1}{}...
l.95 \wrongchoice{40\%}

! Undefined control sequence.
\\wrongchoice ...}\fi \AMCload@@reponse {\une@rep {\AMC@box {#1}{}}{#2}}{\th...
l.95 \wrongchoice{40\%}

! Undefined control sequence.
\\wrongchoice ...count :M]
}\fi \AMCload@@reponse {\une@rep {\AMC@box {#1}{}...
l.96 \wrongchoice{60\%}

! Undefined control sequence.
\\wrongchoice ...}\fi \AMCload@@reponse {\une@rep {\AMC@box {#1}{}}{#2}}{\th...
l.96 \wrongchoice{60\%}

! Undefined control sequence.
\\correctchoice ...ne@bonnetrue \AMCload@@reponse {\une@rep {\ifAMC@correc \...
l.97 \correctchoice{80\%}
\scoring{set.PROP=1}
! Undefined control sequence.
\\correctchoice ...ue \AMCload@@reponse {\une@rep {\ifAMC@correc \AMC@box {#...
l.97 \correctchoice{80\%}
\scoring{set.PROP=1}
! Undefined control sequence.
\AMC@fin@rep ...une }\fi \fi \fi \fi \AMCrep@fini

l.98 \end{choices}

! LaTeX Error: \begin{document} ended by \end{itemize}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.98 \end{choices}

! Extra \endgroup.
<recently read> \endgroup

l.98 \end{choices}

! LaTeX Error: \begin{document} ended by \end{choices}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.98 \end{choices}

! Extra \endgroup.
<recently read> \endgroup

l.98 \end{choices}

! You can't use `\unskip' in vertical mode.
\endminipage ->\par \unskip
\ifvoid \@mpfootins \else \vskip \skip \@mpfooti...
l.99 \end{questionmult}

! Extra \endgroup.
\color@endgroup ->\endgraf \endgroup

l.99 \end{questionmult}

! Too many }'s.
\endminipage ...pagefalse \color@endgroup \egroup
\expandafter \@iiiparbox \...
l.99 \end{questionmult}

! Undefined control sequence.
\endminipage ...\expandafter \@iiiparbox \@mpargs {\unvbox \@tempboxa }
l.99 \end{questionmult}

! Argument of \@iiiparbox has an extra }.
<inserted text>
\par
l.100 }

Runaway argument?
\@checkend {minipage}\expandafter \endgroup \if@endpe \@doendpe \fi \UseHook \E
TC.
! Paragraph ended before \@iiiparbox was complete.
<to be read again>
\par
l.100 }

! Too many }'s.
<recently read> }

l.100 }

Underfull \hbox (badness 1478) in paragraph at lines 126--126
\T1/cmr/bx/n/10 Question 6 $\OMS/cmsy/m/n/10 |$| \T1/cmr/m/n/10 scor-ingde-fau
lt.COMP=10,default.PROP=11,formula=(COMP==PROP ? 1 :
! Undefined control sequence.
<inserted text> ...orrectchoice {20\%}\scoringset
.PROP=2
l.126 }

! Extra }, or forgotten \endgroup.
\iterate ...\romannumeral \AMCtok@ik \endcsname }
\ifnum \AMCtok@size >\z
\...
l.126 }

! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.126 }

! Extra }, or forgotten \endgroup.
\\insertgroupfrom ...m \AMCtok@size >\z@ \repeat }

l.126 }

Overfull \hbox (46.23871pt too wide) in paragraph at lines 126--126
[]\T1/cmr/m/n/10 .PROP=2 $[]$
Underfull \hbox (badness 10000) in paragraph at lines 126--126
! Extra }, or forgotten \endgroup.
\iterate ... \else \AMC@mem@clear \fi \clearpage }
\advance \AMCid@etud \@ne ...
l.126 }

! LaTeX Error: \begin{itemize} on input line 126 ended by \end{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.128 \end{document}

(./amc-compiled.aux)
! You can't use `\end' in internal vertical mode.
\enddocument ...cument/end}\deadcycles \z@ \@@end

l.128 \end{document}

! LaTeX Error: \begin{itemize} on input line 126 ended by \end{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.128 \end{document}

)
! Emergency stop.
<*> scoring.tex

! > Fatal error occurred, no output PDF file produced!
Transcript written on amc-compiled.log.
Output format: pdf
ERR: &lt;i&gt;28 errors during LaTeX compiling (question sheet)&lt;/i&gt;
ERR>Undefined control sequence.
ERR>Undefined control sequence.
ERR>Undefined control sequence.
ERR>Undefined control sequence.
ERR>Undefined control sequence.
ERR>Undefined control sequence.
ERR>Undefined control sequence.
ERR>LaTeX Error: \begin{document} ended by \end{itemize}.
ERR>Extra \endgroup.
ERR>LaTeX Error: \begin{document} ended by \end{choices}.
ERR>Extra \endgroup.
ERR>You can't use `\unskip' in vertical mode.
ERR>Extra \endgroup.
ERR>Too many }'s.
ERR>Undefined control sequence.
ERR>Argument of \@iiiparbox has an extra }.
ERR>Paragraph ended before \@iiiparbox was complete.
ERR>Too many }'s.
ERR>Undefined control sequence.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: Something's wrong--perhaps a missing \item.
ERR>Extra }, or forgotten \endgroup.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{itemize} on input line 126 ended by \end{document}.
ERR>You can't use `\end' in internal vertical mode.
ERR>LaTeX Error: \begin{itemize} on input line 126 ended by \end{document}.
ERR>Emergency stop.
ERR>> Fatal error occurred, no output PDF file produced!...
Variables :
VAR: styversion=2021/10/13 v1.5.1 r:6959dcc7
VAR: project:pdfform=0
VAR: stypath=/opt/texlive/2021/texmf-dist/tex/latex/AMC/automultiplechoice.sty


History

Updated by Alexis Bienvenüe 11 months ago

Thanks for your report.
The templates have been fixed with git:a8a3dff20475f7, that will be included in a future release.

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF