I'm trying to get agsm.bst to format Harvard-style correctly (or at least the way my university requires me to do it :-) ). I have an @InCollection record like the following:
@incollection{Berndt99,
author = {T. J. Berndt},
title = {Friendships in adolescence},
booktitle = {Making sense of social development},
editor = {M. Woodhead and D. Faulkner and K. Littleton},
year = 1999,
publisher = {London: Routledge in association with the Open University},
}
which needs to be formatted as follows (bbl excerpt):
\harvarditem{Berndt}{1999}{Berndt99}
Berndt, T.~J. \harvardyearleft 1999\harvardyearright . `Friendships in
adolescence', in: M.~Woodhead, D.~Faulkner \harvardand\ K.~Littleton (eds)
{\em Making sense of social development}. London: Routledge in association
with the Open University.
By default, agsm produces
\harvarditem{Berndt}{1999}{Berndt99}
Berndt, T.~J. \harvardyearleft 1999\harvardyearright , `Friendships in
adolescence', in: M.~Woodhead, D.~Faulkner \harvardand\ K.~Littleton (eds)
{\em Making sense of social development}, London: Routledge in association
with the Open University.
I have followed the advice in Change separator in Bibtex bibliography from comma to period already, but unfortunately this replaces every separating comma with a period not just the ones I want. In particular, I now also get a period after the chapter title (`Friendships in adolescence') where I need a comma.
If I understand correctly, agsm manages this by tracking output state in an output.state variable. However, I don't understand how it does this and how I might be able to get it to differentiate these two parts of the reference.
Any suggestions?
Many thanks,
Steffen
agsmanddcubib styles (both part of theharvardpackage) are known to (designed to!) do some fairly funky stuff with entries with multiple authors; see, e.g., the posting Citation in “dcu” bibliography style sometimes return “et al” other times full author list. Unless your university actively requires you to adhere toagsm's funky settings, you're probably better off creating a new, bespoke bib style from scratch using themakebstutility.makebstwill also let you customize which punctuation characters should be used where. – Mico Apr 19 '18 at 19:09agsm, this seems OK for my use case. I'm simply looking for a solution of the problem of period vs comma. Creating a completely fresh style seems a little overkill for this. – Steffen Zschaler Apr 19 '18 at 19:36