For my master's thesis I changed my citation package from harvard
with bibtex
to biblatex-chicago
with authordate
and bibtex8
, primarily because I need babel to translate my bibliography to Norwegian. But I miss the \possessivecite
command from the harvard
package, and I haven't found anything like it in the biblatex-chicago
documentation.
Making a command like
\newcommand{\posscite}[1]{\citeauthor{#1}'s \autocite*{#1}}
would solve it, but then I won't be able to cite a certain page with
\posscite[135]{key})
and I would really like to. As I'm writing in Norwegian, I also need the possessive to be '
when the author's name ends with s/sh/sj/rs/z (much like in English)and just s
(no apostrophe) in any other case. How do I do that?
Best Answer
The appropriate possessive suffix can be generated by examining the last few characters of the label. This is straightforward using the package
xstring
.Possessive citation commands in English are much easier to construct. An example under the the standard author-year styles is covered in another question.
authoryear and its variants
In response to a feature request on possessive citations, Philipp Lehman demonstrated how one could generate a possessive
labelname
in English using a format alias. The code below extends this approach to other types of labels and Norwegian possessives. It should work for all variants of the standard author-year styles.chicago-authordate
The approach for this style is similar, but when the label is generated by the bibliography macro
cite:label
it can take on many different formats depending on the entry type and available fields. So the code below redefines the macro locally for use by the possessive citation command.