GeneralEnabling \citeauthor in BibTeX Styles alpha/alphadin

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
UniOl
Posts: 1
Joined: Fri Jun 27, 2008 11:56 am

Enabling \citeauthor in BibTeX Styles alpha/alphadin

Post by UniOl »

I need some help with natbibs \citeauthor command. Currently it's not possible to use \citeauthor with the alpha style.

I thought of editing the output.bibitem macro in the alpha.bst file, in a way that it's not generating

Code: Select all

\bibitem[BD00]{BroDugSocialLife}
\textsc{Brown}, John~S. ; \textsc{Duguid}, Paul:
\newblock \emph{The Social Life of Information}.
\newblock Harvard Business School Press, 2000. --
\newblock ISBN 0875847625
in the resulting bbl-file anymore. It should insert \citename{Brown und Duguid, } in the first optional paramter of \bibitem.

Code: Select all

\bibitem[\citename{Brown und Duguid, }BD00]{BroDugSocialLife}
\textsc{Brown}, John~S. ; \textsc{Duguid}, Paul:
\newblock \emph{The Social Life of Information}.
\newblock Harvard Business School Press, 2000. --
\newblock ISBN 0875847625
In this case it is possible to use the \citeauthor macro and you'll get Brown und Duguid in your text. But the problem is the resulting bibliography isn't correct anymore. All bibitems are indexed by a number and not by a short key like [BD00].

Any ideas how to solve this problem? I even thougt of modifying \citex command in the natbib.sty, which is called via \citetp by \citeauthor. But \citex is a little bit unreadable. :(

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

Post Reply