I am using biblatex for my citations and bibliography, with citations placed in end notes and am using the authortitle style. I am required to cite a single work in the notes with just a reference to the author, but if that author has multiple works in the bibliography, I need to use the the combination of author and short title in the citation.
For example:
- Smith, p.10.
- Jones, "Gone with the Wind", p.11.
- Smith, p.23.
- Jones, "No longer windy", p.2.
etc
I have successfully implemented the Jones, "Gone with the Wind", p.11 type of entry, but I get this format for all my entries, including those for Smith. How do I drop the short title from the Smith-type entries, that is, those authors with only single titles in the bibliography?
Thanks for any assistance.
The following code shows my biblatex setup:
\documentclass[11pt, article, oneside]{memoir}
\usepackage{endnotes}
\let\footnote=\endnote
\renewcommand{\notesname}{}
\usepackage[citestyle=authortitle-ibid, bibstyle=authortitle, sorting=nyt,
block=space, terseinits=true, backend=biber]{biblatex}
\defbibheading{memoir}{}
\bibliography{/Volumes/Current/work/core/biblio14}
\DefineBibliographyStrings{australian}{%
bibliography = {References},
shorthands = {Abbreviations},
editor = {editor},
editors = {editors},
techreport = {},
in = {~},
}
\newbibmacro*{shorttitle}{%
\setunit*{\addcomma\space}%
\printlist{shorttitle}%
\setunit*{\addcomma\space}
\newunit}
\begin{document}
blah blah blah \footnote{\cite[247]{Kaufmann2014b}}
blah blah blah
\newpage
\addcontentsline{toc}{chapter}{Notes}
\chapter*{Notes}
%
\begingroup
\renewcommand{\makeenmark}{\hbox{\theenmark}.\quad}
\parindent 0pt
\parskip 2ex
\def\enotesize{\normalsize}
\theendnotes
\endgroup
\chapter*{References}
\raggedright
\printbibliography[heading=memoir]
\end{document}
Best Answer
If we enable the package option
singletitle
we can use the test\ifsingletitle
to check if there is only one work by a particular author.We can modify the
cite:title
macro to do nothing if that is the caseThis, leads to a tiny complication with punctuation though, so we also need
Note that in your MWE I have changed your redefinition of the
in
bibstring to the standard way to suppress the "in:", I also usestyle=authortitle-ibid
instead of the longer, but equivalentcitestyle=authortitle-ibid, bibstyle=authortitle
. I don't like thetechreport = {},
either, but I'm not entirely sure what you want to do there, so I left it, maybe, just maybe\AtEveryBibitem{\clearfield{type}}
does what you want. We also used\footcite{foo}
instead of\footnote{\cite{foo}}
.