I want to cite two articles from the same author using biblatex
with citation style biblatex-aer
(https://github.com/dmsul/biblatex-aer). However, when I use \textcite{key1,key2}
, I get e.g.
Gurley and Shaw (1955), 1966
instead of
Gurley and Shaw (1955, 1966)
Going into the code from biblatex-aer
, it boils down to this code snippet:
\renewbibmacro*{textcite}{%
\ifboolexpr{
( not test {\iffieldundef{prenote}} and
test {\ifnumequal{\value{citecount}}{1}} )
or
( not test {\iffieldundef{postnote}} and
test {\ifnumequal{\value{citecount}}{\value{citetotal}}} )
}
{\DeclareFieldAlias{textcitehyperref}{noformat}}
{}%
\printtext[textcitehyperref]{%
\restorebibmacro{textcite}%
\usebibmacro{textcite}}}
If I delete these lines, I receive the correct citation, however, hyperref
does not color the whole name anymore rather only the year of publication.
Do you know how to fix this?