Generalbibtex error - undefined control sequence \citename

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
zaza
Posts: 2
Joined: Sat Jul 28, 2007 4:19 am

bibtex error - undefined control sequence \citename

Post by zaza »

Hello,

I am using Miktex and compiling a paper with pdflatex, and I have a strange error with bibtex : when I compile my bibliography with the bibliography style "plain", everything works fine. However, when I use some other style (such as "authordate1"), I get an undefined control sequence error for each item of my bibliography:

!Undefined control sequence
<argument> \protect \citename
...

I know that I have the authordate1 style in my Miktex installation (the file authordate1.bst is in the folder MiKTeX 2.6\bibtex\bst\beebe).

When I click on the error, it opens a .bbl file and indicates the error on the following line:

Code: Select all

\bibitem[\protect\citename{Makhoul {\em et~al.\ }\relax, }2004]{Nephr03}
Makhoul, B., De~La~Taille, A., Vordos, D., Salomon, L., Sebe, P., Audet, J.~F.,
  Ruiz, L., Hoznek, A., Antiphon, P., Cicco, A., Yiou, R., Chopin, D., \&
  Abbou, C.~C. 2004.
\newblock {{L}aparoscopic radical nephrectomy for {T}1 renal cancer: the gold
  standard? {A} comparison of laparoscopic vs open nephrectomy}.
\newblock {\em Bju int}, {\bf 93}(1), 67--70.
\newblock Comparative Study.
Is there a specific package that I forgot to include and that would be needed by the .bbl file ?

Thanks in advance for any help

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

zaza
Posts: 2
Joined: Sat Jul 28, 2007 4:19 am

Re: bibtex error - undefined control sequence SOLVED

Post by zaza »

ok I'm answering my own post !
After hours of googling, it appears that when using the authordates styles, the package authordate1-4 must be included.
Post Reply