好的,我有一个引用,需要如下所示:
Macdonald, A. & Reich, A.(制片人)& Garland, P.(导演)。(2015 年)。Ex Machina [电影]。英国:环球影城。
但是,生成引文时遗漏了“[Motion picture]”部分,如下所示:
施纳贝尔,J.(导演)和肯尼迪,K. 及基利克,J.(制片人)。(2007 年)。《潜水钟与蝴蝶》。法国:百代/米拉麦克斯电影公司。
我如何让 biblatex 包含“电影”字段?
我的参赛作品:
@movie{divingbell2007,
title={The Diving Bell and the Butterfly},
year={2007},
producer={Kennedy, K. and Kilik, J.},
director={Schnabel, J.},
type={Motion Picture},
publisher={France: Path\'{e}/Miramax Films}
}
我正在为此使用一个修改过的字段:
\documentclass[doc]{apa6}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa, natbib]{biblatex}
\DeclareLanguageMapping{american}
{american-apa}
\addbibresource{mybib.bib}
\DeclareLabelname[movie]{
\field{director}
\field{producer}
}
\begin{document}
\title{The Diving Bell and the Butterfly Journal}
\shorttitle{Diving Bell and Butterfly Journal}
\author{Henry J Schmale}
\affiliation{Harrisburg University of Science and Technology}
\date{\today}
\abstract{Journal for \textit{The Diving Bell and the Butterfly}}
\nocite{divingbell2007}
\maketitle
\printbibliography
\end{document}
答案1
显然,您需要使用entrysubtype
字段而不是type
。我找不到biblatex-apa
有关这方面的任何文档,但代码建议这样做。经验法则似乎看起来比实际上entrysubtype
更接近。title
type
然后你还需要
\DeclareFieldFormat[movie]{entrysubtype}{\mkbibbrackets{#1}}
并且一切顺利。(从我看到的情况来看apa.bbx
,也许还\DeclareFieldFormat{entrysubtype}{\mkbibbrackets{#1}}
可以。)
平均能量损失
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@movie{divingbell2007,
title={The Diving Bell and the Butterfly},
year={2007},
producer={Kennedy, K. and Kilik, J.},
director={Schnabel, J.},
entrysubtype={Motion Picture},
publisher={France: Path\'{e}/Miramax Films}
}
\end{filecontents*}
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa, natbib]{biblatex}
\DeclareLanguageMapping{american}
{american-apa}
\addbibresource{\jobname.bib}
\DeclareLabelname[movie]{
\field{director}
\field{producer}
}
\DeclareFieldFormat[movie]{entrysubtype}{\mkbibbrackets{#1}}
\begin{document}
\nocite{divingbell2007}
\printbibliography
\end{document}