Referência cruzada para o nome do autor de \textcite e parencite como possessivo sem link para citação (BibLatex)

Referência cruzada para o nome do autor de \textcite e parencite como possessivo sem link para citação (BibLatex)

Estou tentando vincular o Author Name.

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}

@article{mcintosh1997rhythmic,
  title={Rhythmic auditory-motor facilitation of gait patterns in patients with Parkinson's disease.},
  author={McIntosh, Gerald C and Brown, Susan H and Rice, Ruth R and Thaut, Michael H},
  journal={Journal of Neurology, Neurosurgery \& Psychiatry},
  volume={62},
  number={1},
  pages={22--26},
  year={1997},
  publisher={BMJ Publishing Group Ltd}
}

\end{filecontents}


\documentclass[british]{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}

\usepackage{csquotes}
\usepackage[%
  style=authoryear, 
  backend=biber, 
  maxcitenames=2,
  giveninits % <========================================================
]{biblatex}
\addbibresource{\jobname.bib} % \jobname to use the bib file created with filecontents
\DeclareNameAlias{sortname}{family-given}

\usepackage[unicode,colorlinks,citecolor=blue]{hyperref} % <============
\renewcommand*{\nameyeardelim}{\addcomma\space}

\newcommand{\mycite}[1]{\citeauthor{#1}'s \citeyear{#1}} % <============

\DeclareCiteCommand{\citeauthor} % <====================================
  {\boolfalse{citetracker}%
   \boolfalse{pagetracker}%
   \usebibmacro{prenote}}
  {\ifciteindex
     {\indexnames{labelname}}
     {}%
   \printtext[bibhyperref]{\printnames{labelname}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}


\begin{document}

According to \citeauthor{mcintosh1997rhythmic}'s studies \autocite*{mcintosh1997rhythmic}, blablabla 

\mycite{mcintosh1997rhythmic} ->        McIntosh et al. (1990)\\
\textcite{mcintosh1997rhythmic}   ->        McIntosh et al. (1997)\\
\parencite{mcintosh1997rhythmic}  ->        (McIntosh et al., 1997)\\
\printbibliography
\end{document}

A saída:

insira a descrição da imagem aqui

Somente o yearlink é. O author namenão o vincula.

Responder1

Para obter o que deseja, você precisa adicionar o seguinte código ao seu preâmbulo:

\DeclareCiteCommand{\citeyear} % <======================================
    {}
    {(\bibhyperref{\printdate})}
    {\multicitedelim}
    {}

\DeclareCiteCommand{\parencite} % <=====================================
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{(\usebibmacro{cite}})}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\makeatletter
\let\abx@macro@textciteOrig\abx@macro@textcite
\renewbibmacro{textcite}{% <============================================
   \bibhyperref{%
   \let\bibhyperref\relax\relax%
   \abx@macro@textciteOrig%
   }%
}%
\makeatother

Este código altera os comandos e adiciona o hiperlink e colchetes, \citeyearse necessário.\parencite\textcite()

Por favor, veja o seguinte MWE completo

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}

@article{mcintosh1997rhythmic,
  title={Rhythmic auditory-motor facilitation of gait patterns in patients with Parkinson's disease.},
  author={McIntosh, Gerald C and Brown, Susan H and Rice, Ruth R and Thaut, Michael H},
  journal={Journal of Neurology, Neurosurgery \& Psychiatry},
  volume={62},
  number={1},
  pages={22--26},
  year={1997},
  publisher={BMJ Publishing Group Ltd}
}
\end{filecontents}


\documentclass[british]{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}

\usepackage{csquotes}
\usepackage[%
  style=authoryear, 
  backend=biber, 
  maxcitenames=2,
  giveninits
]{biblatex}
\addbibresource{\jobname.bib} % \jobname to use the bib file created with filecontents
\DeclareNameAlias{sortname}{family-given}

\usepackage[unicode,colorlinks,citecolor=blue]{hyperref}
\renewcommand*{\nameyeardelim}{\addcomma\space}

\newcommand{\mycite}[1]{\citeauthor{#1}'s \citeyear{#1}}

\DeclareCiteCommand{\citeauthor}
  {\boolfalse{citetracker}%
   \boolfalse{pagetracker}%
   \usebibmacro{prenote}}
  {\ifciteindex
     {\indexnames{labelname}}
     {}%
   \printtext[bibhyperref]{\printnames{labelname}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\citeyear} % <======================================
    {}
    {(\bibhyperref{\printdate})}
    {\multicitedelim}
    {}

\DeclareCiteCommand{\parencite} % <=====================================
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{(\usebibmacro{cite}})}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\makeatletter
\let\abx@macro@textciteOrig\abx@macro@textcite
\renewbibmacro{textcite}{% <============================================
   \bibhyperref{%
   \let\bibhyperref\relax\relax%
   \abx@macro@textciteOrig%
   }%
}%
\makeatother


\begin{document}

According to \citeauthor{mcintosh1997rhythmic}'s studies 
\autocite*{mcintosh1997rhythmic}, blablabla 

\verb|\mycite|: \mycite{mcintosh1997rhythmic} ->        McIntosh et al. (1990) 

\verb|\textcite|: \textcite{mcintosh1997rhythmic}   ->        McIntosh et al. (1997) 

\verb|\parencite|: \parencite{mcintosh1997rhythmic}  ->        (McIntosh et al., 1997) 

\printbibliography
\end{document}

e seu resultado:

bibliografia resultante

Responder2

Para excluir o parêntese de abertura (do hiperlink \parencite{}devemos usar o seguinte comando:

\DeclareCiteCommand{\parencite} % <=====================================
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   (\printtext[bibhyperref]{\usebibmacro{cite}})}
  {\multicitedelim}
  {\usebibmacro{postnote}}

informação relacionada