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

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

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 348 times
Natbib.tex
Driver tex file
(643 Bytes) Downloaded 367 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 248 times
Post Reply