我的书目有问题。每当一本书被引用时,它都不会打印书目中的位置,即使信息在 .bib 文件中。这是我的实际代码的简短版本:
\documentclass[11pt,a4paper,american]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\usepackage[american]{babel}
\usepackage[style=apa]{biblatex}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{csquotes}
\usepackage{fancyhdr}
\usepackage{enumerate}
\usepackage[colorlinks,linkcolor=black,filecolor=black,citecolor=black]{hyperref}
\addbibresource{doc.bib}
\begin{document}
Hello \autocite{Andresen2020} \textcite{Anselin1988} and \autocite{Akers2012}
\printbibliography
\end{document}
这是 bib 文件:
@book{Akers2012,
author = {Ronald L. Akers},
location = {New York, NY and Abington, Oxon},
doi = {10.4324/9781315062723},
edition = {2},
editor = {Ronald L. Akers},
journal = {Criminological Theories: Introduction and Evaluation},
publisher = {Routledge},
title = {Criminological theories: Introduction and evaluation},
year = {2012},
}
@book{Andresen2020,
author = {Martin A Andresen},
location = {Abington, Oxon and New York, NY},
edition = {2},
isbn = {9781138316980},
publisher = {Routledge},
title = {Environmental Criminology: Evolution, Theory, and Practice},
year = {2020},
}
@book{Anselin1988,
author = {Luc Anselin},
location = {Dordrecht},
publisher = {Kluwer Academic},
title = {Spatial Econometrics: Methods and Models},
year = {1988},
}
我使用的是 macOS 11.5.2,所有与 LaTeX 相关的东西都应该是最新的。我查看了 biblatex 文档,但尚未找到任何解决方案。我非常感谢任何建议!
答案1
biblatex-apa
当前版本style=apa,
(>=9.0) 根据 APA 手册第 7 版实现 APA 样式。
在第 7 版 APA 格式中,书籍和类似作品未显示位置(例如,参见 https://apastyle.apa.org/style-grammar-guidelines/references/elements-list-entry#source)
对于大多数作品来说,源元素中不需要包含位置(例如,书籍引用中不需要包含出版商位置)。
另请参阅https://apastyle.apa.org/style-grammar-guidelines/references/examples/book-references。
在这方面,您获得的输出是正确的当前(第 7 版)APA 样式。
请注意,Akers2012
没有理由将 Akers 列为该作品的编辑。
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\begin{filecontents}{\jobname.bib}
@book{Akers2012,
author = {Ronald L. Akers},
title = {Criminological Theories},
subtitle = {Introduction and Evaluation},
year = {2012},
edition = {2},
doi = {10.4324/9781315062723},
publisher = {Routledge},
location = {New York, NY and Abington, Oxon},
}
@book{Andresen2020,
author = {Martin A. Andresen},
title = {Environmental Criminology},
subtitle = {Evolution, Theory, and Practice},
year = {2020},
edition = {2},
isbn = {9781138316980},
publisher = {Routledge},
location = {Abington, Oxon and New York, NY},
}
@book{Anselin1988,
author = {Luc Anselin},
title = {Spatial Econometrics},
subtitle = {Methods and Models},
year = {1988},
publisher = {Kluwer Academic},
location = {Dordrecht},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{Akers2012,Andresen2020,Anselin1988}
\printbibliography
\end{document}