
我想要最少的反向引用,即我想要
其他。 2001年。所有突破之母。世界 3:141-592。 1.
代替
其他。 2001年。所有突破之母。世界 3:141-592。 (第 1 頁引用。)
原因是重複「引用」似乎沒有必要(可以解釋一次),並且在長參考書目中,它可以添加相當多的短行(在我的例子中,它增加了近半頁)。
以下MWE改編自這個答案。
\documentclass{article}
\usepackage[backref=true]{biblatex-chicago}
\DefineBibliographyStrings{english}{%
backrefpage = {},% originally "cited on page"
backrefpages = {},% originally "cited on pages"
}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \autocite{A01,B02}.
\clearpage
Some more text \autocite{A01}.
\printbibliography
\end{document}
它產生的參考書目如下所示:
如何 (a) 讓括號消失並 (b) 刪除第一頁引用之前的空格?
答案1
您可以修改 bibmacro pageref
。原始定義可以在biblatex.def
(ll.2949-2956,v3.19)。
將書目字串設為空字串通常不會產生令人滿意的輸出,因為樣式通常假定書目字串產生輸出,從而出現虛假空格或標點符號。
\documentclass{article}
\usepackage[backref=true]{biblatex-chicago}
\renewbibmacro*{pageref}{%
\iflistundef{pageref}
{}
{\printlist[pageref][-\value{listtotal}]{pageref}}}
\addbibresource{biblatex-examples.bib}
\begin{document}
Some text \autocite{sigfridsson,worman}.
\clearpage
Some more text \autocite{sigfridsson}.
\printbibliography
\end{document}