在德语 biblatex-apa 风格中,我希望按照家族顺序在 & 号前有一个逗号,就像在美国 biblatex-apa 风格中一样。
德国格式中没有这个逗号,因为 DPG 手册中没有这个逗号。但是,在我看来,他们的 APA 格式变体缺少这个逗号。在原始的美国 APA 格式中,姓氏后面的首字母是插入的,需要用逗号括起来(即在和(首字母后有“a”和“b”)。德语语法也是如此。
我做了 MWE,但仍在寻找解决方法。任何帮助我都非常感谢。
\documentclass[paper=A4]{scrbook}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage[style=apa,autolang=hyphen]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@UNPUBLISHED{7.09:58,
AUTHOR = {E. Blackwell and P. J. Conrod},
TITLE = {A Five-Dimensional Measure of Drinking Motives},
HOWPUBLISHED = {Unpublished manuscript},
INSTITUTION = {Department of Psychology, University of British Columbia},
LOCATION = {Vancouver, Canada},
DATE = {2003},
langid = {american},
}
@ARTICLE{7.01:12a,
EDITOR = {C. Haney and R. L. Wiener},
TITLE = {Capital Punishment in the United States},
TITLEADDON = {Special issue},
JOURNALTITLE = {Psychology, Public Policy and Law},
VOLUME = {10},
NUMBER = {4},
DATE = {2004},
langid = {american},
}
@INBOOK{7.02:25,
AUTHOR = {D. M. Haybron},
EDITOR = {M. Eid and R. J. Larsen},
TITLE = {Philosophy and the Science of Subjective Well-Being},
BOOKTITLE = {The Science of Subjective Well-Being},
LOCATION = {New York, NY},
PUBLISHER = {Guildford Press},
PAGES = {17-43},
DATE = {2008},
langid = {american},
}
@INPROCEEDINGS{7.04:39,
AUTHOR = {I. Katz and K. Gabayan and H. Aghajan},
TITLE = {A Multi-touch Surface Using Multiple Cameras},
EDITOR = {J. Blanc-Talon and W. Philips and D. Popescu and P. Scheunders},
MAINTITLE = {Lecture Notes in Computer Science},
VOLUME = {4678},
BOOKTITLE = {Advanced Concepts for Intelligent Vision Systems},
PAGES = {97--108},
LOCATION = {Berlin, Germany},
PUBLISHER = {Springer-Verlag},
DATE = {2007},
DOI = {10.1007/978-3-540-74607-2_9},
langid = {american},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\textcite{7.09:58}
\textcite{7.01:12a}
\textcite{7.02:25}
\textcite{7.04:39}
\printbibliography
\end{document}
它看起来应该是这样的:
布莱克威尔,E.,& Conrod,PJ(2003)。...
哈尼,C.,& Wiener,RL(Hrsg.)。 (2004)。 ...
但在名字顺序的情况下不必添加逗号,而应保持如下:
... 在 M. Eid 和 RJ Larsen (Hrsg.) 中......
... 在 J. Blanc-Talon、W. Philips、D. Popescu 和 P. Scheunders (Hrsg.) 中...
答案1
\DeclareDelimFormat[bib,biblist]{finalnamedelim:apa:family-given}{%
\ifthenelse{\value{listcount}>\maxprtauth}
{}
{\addcomma\space\&\space}}
这仅适用于最新版本biblatex-apa
(>=v7.6)。
通常,参考书目中的作者列表中的逗号被理解为牛津逗号biblatex-apa
(尽管如果有人同意您对逗号的解释的看法,这可能不是处理此问题的最合适方式)。但是 DPG 和德语通常不使用牛津逗号,因此我们必须明确强制使用逗号。
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage[style=apa,autolang=hyphen]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@UNPUBLISHED{7.09:58,
AUTHOR = {E. Blackwell and P. J. Conrod},
TITLE = {A Five-Dimensional Measure of Drinking Motives},
HOWPUBLISHED = {Unpublished manuscript},
INSTITUTION = {Department of Psychology, University of British Columbia},
LOCATION = {Vancouver, Canada},
DATE = {2003},
langid = {american},
}
@ARTICLE{7.01:12a,
EDITOR = {C. Haney and R. L. Wiener},
TITLE = {Capital Punishment in the United States},
TITLEADDON = {Special issue},
JOURNALTITLE = {Psychology, Public Policy and Law},
VOLUME = {10},
NUMBER = {4},
DATE = {2004},
langid = {american},
}
@INBOOK{7.02:25,
AUTHOR = {D. M. Haybron},
EDITOR = {M. Eid and R. J. Larsen},
TITLE = {Philosophy and the Science of Subjective Well-Being},
BOOKTITLE = {The Science of Subjective Well-Being},
LOCATION = {New York, NY},
PUBLISHER = {Guildford Press},
PAGES = {17-43},
DATE = {2008},
langid = {american},
}
@INPROCEEDINGS{7.04:39,
AUTHOR = {I. Katz and K. Gabayan and H. Aghajan},
TITLE = {A Multi-touch Surface Using Multiple Cameras},
EDITOR = {J. Blanc-Talon and W. Philips and D. Popescu and P. Scheunders},
MAINTITLE = {Lecture Notes in Computer Science},
VOLUME = {4678},
BOOKTITLE = {Advanced Concepts for Intelligent Vision Systems},
PAGES = {97--108},
LOCATION = {Berlin, Germany},
PUBLISHER = {Springer-Verlag},
DATE = {2007},
DOI = {10.1007/978-3-540-74607-2_9},
langid = {american},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\DeclareDelimFormat[bib,biblist]{finalnamedelim:apa:family-given}{%
\ifthenelse{\value{listcount}>\maxprtauth}
{}
{\addcomma\space\&\space}}
\begin{document}
\textcite{7.09:58}
\textcite{7.01:12a}
\textcite{7.02:25}
\textcite{7.04:39}
\printbibliography
\end{document}