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 241 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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