我正在使用biblatex
bbx 文件:chem-angew.bbx
来自biblatex-chem
包。我希望参考书目看起来就像默认的,但文章标题应该位于页面的最末尾。
例子:
E. Schweizer、A. Hoffmann-Röder、JA Olsen、P. Seiler、U. Obst-Sander、B. Wagner、M. Kansy、DW Banner、F. Diederich、有机生物分子化学。 2006,4凝血酶D口袋中的多极相互作用:三环酰亚胺和内酰胺抑制剂之间的巨大差异。
请注意,页面后面有一个句号。我需要在文件中进行哪些更改.bbx
才能实现这一点?
答案1
您将需要重新声明article
驱动程序,因为插入标题的代码直接位于该部分:
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Diederich2006,
author = {E. Schweizer and A. Hoffmann-R{\"{o}}der and J. A. Olsen and
P. Seiler and U. Obst-Sander and B. Wagner and M. Kansy and
D. W. Banner and F. Diederich},
journaltitle = {Org. Biomol. Chem.},
year = {2006},
volume ={4},
pages = {2364-2375},
title = {Multipolar Interactions in the {D} Pocket of Thrombin:
Large Differences Between Tricyclic Imide and Lactam Inhibitors}
}
\end{filecontents}
\documentclass{article}
\usepackage[style=chem-angew]{biblatex}
\bibliography{\jobname}
% Customisation
\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
\setunit{\labelnamepunct}\newblock
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{bytranslator+others}%
\newunit\newblock
\printfield{version}%
\newunit\newblock
\usebibmacro{journal+issuetitle}%
\newunit
\usebibmacro{byeditor+others}%
\newunit
\usebibmacro{note+pages}%
% Title inserted here
\setunit*{\adddot\space}%
\usebibmacro{title}%
\iftoggle{bbx:isbn}
{\printfield{issn}}
{}%
\newunit\newblock
\usebibmacro{doi+eprint+url}
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\usebibmacro{related}%
\usebibmacro{finentry}%
}
\DeclareFieldFormat[article]{title}{#1}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
我还改变了标题的格式,以便没有引号(如问题中的预期输出)。