BibTeX, biblatex and bibernatbib | Use Author Citation with custom Bibliography Style

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
daviddoria
Posts: 60
Joined: Tue Sep 30, 2008 9:24 pm

natbib | Use Author Citation with custom Bibliography Style

Post by daviddoria »

I am trying to use \citeauthor from the natbib package with a bibliography style that is provided by a journal. Is this possible? I looked at "plainnat.bst", but I didn't see any instances of \citeauthor that I was hoping to just copy into "mystyle.bst".

Any suggestions?

Thanks,

David

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

natbib | Use Author Citation with custom Bibliography Style

Post by localghost »

daviddoria wrote:[…] Is this possible? […]
How are we supposed to know?


Thorsten
daviddoria
Posts: 60
Joined: Tue Sep 30, 2008 9:24 pm

Re: natbib | Use Author Citation with custom Bibliography St

Post by daviddoria »

Sorry, let me elaborate.

I have attached demo tex/bib files. It wouldn't let me upload the bst on the forum, so here it is: daviddoria.com/Uploads/ieee.bst

When I use \bibliographystyle{ieee}, I get "author undefined" errors on the \citeauthor lines. It works fine if I use \bibliographystyle{plainnat}

I hope that clears up the problem.

David
Attachments
References.bib
The references.
(1.66 KiB) Downloaded 369 times
Natbib.tex
Driver tex file
(643 Bytes) Downloaded 387 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

natbib | Use Author Citation with custom Bibliography Style

Post by localghost »

daviddoria wrote:[…] It wouldn't let me upload the bst on the forum, so here it is: daviddoria.com/Uploads/ieee.bst […]
This link is invalid. Hence the file is not available to others.

It's always possible to put files into a RAR or ZIP archive and upload this. That would be the better way instead of external links which can get lost with time.

Regardless of that I think that a look into the IEEEtran manual will surely be enlightened.
daviddoria
Posts: 60
Joined: Tue Sep 30, 2008 9:24 pm

Re: natbib | Use Author Citation with custom Bibliography St

Post by daviddoria »

I tried the IEEEtran bib style you suggested but it does not seem to support \citeauthor. I have attached the demo files as a zip.

With \bibliographystyle{unsrtnat} everything compiles properly. With \bibliographystyle{ieee} I get "author undefined for citation" errors.

Any suggestions?

Thanks,

David
Attachments
demo.zip
(10.88 KiB) Downloaded 268 times
Post Reply