badroit(由 PLK 支持)指出了一种创建 makro 以获得 [ohne Autorenangabe](英文“无信用”)输出的方法(参见Biblatex:定义作者 = {},使其在输出中导致 [Keine Autorenangabe](英文“无信用”)):
@string{unknown= {{[Ohne~Autorenangabe]}}}
结合
@book{example,
author = {},
title = {Meaning of it},
year = 1998,
}
输出:[ohne Autorenangabe](1998):它的含义。
当我使用这个时,我意识到该条目在参考书目中的位置不太好。它按照字母顺序排版在 n 和 p 条目之间。
我的问题:是否可以定义条目的位置?例如,这些条目出现在参考书目的开头(或结尾)?
答案1
随着版本 1.7 的biblatex
新条目xdata
被定义。该条目需要 biber,但允许您Ohne~Autorenangabe
设置sortname
\documentclass{article}
\usepackage[style=authoryear,backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@XData{unknown-author,
author={{[Kein~Autorenangabe]}},
sortname={AAAAAA},
}
@book{example,
xdata = {unknown-author},
title = {Meaning of it},
year = 1998,
}
@Book{companion,
hyphenation = {american},
sorttitle = {LaTeX Companion},
author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
indextitle = {LaTeX Companion, The},
title = {The LaTeX Companion},
shorttitle = {LaTeX Companion},
edition = {1},
publisher = {Addison-Wesley},
location = {Reading, Mass.},
date = {1994},
pagetotal = {528},
annotation = {A book with three authors. Note the formatting of the author list. By default,
only the first name is reversed in the bibliography}
}
@Article{weinberg,
author = {Weinberg, Steven},
title = {A Model of Leptons},
journaltitle = {Phys.~Rev.~Lett.},
volume = {19},
date = {1967},
pages = {1264--1266}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\nocite{*}
\begin{document}
\printbibliography
\end{document}