Hi all,
I'm trying to use the optional argument in \cite to reference a specific theorem within a book. I get the following error message when running BiBTeX:
Warning--I didn't find a database entry for "["
and this is the pdf output I get after continuing regardless and compiling the LaTeX:
[?]Theorem 5]McIver2004 [33]
for the LaTeX commands:
\cite[Theorem 5]{McIver2004} \cite{McIver2004}
I included the second citation just to show that cite works ok for this reference without the optional argument.
I have also tried using {\cite[Theorem 5]{McIver2004}}, but have the same results.
Has anyone come across this problem before or can spot what I've done wrong?
BibTeX, biblatex and biber ⇒ Problems with optional argument in \cite
Problems with optional argument in \cite
Last edited by ZAndrews on Wed Mar 02, 2011 6:26 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Problems with optional argument in \cite
I imagine this has something to do with some package you're loading, or the particular document class you're using. Certainly this is not normal behavior. Could you provide a complete minimal working example that would allow us to reproduce the error?
Re: Problems with optional argument in \cite
Thanks for the suggestion... in doing so I managed to locate the problem -- one of my colleagues had redefined \cite in the preamble! It's all fixed now, thanks for your help.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problems with optional argument in \cite
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).ZAndrews wrote:[…] It's all fixed now, […]
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10