複数の章(ビブユニット)内の同じ参照をハイパーリンクする

複数の章(ビブユニット)内の同じ参照をハイパーリンクする

次の MWE を試してください。

\documentclass[bibtotoc]{scrbook}
\usepackage[english]{babel}
\usepackage{natbib}
\usepackage[sectionbib]{bibunits}
\usepackage{hyperref}

% library
\begin{filecontents}{bib.bib}
    @article{REF1,
        title = {Title of first reference},
        journal = {Journal of first reference},
        volume = {1}, number = {1}, pages = {1-100}, year = {2023},
        author = {FirstAuthor, FirstAuthor}
    }        
    @article{REF2,
        title = {Title of second reference},
        journal = {Journal of second reference},
        volume = {2}, number = {2}, pages = {2-100}, year = {2023},
        author = {SecondAuthor, SecondAuthor}
    }
\end{filecontents}

\begin{document}
    \tableofcontents
    \bibliographyunit[\chapter]
    \defaultbibliography{bib.bib}
    \defaultbibliographystyle{agsm}
    
    \chapter{First section}
    \section{First section}
    some text \cite{REF1} more text more citations
    \newpage
    \putbib
    
    \chapter{Second and last section}
    \section{Second section}
    some text \cite{REF1} and \cite{REF2} more text more citations
    \newpage
    \putbib
\end{document}

2 番目の REF1 引用のハイパーリンクは、第 2 章にありますが、第 1 章の参考文献に移動します。

2 番目の REF1 引用ルートに第 2 章の参考文献へのハイパーリンクを作成するにはどうすればよいですか?

関連情報