
我想我正在尋找相當於isbn=false
停止列印 ISBN 編號的功能,但用於停止列印 bibtex 金鑰。問題是目前我的參考書目包含所有 bibtex 金鑰。例如:
\documentclass{article}
\usepackage[backend=bibtex, style=authoryear]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{georgescu-roegen_entropy_1971,
address = {Cambridge, MA},
title = {The entropy law and the economic process},
publisher = {Harvard University Press},
author = {Georgescu-Roegen, Nicholas},
year = {1971},
note = {bibtex: georgescu-roegen\_entropy\_1971}
}
\end{filecontents}
\bibliography{bibligraphy.bib}
\begin{document}
This is a book (\cite{georgescu-roegen_entropy_1971}).
\printbibliography
\end{document}
印刷:
這是一本書(Georgescu-Roegen 1971)。
參考
尼古拉斯喬治斯庫-羅根 (1971)。熵定律和經濟過程。bibtex:georgescu-roegen_entropy_1971。麻薩諸塞州劍橋:哈佛大學出版社。
答案1
我建議告訴 Zotero 不要佔用note
金鑰欄位。但是,如果您無法這樣做,並且無法note
使用例如刪除字段,sed
則可以從後端切換bibtex
到並使用來源映射從所有條目中biber
刪除字段:note
\documentclass{article}
\usepackage[backend=biber, style=authoryear]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{georgescu-roegen_entropy_1971,
address = {Cambridge, MA},
title = {The entropy law and the economic process},
publisher = {Harvard University Press},
author = {Georgescu-Roegen, Nicholas},
year = {1971},
note = {bibtex: georgescu-roegen\_entropy\_1971}
}
\end{filecontents}
\DeclareSourcemap{
\maps[datatype=bibtex]{%
\map{
\step[fieldset=note,null]
}
}
}
\begin{document}
This is a book (\cite{georgescu-roegen_entropy_1971}).
\printbibliography
\end{document}
結果是:
跑完後pdflatex
,biber
又跑了兩次pdflatex
。
注意:後端bibtex
不支援來源映射!這是使用 的幾個優點之一biber
。