Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

! Argument of \user@active@arg~ has an extra } with bibText

315 views
Skip to first unread message

Jose Tomas Palma Mendez

unread,
Jan 9, 2002, 8:22:33 AM1/9/02
to
When compiling a latex file with MikTex 2.1 and BibText, I get this annoying
error message:

[4] <myfile.bbl>
! Argument of \user@active@arg~ <mailto:user@active@arg%7E> has an extra }
<inserted text>
\par
l.1 \begin{thebibliography}{10}

Any clue?

--
----------------------------------------------------------------------------
Jose Tomas Palma Mendez
Dpto. de Ingeniería de la Información y las Comunicaciones
http://www.um.es/diic
Artificial Intelligence and Knowledge Engineering Group
University of Murcia Tlf: +34 968 36 46 31
Campus de Espinardo Fax: +34 968 36 41 51
30071 Murcia, Spain Email: jpa...@dif.um.es
PGP Public Key:
http://pgp.rediris.es:11371/pks/lookup?search=jpalma%40dif.um.es&op=index
---------------------------------------------------------------------------
"But how can you buy or sell the sky? the land?
The idea is strange to us.
If we do not own the freshness of the air and the sparkle
of the water, how can you buy them?"

Chief Seattle's letter
----------------------------------------------------------------------------

Peter Flynn

unread,
Jan 9, 2002, 8:48:16 PM1/9/02
to jpa...@dif.um.es
Jose Tomas Palma Mendez wrote:

> When compiling a latex file with MikTex 2.1 and BibText, I get this
> annoying error message:
>
> [4] <myfile.bbl>
> ! Argument of \user@active@arg~ <mailto:user@active@arg%7E> has an extra }
> <inserted text>
> \par
> l.1 \begin{thebibliography}{10}
>
> Any clue?


Are you using \verb or \url for this email address?

///Peter

Jose Tomas Palma Mendez

unread,
Jan 10, 2002, 3:07:22 AM1/10/02
to
sorry:

It would be

> When compiling a latex file with MikTex 2.1 and BibText, I get this
> annoying error message:
>
> [4] <myfile.bbl>

> ! Argument of \user@active@arg~ has an extra }


> <inserted text>
> \par
> l.1 \begin{thebibliography}{10}
>
> Any clue?

____________________________________________________________________

José Tomás Palma Méndez

Robin Fairbairns

unread,
Jan 10, 2002, 6:45:22 AM1/10/02
to
Jose Tomas Palma Mendez <jpa...@dif.um.es> wrote:
>sorry:
>
>It would be
>
>> When compiling a latex file with MikTex 2.1 and BibText, I get this
>> annoying error message:
>>
>> [4] <myfile.bbl>
>> ! Argument of \user@active@arg~ has an extra }
>> <inserted text>
>> \par
>> l.1 \begin{thebibliography}{10}
>>
>> Any clue?

my clue would be that you're using some package that (a) you're not
mentioning and (b) has side effects that no-one immediately
recognises.

i'm afraid my crystal ball has failed me, and since you merely repeat
your original message in response to peter's suggestion, i recommend
that you try being more revealing.
--
Robin Fairbairns, Cambridge -- rf10 at cam dot ac dot uk

Heiko Oberdiek

unread,
Jan 10, 2002, 8:39:02 AM1/10/02
to
On 10 Jan 2002 11:45:22 GMT, r...@pallas.cl.cam.ac.uk (Robin Fairbairns)
wrote:

> Jose Tomas Palma Mendez <jpa...@dif.um.es> wrote:
> >
> >> [4] <myfile.bbl>
> >> ! Argument of \user@active@arg~ has an extra }

>[...]
> >> l.1 \begin{thebibliography}{10}


>
> my clue would be that you're using some package that (a) you're not
> mentioning and (b) has side effects that no-one immediately
> recognises.

\user@active@arg comes from babel. Perhaps an older
version of babel is used.

> i'm afraid my crystal ball has failed me,

Without a minimal test file and version informations it is
very difficult.

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Jose Tomas Palma Mendez

unread,
Jan 11, 2002, 4:51:42 AM1/11/02
to
Finally I have found the problem couse but don't have any explanation.
The problem appears when babel package is invoked as follows:
\usepackage[english,spanish]{babel}
but problem dissapear if babel is invoked as
\usepackage[english]{babel}

........ :-)

Jose Tomas Palma Mendez wrote:

Robin Fairbairns

unread,
Jan 11, 2002, 6:58:02 AM1/11/02
to
Jose Tomas Palma Mendez <jpa...@dif.um.es> wrote:
>Finally I have found the problem couse but don't have any explanation.
>The problem appears when babel package is invoked as follows:
>\usepackage[english,spanish]{babel}
>but problem dissapear if babel is invoked as
>\usepackage[english]{babel}

of course you don't have any explanation: you *still* haven't given
any details of what you're doing. i asked yesterday, and heiko also
asked, for details of the document that causes this problem. you've
now confirmed heiko's guess that the problem is likely due to babel,
but you don't tell us which version of babel you're using, or any
other details of your situation.

you should realise that there are thousands of ways in which tex
documents can "go wrong", and new ones are being discovered all the
time. diagnosis *always* requires detailed knowledge: sometimes
people manage this knowledge by pattern matching, but it's not good
policy to give vague hints and assume that people will be able to
"guess" what is wrong.

Jose Tomas Palma Mendez

unread,
Jan 11, 2002, 7:12:44 AM1/11/02
to
ok:.

Here is the characteristic of the document:
__________________________________________-
\documentclass{ecai2002}
\usepackage{latexsym}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[english,spanish]{babel}
\usepackage{amssymb}

\ecaisubmission

\newtheorem{definition}{Definition}


\begin{document}
\title{Title}
\author{author1
\and author2 \institute{Instituye email:
\{name1,name2\}\@some.where.com}}

\maketitle
\bibliographystyle{plain}

\begin{abstract}
Some text
\end{abstract}


\section{Introducción}
....

\bibliography{references}
\end{document}

Attached to this mail is the .log file

Robin Fairbairns wrote:

--

Myfile.log

David Kastrup

unread,
Jan 11, 2002, 9:02:25 AM1/11/02
to
Jose Tomas Palma Mendez <jpa...@dif.um.es> writes:

> \and author2 \institute{Instituye email:
> \{name1,name2\}\@some.where.com}}

You have to write @ instead of \@.

You probably have similar errors in your .bib file.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David....@t-online.de

Donald Arseneau

unread,
Jan 11, 2002, 8:06:44 PM1/11/02
to
Jose Tomas Palma Mendez <jpa...@dif.um.es> writes:

> Here is the characteristic of the document:

Ho hum...not enough info.

> \documentclass{ecai2002}

Don't have that.

> (PalmaECAI2002.bbl
> ! Argument of \user@active@arg~ has an extra }.


> <inserted text>
> \par
> l.1 \begin{thebibliography}{10}

And I don't know how it defined \thebibliography. There is some
incompatibility in the use of ~ as an unbreakable space versus
as a spanish accent, maybe in an \edef??

Please report the definition of \thebibliography, plus the
usage/meaning of ~.
Also the error message would have some meaning
if you put:

\setcounter{errorcontextlines}{99}

in the document.

Okay okay, I got ecai2002.cls via google. It has several
~ used as an unbreakbale space, but "you" (via spanish-babel)
are using it to put a tilde over n.
The error message

! Argument of \user@active@arg~ has an extra }

is absolutely correct -- perhaps the first time ever in the
history of LaTeX. The (trashy) definition of thebibliography
is


\newenvironment{thebibliography}[1]
{\section*{\refname
\@mkboth{\eightrm\MakeUppercase\refname}{\eightrm\MakeUppercase\refname}}%
\refsize\list{[\@arabic\c@enumi]~}%
% ^^^
%
{\settowidth\labelwidth{[0#1]~}%
% ^^^^^^^
% NOTE
\leftmargin\labelwidth
% \advance\leftmargin\labelsep
\itemsep 0\p@
\parsep 0\p@
\@openbib@code
\usecounter{enumi}%
\let\p@enumi\@empty
\renewcommand\theenumi{\@arabic\c@enumi}}%
\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty=100%
\sfcode`\.=1000}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}

where you see "~" is used immediately before "}", but spanish "~"
needs to take an argument.

You should disable ~ as a babel special character (read the babel
docs) if that is possible. If you are using ~ specially, then you
would have to fix up the environment definition. In this case,
an ordinary space will give exactly the "nominal" behavior. In
reality, the ~ characters should be removed, the line
% \advance\leftmargin\labelsep
should be un-commented, and the \labelsep parameter should be
set to the desired width (apparently one space, probably .33em).

Uses of ~ elsewhere in ecai2002.cls should be changed to \nobreakspace.


Donald Arseneau as...@triumf.ca

0 new messages