我寻求帮助,了解如何在使用时关闭某些字段biblatex
。它工作得很好,原始问题可以在这里看到。
但是,当我尝试使用\AtEveryBibitem{\clearfield{language}}
关闭language
参考书目项目中的字段时,似乎不起作用。我的代码是:
\documentclass{beamer}
\usepackage{filecontents}
\begin{filecontents}{demo.bib}
@Article{Kubota2007_JoCMD.14.367,
author = {Kubota, Alison and Wolfer, WilhelmG. and Valone, StevenM. and Baskes, MichaelI.},
title = {Collision cascades in pure $\updelta$-plutonium},
journal = {Journal of Computer-Aided Materials Design},
year = {2007},
volume = {14},
number = {3},
pages = {367-378},
month = {oct},
doi = {10.1007/s10820-007-9057-x},
file = {:Collision cascades in pure delta-plutonium_J Computer-Aided Mater Des 14 (2007) 367–378.pdf:PDF},
groups = {Unsorted},
issn = {0928-1045},
keywords = {Molecular dynamics; Radiation damage; Plutonium},
language = {English},
owner = {Wenqiang},
publisher = {Springer Netherlands},
review = {Wigner-Seitz analysis},
timestamp = {2015.03.04},
url = {http://dx.doi.org/10.1007/s10820-007-9057-x},
}
@Article{Stukowski2012_MaSiMSaE.20.45021,
author = {Stukowski, Alexander},
title = {Structure identification methods for atomistic simulations of crystalline materials},
journal = {Modelling and Simulation in Materials Science and Engineering},
year = {2012},
volume = {20},
number = {4},
pages = {045021},
__markedentry = {[Wenqiang:6]},
doi = {10.1088/0965-0393/20/4/045021},
file = {:Structure identification methods for atomistic simulations of crystalline materials_Modell. Simul. Mater. Sci. Eng. 20 (2012) 045021.pdf:PDF},
groups = {Post-analysis},
issn = {0965-0393},
language = {en},
owner = {Wenqiang},
review = {adaptive CNA, common neighbor analysis modifier in OVITO},
timestamp = {2016.11.06},
url = {http://stacks.iop.org/0965-0393/20/i=4/a=045021},
urldate = {2016-11-06},
}
\end{filecontents}
\usepackage{upgreek}
\usepackage[backend=bibtex,sorting=none,hyperref=true,style=nature,isbn=false,doi=false,eprint=false,url=false,maxbibnames=1]{biblatex}
\AtEveryBibitem{\clearfield{note} \clearfield{title} \clearfield{language}}
\addbibresource{demo.bib}
\begin{document}
\begin{frame}{Demo}
\begin{block}{Text}
I want to disable the language field in bibitems\cite{Kubota2007_JoCMD.14.367}\cite{Stukowski2012_MaSiMSaE.20.45021}.
\end{block}
\begin{block}{Bibliography}
\printbibliography
\end{block}
\end{frame}
\end{document}
最终的 pdf 文件也显示在这里。
bib 文件是在 JabRef 中生成的。有人能告诉我如何关闭该language
字段吗?任何帮助都将不胜感激!
答案1
如果你查看生成的语言,.bbl
你会发现该语言具有以下格式:
\list{language}{1}{%
{English}%
}
这意味着它是一个列表,因此您必须使用它\clearlist{language}
来删除它。