I'm using natbib with a custom bibliography style and so would rather not change away from natbib if I can help it. I have one author with two citations and I just want the References section to list both citations properly under the one author. I cannot figure out how to do this as currently the output treats each citation as belonging to a different author (as a different entry). I have not provided a MWE as it does not seem necessary in this case but I can if need be.
\documentclass{article}
\usepackage{natbib}
\bibliographystyle{plainnat}
\begin{document}
Here is text \citep[p.1]{authorA}. And then more from same author \citep[p.1]{authorB}
\clearpage
\bibliography{bib}{}
\end{document}
And the bib file:
@book{authorA,
author={Smith, John},
title={Book},
}
@book{authorB,
author={Smith, John},
title={Other Book},
}
I would like the "References" section at the end of the article to look something like this:
Smith, John. Book
------Other Book
Instead of like this:
Smith, John. Book
Smith, John. Other Book