Hopefully, someone can help me a bit!
I am struggling with a bug in my citation style. I am required to use a modified Harvard style with footnotes:
² Vgl. Robinson et al. (2017)
My problem is that 2 entries by the same author in one year miss the index. They should produce a "Robinson (2017)" and "Robinson (2017b)" in the footcite, but don't. I simply don't know the right printfield command for this, as \printbibliography
produces exactly the desired output.
I achieved this by using the following config:
\usepackage[autocite=footnote,style=authoryear-ibid,maxcitenames=1,natbib=true,backend=biber]{biblatex}
\DefineBibliographyStrings{german}{%
andothers = {et al.},
}
\DeclareCiteCommand{\footcite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}
\printnames{labelname}%
\setunit{\addnbspace}
\printtext[parens]{\printfield{year}}}
{\multicitedelim}
{\usebibmacro{postnote}}
With a bibliography like this:
@book{Crusoe2017,
author = {Crusoe, Robinson},
year = {2017},
title = {The Survival},
publisher = {{Island Publishing}},
isbn = {978-1234567890}
}
@book{Crusoe2017b,
author = {Crusoe, Robinson},
year = {2017},
title = {The Survival - Day 2},
publisher = {{Island Publishing}},
isbn = {978-1234567800}
}
Finally, the file itself looks like this:
Crusoe states in his first publication\footcite[vgl][S. 75 f.]{Crusoe2017}
(...) in contrast to his secone one\footcite[vgl][S. 5 f.]{Crusoe2017}
Which produces 2 footnotes like this:
²vgl Crusoe (2017), S. 75 f.
³vgl Crusoe (2017), S. 5 f.
The last footnote should have an additional index, which is fine in the final bibliography.
So if someone has a hint on what to change, that would be really great, thanks!
\printfield{year}
in your\footcite
command with\printlabeldateextra
get the job done? (It should render 2017a and 2017b, not 2017 and 2017b)