尝试以下 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}
第二个 REF1 引用的超链接指向第一章的参考书目,尽管它出现在第二章中。
如何使第二条 REF1 引用路线上的超链接到第二章的参考书目?