I want postnotes for inline citations to be hyperlinked, i.e. I want the authorname, year, and any postnotes hyperlinked (but not prenotes!).

I've used the answer here to get authorname hyperlinked, but can't figure out how to add the postnote to the hyperlink.



%Works without the last bracket ;-)

A reference to \parencite[e.g.][3-4]{kastenholz}, \parencite[56]{bertram}, and~\textcite[12-14]{sigfridsson}.  

In the above example, ", pp.3-4" and ", p.56" should be hyperlinked for Kastenholz and Bertram, respectively (not the parentheses), while ", pp. 12-14)" should be hyperlinked for the Sigfridsson cite (parentheses included).

Any suggestions?

P.S. I'm compiling this in RStudio, which requires me to use backend=bibtex, so any solution must allow for that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.