Newbie help! ! Missing \endcsname inserted. ! Missing number, treated as zero.

Added by Paco Riviere over 3 years ago

I have a problem with a source.tex and I can't figure it out.
Header is checked beforehand with two questions and gives no problem.
Version 1.4.0 - Ubuntu 18.04 LTS
I have added 64 questions in various groups and they are all like this:

-----------
\element{6.1.2 Necessitem energia}{
\begin{question}{NecessitemEnergia1}
En les darrers décades el consum d'energia arreu del món...
\begin{choiceshoriz}
\correctchoice{ha augmentat molt}
\wrongchoice{ha disminuit una mica}
\wrongchoice{ha augmentat una mica}
\wrongchoice{ha disminuit molt}
\end{choiceshoriz}
\end{question}}

-----------

At the end I choose the questions of the test with these lines:

-----------
@%% Aqui es trien [N] preguntes de cada {grup} i s'afegeixen

\cleargroup{all}
\copygroup1{6.1.2 Necessitem energia}{all}
\copygroup2{6.1.3 Classificació de fonts d’energia}{all}
\copygroup1{6.2.1 Central elèctrica}{all}
\copygroup2{6.2.2 Centrals hidroelèctriques}{all}

% Afegim una pàgina en blanc si cal fins a tenir dues pagines:
\AMCaddpagesto{2}

%% Fi de onecopy
}

\end{document}@
-----------

And it always gives me this meassage that I don't know what it means.
Can you please help me to undertand what they mean I how to solve it?:

-----------
@! Missing \endcsname inserted.
<to be read again
\begingroup
l.872 }

! Missing number, treated as zero.
<to be read again
\u8-226-€™
l.872

(Only first errors written)@
-----------


Replies (4)

RE: Newbie help! ! Missing \endcsname inserted. ! Missing number, treated as zero. - Added by Paco Riviere over 3 years ago

Btw. The number after \copygroup is between square brackets. (number of elements to be copied) .But desapear on posting here!

RE: Newbie help! ! Missing \endcsname inserted. ! Missing number, treated as zero. - Added by Alexis Bienvenüe over 3 years ago

Maybe the problem is group names with "special" characters? Please test using only unaccentuated characters, no spaces or dots, in your group names.

RE: Newbie help! ! Missing \endcsname inserted. ! Missing number, treated as zero. - Added by Paco Riviere over 3 years ago

I worked!

Merci beaucoup Alexis.

Need to remove them from all group and question names.

Qu'allons-nous faire avec ces anglo-centriques?

(1-4/4)