以下代码在不使用 的情况下运行良好natbib
。但是,当我使用 时natbib
,backref
不起作用并给出警告。有什么办法可以解决这个问题吗?
test.tex
:
\documentclass{article}
\usepackage{natbib}
\usepackage[backref]{hyperref}
\begin{document}
\cite{latexcompanion}
\bibliographystyle{plainnat}
\bibliography{sample}
\end{document}
sample.bib
:
@book{latexcompanion,
author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
title = "The \LaTeX\ Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
警告:
File `test.brf' has changed.
(rerunfilecheck) Rerun to get bibliographical references right.