答案1
根据https://apastyle.apa.org/style-grammar-guidelines/references/examples/book-references @book
参考文献应该显示publisher
,但不显示APA7 样式中的location
/字段。address
如果您使用最新版本,就会发生这种情况biblatex-apa
。
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\begin{filecontents}{\jobname.bib}
@book{elk,
author = {Anne Elk},
title = {A Theory on Brontosauruses},
year = {1972},
publisher = {Monthy \& Co.},
location = {London},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson,elk}
\printbibliography
\end{document}
如果你想要第 6 版 APA 风格,其中同时显示和,你publisher
应该加载location
biblatex-apa6
style=apa6,
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa6]{biblatex}
\begin{filecontents}{\jobname.bib}
@book{elk,
author = {Anne Elk},
title = {A Theory on Brontosauruses},
year = {1972},
publisher = {Monthy \& Co.},
location = {London},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson,elk}
\printbibliography
\end{document}
如果你确实需要biblatex-apa
第 7 版 APA 样式来显示位置(即不是APA 兼容),你可以尝试像这样修补驱动程序
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\usepackage{xpatch}
\xpatchbibdriver{book}
{\printlist{publisher}}
{\usebibmacro{location+publisher}}
{}{}
\xpatchbibdriver{inbook}
{\printlist{publisher}}
{\usebibmacro{location+publisher}}
{}{}
\begin{filecontents}{\jobname.bib}
@book{elk,
author = {Anne Elk},
title = {A Theory on Brontosauruses},
year = {1972},
publisher = {Monthy \& Co.},
location = {London},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson,elk}
\printbibliography
\end{document}