BibTeX, biblatex and biber\citet in 'number' citation style

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
bbouling
Posts: 11
Joined: Tue Aug 05, 2008 11:17 am

\citet in 'number' citation style

Post by bbouling »

Hi all,

I use the number format with natbib for the references in the text. When I use the \citet command, I get an error: no authors. I don't get why?

My bib and tex files are attached.

Regards
Attachments
Carbon.zip
(7.92 KiB) Downloaded 216 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: \citet in 'number' citation style

Post by kaiserkarl13 »

It's not an error, so to speak, but perhaps a missing feature. Quoting the documentation for natbib: "The authors can only be listed if the .bst file supports author–year citations. The standard .bst files, such as plain.bst, are numerical only and transfer no author–year information to LaTeX. In this case, \citet prints "(author?) [21]."

My guess is that you're using a bibliography style file that isn't capable of handling author-year citations, so natbib doesn't find the appropriate information in the .aux file.
bbouling
Posts: 11
Joined: Tue Aug 05, 2008 11:17 am

Re: \citet in 'number' citation style

Post by bbouling »

You guessed right, the bib style is a numerical one.

I'd classify that as a missing feature :)
Thank you for the explanation.
Post Reply