使用 biblatex 引用软件

使用 biblatex 引用软件

我想以 APA 格式引用软件,这是 APA 所要求的(以 R 为例):

R 核心团队。(2019 年)。R:统计计算语言和环境。版本 3.6.1 [计算机软件]。奥地利维也纳。摘自https://www.R-project.org/(EPEL 仓库)

以下打印 [计算机软件手册] - 有没有办法删除“手册”?

@Manual{RCT2019,
  author       = {{R Core Team}},
  title        = {{R: A Language and Environment for Statistical Computing. Version 3.6.1}},
  year         = {2019},
  howpublished = {Vienna, Austria},
  date         = {2019},
  organization = {R Foundation for Statistical Computing},
  location     = {Vienna, Austria},
  url          = {https://www.R-project.org/ (EPEL Repo)},
}

参考:https://blog.apastyle.org/apastyle/2015/01/how-to-cite-software-in-apa-style.html

\documentclass[doc,natbib,floatsintext,12pt,noextraspace]{apa6}
\section*{REFERENCES}
\label{sec:REFERENCES}
\addcontentsline{toc}{section}{REFERENCES}
\end{center}
\renewcommand{\bibsection}{}    % hides/removes References from the bibliography 
\urlstyle{same}                 % needed to surpress the typewrite style of ULR
\raggedright % without it, spaces between authors and titles too wide.
\bibliography{../Diss-Bibliography.bib}

答案1

以防有人在 2021 年遇到同样的问题:我不知道原始问题指的是哪个 APA 版本,但根据 APA 7,软件的名称应该用斜体表示,后面是括号中的软件版本(请参阅 [https://libraryguides.vu.edu.au/apa-referencing/7DatasetsSoftwareTests#s-lg-box-wrapper-24941466] 以供参考)。所以条目应该是这样的:

R 核心团队。(2019 年)。R:统计计算的语言和环境 (版本 3.6.1)[计算机软件]。奥地利维也纳。https://www.R-project.org%20(EPEL%20Repo)

我正在使用带有 biber 后端的 biblatex,并且以下 bibtex 条目产生了所需的输出:

@software{RCT2019,
  author       = {{R Core Team}},
  year         = {2019},
  title        = {R: A Language and Environment for Statistical Computing},
  url          = {https://www.R-project.org/ (EPEL Repo)},
  version      = {3.6.1},
  note         = {Computer Software},
  howpublished = {Vienna, Austria},
  date         = {2019},
  organization = {R Foundation for Statistical Computing},
  location     = {Vienna, Austria}
}

单人开发的软件示例(省略地点):

@software{Birkholz.2020,
  author = {Birkholz, P.},
  year = {2020},
  title = {VocalTractLab},
  url = {https://www.vocaltractlab.de/index.php?},
  version = {2.3},
  note = {Computer Software}
}

输出:

Birkholz,P.(2020 年)。声道实验室(版本2.3)[计算机软件]。https://www.vocaltractlab.de/index.php

答案2

这里有四种解决方案。

在手册的 bib-entry 中添加类型字段

添加type = {Computer Software}到手册的 bib-entry 中,如下所示

@Manual{RCT2019,
  author       = {{R Core Team}},
  title        = {{R: A Language and Environment for Statistical Computing. Version 3.6.1}},
  year         = {2019},
  howpublished = {Vienna, Austria},
  date         = {2019},
  organization = {R Foundation for Statistical Computing},
  location     = {Vienna, Austria},
  url          = {https://www.R-project.org/ (EPEL Repo)},
  type         = {Computer Software}
}

重新定义命令 \bibcomputersoftwaremanual

如果您不想按照上述解决方案的要求编辑所有 bib 条目,请添加以下行

\let\bibcomputersoftwaremanual\bibcomputersoftware

在命令之前\bibliography

修补参考书目样式 apacite.bst

将 bibtex 样式apacite.bst(位于 中/usr/local/texlive/2019/texmf-dist/bibtex/bst/apacite/)复制到运行 的目录中bibtex。它包含函数定义

FUNCTION {manual}
{ %
  % If type is empty, assume that it is a computer software manual.
  %
  type empty$
    { "\bibcomputersoftwaremanual"  'type.2 := }
    'skip$
  if$
  misc
}

将字符串替换\bibcomputersoftwaremanual\bibcomputersoftware

将 bib 条目类型 @Manual 更改为 @Misc

对于类型,参考书目样式不会添加@Misc类似的额外字符串,您必须手动将它们添加到 bib 条目的相应字段中。Computer software manual

答案3

我找到了一个解决方案,以防有人需要它:

@Software{RCT2019,
  author       = {{R Core Team}},
  date         = {2010-02-19},
  howpublished = {{R: A Language and Environment for Statistical Computing. Version 3.6.1 [Computer Software]. Vienna, Austria}},
  note         = {EPEL Repo},
  url          = {https://www.R-project.org/ },
}

相关内容