如果我在第 1 章和第 2 章中都引用了某个来源,那么第 1 章参考书目的反向引用列表也将包含第 2 章中相应页面的条目(反之亦然)。有没有办法将反向引用限制到每个章节?以下是 MWE:
\documentclass{book}
\usepackage[style=authoryear-comp,refsegment=chapter, backref,
backend=biber]{biblatex}
\defbibheading{bibbook}[\bibname]{\chapter{#1}}
\defbibheading{subbib}[\refname\space\chaptername\space
\ref*{refsegment:\therefsection\therefsegment}]{%
\setcounter{secnumdepth}{0}%
\section{#1}}
\addbibresource{biblatex-examples.bib}
\usepackage{hyperref}
\begin{document}
\mainmatter
\chapter{First}
\textcite{glashow}
\chapter{Fooo}
\textcite{glashow}
\backmatter
\printbibheading[heading=bibbook]
\bibbysegment[heading=subbib]
\end{document}
答案1
使用refsection
s 代替refsegment
s。
\documentclass{book}
\usepackage[style=authoryear-comp,refsection=chapter, backref,
backend=biber]{biblatex}
\defbibheading{bibbook}[\bibname]{\chapter{#1}}
\defbibheading{subbib}[\refname\space\chaptername\space
\ref*{refsection:\therefsection}]{%
\setcounter{secnumdepth}{0}%
\section{#1}}
\addbibresource{biblatex-examples.bib}
\usepackage{hyperref}
\begin{document}
\mainmatter
\chapter{First}
\textcite{glashow}
\chapter{Fooo}
\textcite{glashow}
\backmatter
\printbibheading[heading=bibbook]
\bibbysection[heading=subbib]
\end{document}