# Re: Don't understand LaTeX Error

On 01/25/2010 10:37 AM, Matthias Schmidt wrote:

Hello,

I'm working with Lyx 1.6.5 and JabRef 2.5

When I want to view the following LaTeX Source as PDF (pdflatex), I
get at the end of the first LaTeX run 4 LaTeX errors:


I think the problem is that you have put a footnote inside a subsubsection heading. This is a bad idea. Are you generating a table of contents? If so, then the problem is that LaTeX is trying to put the footnote inside the table of contents. Surely you do not want this.

rh


LaTeX Source:
\subsubsection{Die Familien Busch vor der Hardt und
Flender\label{sub:Die-Familien-Busch}%
\footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2
im Band 2 von Matthias Schmidt überarbeitet.%
}}

1. Error:
Undefined control sequence.
Description:
}}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., \hobx'), type I'
and the correct spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

2. Error:
Undefined control sequence.
Description:
}}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., \hobx'), type I'
and the correct spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

3. Error:
Argument of \...@sect has an extra }.
Description:
}}

I've run across a }' that doesn't seem to match anything. For
example, \def\a#1{...}' and \a}' would produce this error. If you
simply proceed now, the \par' that I've just inserted will cause me
to report a runaway argument that might be the root of the problem.
But if your }' was spurious, just type 2' and it will go away.

4. Error:
Paragraph ended before \...@sect was complete.
Desription:
}}

I suspect you've forgotten a }', causing me to apply this control
sequence to too much text. How can we recover? My plan is to forget
the whole thing and hope for the best.

The cause of the problem seems to be the Citation Style: When I change
it
from \citet{GieslerG1990}
to \cite{GieslerG1990}
the LaTeX errors do not come! I don't understand this. What do I have
to change, that the first citation style (\citet{GieslerG1990}) will
be accepted?



`