I am aware of the number of previous threads related to my question, but I have not been able to find one with an answer applicable to my context.
My problem: I have an almost finished thesis using an adapted version of the puthesis
template with the natbib
citation management package and the dcu
bibliography style. Everything about the bibliography (and the in-text references) looks good except for one thing: I am unable to add Oxford/serial commas before the last author of works in the bibliography with more than two authors. I have tried different versions of \AtBeginBibliography
and such, for instance \AtBeginBibliography{\renewcommand\finalandcomma{}}
, but they keep generating errors without providing the commas. How do I add these serial commas?
I am relatively new to LaTeX and writing in ShareLaTeX, which I think makes me unable to edit too much under the hood in .bst
files and such (correct me if I am wrong).
This is how I have configured natbib
:
\usepackage{natbib}
\bibliographystyle{dcu}
\setcitestyle{authoryear,open={(},close={)}}
My document class does not seem to specify a language, and adding that does not seem to provide the commas. However, I am weary of changing such things as it may change also other things in the document and this is one of very few things to fix before I am completely finished, so naturally I do not want to create chaos:
\documentclass[a4paper,hidelinks,12pt]{puthesis}
Here are examples of two entries:
@article{RefWorks:55,
author={Victor Lavy and M. D. Paserman and Analia Schlosser},
year={2012},
title={Inside the Black Box of Ability Peer Effects: Evidence
from Variation in the Proportion of Low Achievers in the Classroom},
journal={Economic Journal},
volume={122},
number={559},
pages={208-237}}
@book{RefWorks:128,
editor={Michael O. Martin and Ina V. S. Mullis and Martin Hooper},
year={2016},
title={Methods and Procedures in {TIMSS} 2015},
publisher={TIMSS \& PIRLS International Study Center,
Lynch School of Education, Boston College},
address={Chestnut Hill, MA}}
Thank you very much in advance!
dcu
bibliography style? Bothdcu.bst
and its siblingagsm.bst
, which are both part of theharvard
package, are known to do a few (to put it blandly) unusual things with citation call-outs. Please elaborate.dcu
, among the different styles that I compared at the time, I found it to most closely resemble what I wanted and what my university prefers. Only the Oxford/serial commas are currently a problem, so I am hesitant to make large changes to correct this one relatively minor thing.puthesis.cls
available online somewhere? (It doesn't seem to be on the CTAN.)puthesis.cls
( [engineering.purdue.edu/~mark/puthesis/history ) and the changes do not seem important in this context, so I assume that the latest version, which is the one that I am able to find online, is suitable: [engineering.purdue.edu/~mark/puthesis/supported/puthesis.cls