Error when using verbatim environment in question

Added by Marco B. over 5 years ago

I try to enter a question in verbatim mode but get an error.

Do you have suggestions?

Thanks for your help.


\begin{question}{progcount}
What is the output of the following program?

\begin{verbatim}
for i in range(3):
    print(i)
\end{verbatim}

\begin{choices}
  \wrongchoice{1 2 3}
  \wrongchoice{0 1 2 3}
  \wrongchoice{1 2}
  \correctchoice{0 1 2}
  \wrongchoice{1 2 3 4}  
\end{choices}
\end{question}

Error:

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2016/02/01>
Babel <3.9q> and hyphenation patterns for 3 language(s) loaded.
(./simple.tex (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/ucs/utf8x.def))
(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucs.sty
(/usr/share/texlive/texmf-dist/tex/latex/ucs/data/uni-global.def))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/AMC/automultiplechoice.sty
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texlive/texmf-dist/tex/latex/bophook/bophook.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/share/texlive/texmf-dist/tex/latex/rotating/rotating.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/environ/environ.sty
(/usr/share/texlive/texmf-dist/tex/latex/trimspaces/trimspaces.sty))
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty) ***SUJET***
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)))
(./amc-compiled.aux) (/usr/share/texlive/texmf-dist/tex/latex/ucs/ucsencs.def)
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/share/texlive/texmf-dist/tex/latex/ucs/data/uni-0.def)
(/usr/share/texlive/texmf-dist/tex/latex/base/t1cmtt.fd)
Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

Runaway argument?
 for i in range(3): print(i) \end {verbatim} 
! Paragraph ended before \@xverbatim was complete.
<to be read again> 
                   \par 
l.81 }

! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup 
                                                  \expandafter \@iiiparbox \...
l.81 }

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

l.81 }

! Missing } inserted.
<inserted text> 
                }
l.81 }

[1]
! Extra }, or forgotten \endgroup.
\iterate ...ion} \par \clearpage \par \clearpage }
                                                  \advance \AMCid@etud \@ne ...
l.81 }

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

l.83 \end{document}

(./amc-compiled.aux) )
(\end occurred inside a group at level 40)
### semi simple group (level 40) entered at line 81 (\begingroup)
### simple group (level 39) entered at line 81 ({)
### semi simple group (level 38) entered at line 81 (\begingroup)
### simple group (level 37) entered at line 81 ({)
### semi simple group (level 36) entered at line 81 (\begingroup)
### simple group (level 35) entered at line 81 ({)
### semi simple group (level 34) entered at line 81 (\begingroup)
### simple group (level 33) entered at line 81 ({)
### semi simple group (level 32) entered at line 81 (\begingroup)
### simple group (level 31) entered at line 81 ({)
### semi simple group (level 30) entered at line 81 (\begingroup)
### simple group (level 29) entered at line 81 ({)
### semi simple group (level 28) entered at line 81 (\begingroup)
### simple group (level 27) entered at line 81 ({)
### semi simple group (level 26) entered at line 81 (\begingroup)
### simple group (level 25) entered at line 81 ({)
### semi simple group (level 24) entered at line 81 (\begingroup)
### simple group (level 23) entered at line 81 ({)
### semi simple group (level 22) entered at line 81 (\begingroup)
### simple group (level 21) entered at line 81 ({)
### semi simple group (level 20) entered at line 81 (\begingroup)
### simple group (level 19) entered at line 81 ({)
### semi simple group (level 18) entered at line 81 (\begingroup)
### simple group (level 17) entered at line 81 ({)
### semi simple group (level 16) entered at line 81 (\begingroup)
### simple group (level 15) entered at line 81 ({)
### semi simple group (level 14) entered at line 81 (\begingroup)
### simple group (level 13) entered at line 81 ({)
### semi simple group (level 12) entered at line 81 (\begingroup)
### simple group (level 11) entered at line 81 ({)
### semi simple group (level 10) entered at line 81 (\begingroup)
### simple group (level 9) entered at line 81 ({)
### semi simple group (level 8) entered at line 81 (\begingroup)
### simple group (level 7) entered at line 81 ({)
### semi simple group (level 6) entered at line 81 (\begingroup)
### simple group (level 5) entered at line 81 ({)
### semi simple group (level 4) entered at line 81 (\begingroup)
### simple group (level 3) entered at line 81 ({)
### semi simple group (level 2) entered at line 81 (\begingroup)
### simple group (level 1) entered at line 81 ({)
### bottom level
(see the transcript file for additional information) </home/marco/.texmf-var/fo
nts/pk/ljfour/jknappen/ec/ecti1000.600pk> </home/marco/.texmf-var/fonts/pk/ljfo
ur/jknappen/ec/ecrm1000.600pk> </home/marco/.texmf-var/fonts/pk/ljfour/jknappen
/ec/ecbx1200.600pk> </home/marco/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecbx100
0.600pk> </home/marco/.texmf-var/fonts/pk/ljfour/jknappen/ec/ectt1000.600pk></u
sr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/sha
re/texlive/texmf-dist/fonts/type1/public/amsfonts/latxfont/lcircle1.pfb>
Output written on amc-compiled.pdf (20 pages, 84755 bytes).
Transcript written on amc-compiled.log.
Output format: pdf
ERR: <i>101 errors during LaTeX compiling (question sheet)</i>
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>Paragraph ended before \@xverbatim was complete.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{minipage} on input line 81 ended by \end{question}.
ERR>Missing } inserted.
ERR>Extra }, or forgotten \endgroup.
ERR>LaTeX Error: \begin{question} on input line 81 ended by \end{document}.

Replies (2)

RE: Error when using verbatim environment in question - Added by Marco B. over 5 years ago

Thanks. That was exactly what I was looking for. :)

Maybe it would be good to place it inside the PDF-Documentation as well. I didn't found it there.

(1-2/2)