我正在使用包含原始出版日期以及现代重印本的项目的参考书目。
例如,一个典型的条目是:
@book{Mill1965,
author = {Mill, John Stuart},
Location = {London},
Publisher = {Longmans},
Title = {A System of Logic, Ratiocinative and Inductive},
Subtitle = {Being a Connected View of the Principles of Evidence and the Methods of Scientific Investigation},
Year = {1965 [1843]}}
排版的书目条目如下:
Mill, J.S. (1965 [1843]). A System of Logic, Ratiocinative and Inductive. Being a Connected View of the Principles of Evidence and the Methods of Scientific Investigation. London: Longmans.
cite 命令 ( ) 的结果\cite{Mill1965}
是:
Mill 1965 [1843]
我正在加载biblatex
以下选项:
\usepackage[backend=biber,style=authoryear-comp,firstinits=true]{biblatex}
我如何调整默认biblatex
样式来积极使用该origdate
字段,以便在参考书目结尾显示该值?
答案1
以下lockstep
是答案这里,此代码对我来说运行正常。
\renewbibmacro*{date}{%
\iffieldundef{origyear}{%
}{%
\setunit*{\addspace}%
\printtext[brackets]{\printorigdate}%
}%
}
答案2
没有宏的简单解决方案可能看起来像这样
@book{Conrad_07,
Address = {London},
Author = {Joseph Conrad},
Publisher = {Penguin},
Title = {The Secret Agent - A Simple Tale},
Year = {{1907/1994}}
}
Conrad, J. (1907/1994)。《秘密特工 - 一个简单的故事》。企鹅出版社,伦敦。