![如何使用 bib 文件处理多页的多个引用?](https://linux22.com/image/414014/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%20bib%20%E6%96%87%E4%BB%B6%E5%A4%84%E7%90%86%E5%A4%9A%E9%A1%B5%E7%9A%84%E5%A4%9A%E4%B8%AA%E5%BC%95%E7%94%A8%EF%BC%9F.png)
使用 R markdown,我在我的 bib 文件中复制引文以使用不同的页面引用同一篇文章:
@article{devers_2011_34,
title = {I know how to do the play now: A Part of Willy Loman in Synecdoche, New York},
author = {Devers, Rebecca},
journal = {The Arthur Miller Journal},
volume = {6},
number = {2},
year = {2011},
pages = {34},
publisher = {The Arthur Miller Society}
}
@article{devers_2011_33,
title = {I know how to do the play now: A Part of Willy Loman in Synecdoche, New York},
author = {Devers, Rebecca},
journal = {The Arthur Miller Journal},
volume = {6},
number = {2},
year = {2011},
pages = {33},
publisher = {The Arthur Miller Society}
}
(@citation, pagenumber)
由于我使用了完整引用,并且有时页面位于 URL 之后,因此写法是错误的。
这是向引文添加页面的正确方法吗?
(一些额外的背景信息:https://github.com/citation-style-language/styles/issues/4795)
答案1
从 LaTeX 方面来看,处理此问题的正确方法是只有一个.bib
条目,其pages
字段包含文章的完整页面范围。
如果在引用中引用文章的某一页面,则可以使用可选的 postnote 参数来提供页码。
\autocite[34]{devers_2011}
引文样式的作用是确保页码引用“正确”。(一些产生完整引文的“详细”/“注释”引文样式确实有一个选项,可以用pages
后记替换字段的内容。对于标准样式,此选项称为citepages
,请参阅如何避免 biblatex 中 pp. 后面出现 p.?。
您已用biblatex-chicago
该包标记了您的问题,我得到了
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{biblatex-chicago}
\begin{filecontents}{\jobname.bib}
@article{devers_2011,
title = {I know how to do the play now:
A Part of Willy Loman in Synecdoche, New York},
author = {Devers, Rebecca},
journal = {The Arthur Miller Journal},
volume = {6},
number = {2},
year = {2011},
pages = {25-45},
url = {https://www.jstor.org/stable/42909473},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\null\vfill % only for the example
Lorem \autocite[34]{devers_2011}
\printbibliography
\end{document}
因此,当出现后记时,它会自动替换pages
引文中的字段。这应该会产生所需的结果。
请注意,用于 JSTOR 链接可能更好eprint
,但我明确使用了 URL 来表明可以使用 URL 来实现。
@article{devers_2011,
title = {I know how to do the play now:
A Part of Willy Loman in Synecdoche, New York},
author = {Devers, Rebecca},
journal = {The Arthur Miller Journal},
volume = {6},
number = {2},
year = {2011},
pages = {25-45},
eprint = {42909473},
eprinttype = {jstor},
}