The function calc.label
in apalike.bst
is responsible of this: it strips away all non alphanumeric characters and keeps the last up to four characters remaining.
If you copy apalike.bst
to myapalike.bst
and change the function defined in lines 896-912 to become
FUNCTION {calc.label}
{ type$ "book" =
type$ "inbook" =
or
'author.editor.key.label
{ type$ "proceedings" =
'editor.key.label % apalike ignores organization
'author.key.label % for labeling and sorting
if$
}
if$
", " % these three lines are
* % for apalike, which
year field.or.null #-1 #4 substring$ % uses all four digits
*
'label :=
}
then \bibliographystyle{myapalike}
will accept year={n.d.}
as you wish: it consists of four characters, after all!
The change consists simply in removing the string purify$
. I can't say if this may have adverse effects on other entries; but, as long as you have only years or n.d.
, all should go well.
(too long for a comment, hence posted as an answer)
The dcu
bibliography style -- "dcu" stands for "Design Computing Unit",
Department of Architectural and Design Science, University of Sydney -- is part of the harvard citation management package. (Aside: If you use dcu
with the natbib
package instead of the harvard
package, it's a good idea to load the har2nat
package as well, especially if the hyperref
package is in use.)
As you've discovered, the dcu
bibliography style is programmed not to employ the et al
abbreviation in citation call-outs if there are two (or more) multi-author entries which (a) start with the same first author and (b) do not have all authors in common. In this regard, dcu
is similar to the agsm
bibliography style, which -- not coincidentally! -- is also part of the harvard
citation management package. See the posting AGSM bibliography style sometimes doesn't abbreviate to "et al." for duplicate author+year for more on this subject.
The upshot: If you can't stand this behavior, you should probably look into using a different bibliography style.
A full MWE:
\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@inproceedings{InsaCabrera11,
author = {Insa-Cabrera, Javier and Dowe, David L. and {Espa\~{n}a-Cubillo}, Sergio and {Hern\'{a}ndez-Lloreda}, M. Victoria and Hern\'{a}ndez-Orallo, Jos{\'e}},
title = {Comparing Humans and {AI} Agents.},
booktitle = {Artificial General Intelligence (AGI)},
isbn = {978-3-642-22886-5}, keywords = {dblp},
pages = {122-132},
publisher = {Springer},
series = {Lecture Notes in Computer Science (LNCS)},
volume = {6830},
year = {2011}
}
@inproceedings{Insa2012,
author = {Insa-Cabrera, Javier and Benacloch-Ayuso, Jos\'e-Luis and Hern\'andez-Orallo, Jos\'e},
title = {On Measuring Social Intelligence: Experiments on Competition and Cooperation},
booktitle = {Proceedings 5th International Conference on Artificial General Intelligence (AGI)},
editor = {Joscha Bach and Ben Goertzel and Matthew Ikl{\'e}},
volume = {7716},
series = {Lecture Notes in Computer Science (LNCS)},
publisher = {Springer Berlin Heidelberg},
year = {2012},
pages = {126-135}
}
@inproceedings{Chmait2016a,
title = {Factors of Collective Intelligence: How Smart Are Agent Collectives?},
author = {Chmait, Nader and Dowe, David L. and Li, Yuan-Fang and Green, David G. and Insa-Cabrera, Javier},
booktitle = {Proceedings of 22nd European Conference on Artificial Intelligence {ECAI}},
address = {The Hague, The Netherlands},
ISBN = {978-1-61499-671-2},
Series = {Frontiers in Artificial Intelligence and Applications},
Editors = {Gal A. Kaminka and Maria Fox and Paolo Bouquet and Eyke H\"ullermeier and Virginia Dignum and Frank Dignum and Frank van Harmelen},
Volume = {285},
pages = {542--550},
doi = {DOI10.3233/978-1-61499-672-9-542},
year = {2016}
}
@inproceedings{workshopChmait2016b,
author = {Chmait, Nader and Li, Yuan-Fang and Dowe, David L. and Green, David G.},
title = {A Dynamic Intelligence Test Framework for Evaluating {AI} Agents},
booktitle = {Proceedings of 1st International Workshop on Evaluating General-Purpose {AI (EGPAI 2016)}},
address = {The Hague, The Netherlands},
year = {2016},
pages = {1--8}
}
\end{filecontents}
\documentclass{article}
\usepackage{natbib,har2nat}
\bibliographystyle{dcu}
\begin{document}
\citet{InsaCabrera11}
\citet{Insa2012}
\citet{Chmait2016a}
\citet{workshopChmait2016b}
\bibliography{mybib}
\end{document}
Best Answer
It looks like you're loading the
natbib
package with the optionlongnamesfirst
. This option, if set, tells natbib to generate citation call-outs that include the surnames of all authors the first time a given entry with three or more authors is cited; all subsequent citation call-outs of the same entry using the\citet
and\citep
macros will be of the formfirst-surname et al
.If you don't want this behavior, don't specify the option
longnamesfirst
.