BibTeX, biblatex and biberUndefined control sequence on just one reference?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

Undefined control sequence on just one reference?

Post by arwintcher »

I am trying to compile my thesis document and I keep getting an "Undefined control sequence" error on a specific reference. I can't figure out what the problem is with it, though.

Here is my attempt at an MWE:

Code: Select all

\documentclass[a4paper,11pt,oneside]{memoir}
\usepackage[T1]{fontenc} %Encoding
\usepackage[latin1]{inputenc}
\chapterstyle{chappell}
\usepackage[authoryear,numbers,sort&compress]{natbib} 
\bibpunct[:]{(}{)}{;}{a}{}{,}
\begin{document}
\frontmatter
\mainmatter
\OnehalfSpacing
\pagestyle{companion}

Here is some random text that cites this file \cite[331]{sauvet09thinking}.

\bibliographystyle{plain}
\thispagestyle{empty}
\bibliography{sauvet}
\end{document}
The output in the bbl file, after running BibTeX:

Code: Select all

\begin{thebibliography}{1}

\bibitem{sauvet09thinking}
Georges Sauvet, Robert Layton, Tilman Lenssen-Erz, Paul Ta\ccon, and Andr\'e
  Wlodarczyk.
\newblock Thinking with animals in upper palaeolithic rock art.
\newblock {\em Cambridge Archaeological Journal}, 19(03):319--336, 2009.

\end{thebibliography}
The bibtex file is like this:

Code: Select all

@ARTICLE{sauvet09thinking,
  author = {Sauvet, Georges and Layton, Robert and Lenssen-Erz,Tilman and Ta\ccon,
	Paul and Wlodarczyk, Andr\'e},
  title = {Thinking with Animals in Upper Palaeolithic Rock Art},
  journal = {Cambridge Archaeological Journal},
  year = {2009},
  volume = {19},
  pages = {319-336},
  number = {03},
  doi = {10.1017/S0959774309000511},
  eprint = {http://journals.cambridge.org/article_S0959774309000511},
  file = {sauvet09thinking.pdf:sauvet09thinking.pdf:PDF},
}
I keep getting the error "Undefined control sequence ...rt Layton, Tilman Lenssen-Erz, Paul Ta\ccon", but I don't see what is wrong with the BibTeX entry. All the other hundreds of references in the file compile with no errors.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Undefined control sequence on just one reference?

Post by meho_r »

Sorry for not being thorough, but you should check two things:

1. \c in the name of Ta\ccon,

2. This line: \bibpunct[:]{(}{)}{;}{a}{}{,}

After removing \c and commenting that \bibpunct... line, bibliography compiled fine.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Undefined control sequence on just one reference?

Post by frabjous »

I do!

Change Ta\ccon to Ta{\c{c}}on.

While you're at it, change Andr\'e to Andr{\'e}.

BibTeX does not handle accents very well, but the first one would be incorrect even in plain LaTeX.
arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

Re: Undefined control sequence on just one reference?

Post by arwintcher »

Ahhhhh. I wrote out the author names in Kile so that I could use the feature that automatically changes characters written with dead keys to latex code, using the shortcut key for ç (win+,+c) and \cc is what it spit out.

I changed it to \c{c} and it works now. Thanks!

I know just enough about latex to be dangerous...
Post Reply