Problème de mise à jour : nombreuses erreurs

Added by Frédéric Stévenot over 8 years ago

Bonjour,
J'ai créé un QCM d'une trentaine de questions, en suivant la documentation et l'un des modèles. Mais la mise à jour des documents échoue. Voici ce qu'indique la détail de la sortie des commandes :
`This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/MacPorts 2015_8) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 4 languages loaded.
(./QCM1.tex (/opt/local/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/opt/local/share/texmf-texlive/tex/latex/base/size10.clo))
(/opt/local/share/texmf-texlive/tex/latex/base/inputenc.sty
(/opt/local/share/texmf-texlive/tex/latex/base/applemac.def))
(/opt/local/share/texmf-texlive/tex/latex/base/fontenc.sty
(/opt/local/share/texmf-texlive/tex/latex/base/t1enc.def))
(/opt/local/share/texmf-texlive/tex/generic/babel/babel.sty
(/opt/local/share/texmf-texlive/tex/generic/babel-french/frenchb.ldf
(/opt/local/share/texmf-texlive/tex/generic/babel/babel.def)))
(/opt/local/share/texmf-texlive/tex/latex/carlisle/scalefnt.sty)
(/opt/local/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/opt/local/share/texmf-texlive/tex/latex/csquotes/csquotes.sty
(/opt/local/share/texmf-texlive/tex/latex/etoolbox/etoolbox.sty)
(/opt/local/share/texmf-texlive/tex/latex/csquotes/csquotes.def)
(/opt/local/share/texmf-texlive/tex/latex/csquotes/csquotes.cfg))
(/opt/local/share/texmf-local/tex/latex/AMC/automultiplechoice.sty
(/opt/local/share/texmf-texlive/tex/latex/xcolor/xcolor.sty
(/opt/local/share/texmf-texlive/tex/latex/latexconfig/color.cfg)
(/opt/local/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty)
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty)))
(/opt/local/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty)
(/opt/local/share/texmf-texlive/tex/latex/bophook/bophook.sty)
(/opt/local/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty
(/opt/local/share/texmf-texlive/tex/generic/xkeyval/xkeyval.tex
(/opt/local/share/texmf-texlive/tex/generic/xkeyval/xkvutils.tex)))
(/opt/local/share/texmf-texlive/tex/latex/rotating/rotating.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/opt/local/share/texmf-texlive/tex/latex/latexconfig/graphics.cfg)))
(/opt/local/share/texmf-texlive/tex/latex/base/ifthen.sty))
(/opt/local/share/texmf-texlive/tex/latex/environ/environ.sty
(/opt/local/share/texmf-texlive/tex/latex/trimspaces/trimspaces.sty))
(/opt/local/share/texmf-texlive/tex/latex/etex-pkg/etex.sty) SUJET
(/opt/local/share/texmf-texlive/tex/latex/geometry/geometry.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/opt/local/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)))
(/opt/local/share/texmf-texlive/tex/latex/tools/multicol.sty)
(./amc-compiled.aux)
(/opt/local/share/texmf-texlive/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/opt/local/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty))
(/opt/local/share/texmf-texlive/tex/latex/oberdiek/epstopdf-base.sty
(/opt/local/share/texmf-texlive/tex/latex/oberdiek/grfext.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/kvdefinekeys.sty))
(/opt/local/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty
(/opt/local/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty)))
(/opt/local/share/texmf-texlive/tex/latex/latexconfig/epstopdf-sys.cfg))
geometry driver: auto-detecting
geometry detected driver: pdftex
! LaTeX Error: \begin{document} ended by \end{questionmult}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.750 }

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

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

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

! Extra \endgroup.
<recently read> \endgroup

l.750 }

! Too many }'s.
\iterate ...@\romannumeral \AMCtok@ik \endcsname }
\ifnum \AMCtok@ik <\AMCtok...
l.750 }

! Too many }'s.
\\insertgroup ...\AMCtok@ik <\AMCtok@max \repeat }

l.750 }

Underfull \hbox (badness 10000) in paragraph at lines 750--750
(/opt/local/share/texmf-texlive/tex/latex/base/t1cmtt.fd) [1{/opt/local/var/db/
texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] [5] [6] [7]
! Too many }'s.
\iterate ...aire \par \clearpage \par \clearpage }
\advance \AMCid@etud \@ne ...
l.750 }

(./amc-compiled.aux) )
(see the transcript file for additional information){/opt/local/share/texmf-tex
live/fonts/enc/dvips/cm-super/cm-super-t1.enc}</opt/local/share/texmf-texlive/f
onts/type1/public/amsfonts/cm/cmsy10.pfb></opt/local/share/texmf-texlive/fonts/
type1/public/amsfonts/latxfont/lcircle1.pfb></opt/local/share/texmf-texlive/fon
ts/type1/public/cm-super/sfbi1000.pfb></opt/local/share/texmf-texlive/fonts/typ
e1/public/cm-super/sfbx1000.pfb></opt/local/share/texmf-texlive/fonts/type1/pub
lic/cm-super/sfbx1200.pfb></opt/local/share/texmf-texlive/fonts/type1/public/cm
-super/sfcc1000.pfb></opt/local/share/texmf-texlive/fonts/type1/public/cm-super
/sfrm1000.pfb></opt/local/share/texmf-texlive/fonts/type1/public/cm-super/sfti1
000.pfb></opt/local/share/texmf-texlive/fonts/type1/public/cm-super/sftt1000.pf
b>
Output written on amc-compiled.pdf (7 pages, 192520 bytes).
Transcript written on amc-compiled.log.
Output format: pdf
ERR: <i>8 erreurs lors de la compilation LaTeX (sujet)</i>
ERR>LaTeX Error: \begin{document} ended by \end{questionmult}.
ERR>Missing } inserted.
ERR>Missing } inserted.
ERR>Missing } inserted.
ERR>Extra \endgroup.
ERR>Too many }'s.
ERR>Too many }'s.
ERR>Too many }'s.`

Ci-joint le QCM

Merci de votre aide.

QCM1.tex (20.9 kB)


Replies (7)

RE: Problème de mise à jour : nombreuses erreurs - Added by Alexis Bienvenüe over 8 years ago

Pouvez-vous produire un exemple complet minimal présentant votre problème ? Enlevez de votre fichier source tout ce qui est indépendant du problème (en particulier, vous pouvez enlever petit à petit toutes les questions — mais aussi toutes les commandes, le plus possible de textes, etc. — sans qui le problème persiste).

RE: Problème de mise à jour : nombreuses erreurs - Added by Frédéric Stévenot over 8 years ago

Merci, tout d'abord, pour votre prompte réponse.
Bien sûr : le fichier allégé est en annexe.
J'avais envie de partir d'un fichier-modèle, et de placer mes questions les uns après les autres (ou par paquets), en mettant à jour les doc. Mais j'attends votre réponse auparavant. Merci encore !

QCM1.tex (2.4 kB)

RE: Problème de mise à jour : nombreuses erreurs - Added by Alexis Bienvenüe over 8 years ago

Ce dernier fichier source fonctionne chez moi… Quelles sont les erreurs que vous rencontrez ?

RE: Problème de mise à jour : nombreuses erreurs - Added by Frédéric Stévenot over 8 years ago

Je pars du modèle "exemple" pour y intégrer progressivement mes questions
Apparemment, AMC n'accepte pas les guillemets réalisés avec le package csquotes, mais ne tolère pas non plus celles qu'on peut faire avec babel (french) : \og et \fg.
Les autres questions m'ont l'air de passer, mais je continue…

RE: Problème de mise à jour : nombreuses erreurs - Added by Frédéric Stévenot over 8 years ago

Frédéric Stévenot wrote:

Apparemment, AMC n'accepte pas les guillemets réalisés avec le package csquotes, mais ne tolère pas non plus celles qu'on peut faire avec babel (french) : og et g.

Non : les guillemets réalisés avec babel (french) sont acceptés. J'avais écrit \usapackage…
Je continue.

RE: Problème de mise à jour : nombreuses erreurs - Added by Frédéric Stévenot over 8 years ago

Dans les lignes

 \begin{questionmult}{empirescentraux} 
les signes comme _ ne sont pas acceptés.

RE: Problème de mise à jour : nombreuses erreurs - Added by Frédéric Stévenot over 8 years ago

Cette fois, les guillemets

\frquote{}
sont acceptés, alors que le package
\csquotes
est décommenté. Comprenne qui pourra.
Toutes les questions ont été intégrées : plus aucun problème

(1-7/7)