使用 APA 格式正确格式化参考书目中的技术报告

使用 APA 格式正确格式化参考书目中的技术报告

当我使用 APA 格式时,我试图使我的技术报告格式正确。具体来说,最后两个条目应该是出版地:出版商。如果我不使用 APA,我可以正确获得参考书目,但这样我的文本引用就只是数字了……

任何帮助,将不胜感激。

这是我的 MWE

\documentclass{article}
\usepackage{filecontents}
\usepackage[style=apa]{biblatex}
%\usepackage{biblatex}  % comment above and uncomment this one and the bibliography will be correct, but the citations in text will not be APA style.

\begin{filecontents}{test.bib}
@techreport{myreport,
author = {John Smith and Kelly Clarkson},
institution = {Far away labs},
title = "A very cool experiment",
type = {report},
number= {0005},
address = {anywhere, US},
year = {2018},
}
\end{filecontents}
\addbibresource{test.bib}

\begin{document}
\begin{itemize}
\item This is my citation \cite{myreport}
\end{itemize}

\printbibliography[title=REFERENCES]
\end{document}

答案1

根据https://apastyle.apa.org/style-grammar-guidelines/references/examples/report-individual-authors-references技术报告应采用 APA 格式(第 7 版)引用,如下所示

Stuster, J.、Adolf, J.、Byrne, V. 和 Greene, M. (2018)。人类探索火星:机组人员任务初步清单(报告编号 NASA/CR-2018-220043)。美国国家航空航天局。https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20190001401.pdf

biblatex-apa因此可以说,目前产生的结果

\documentclass{article}
\usepackage[style=apa]{biblatex}

\begin{filecontents}{\jobname.bib}
@techreport{myreport,
  author      = {John Smith and Kelly Clarkson},
  institution = {Far away labs},
  title       = {A very cool experiment},
  type        = {report},
  number      = {0005},
  address     = {anywhere, US},
  year        = {2018},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
Lorem \autocite{myreport}

\printbibliography
\end{document}

Smith, J. 和 Clarkson, K. (2018)。一项非常酷的实验 (Rep. No. 0005)。遥远的实验室。任何地方,美国。

几乎正确,但可能根本不应该显示location/ address。可以这样实现

\documentclass{article}
\usepackage[style=apa]{biblatex}

\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \pertype{report}
      \pertype{techreport}
      \step[fieldset=address, null]
      \step[fieldset=location, null]
    }
  }
}

\begin{filecontents}{\jobname.bib}
@techreport{myreport,
  author      = {John Smith and Kelly Clarkson},
  institution = {Far away labs},
  title       = {A very cool experiment},
  type        = {report},
  number      = {0005},
  address     = {anywhere, US},
  year        = {2018},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
Lorem \autocite{myreport}

\printbibliography
\end{document}

相关内容