引用 URL:将“检索自”更改为“可在此处获取”

引用 URL:将“检索自”更改为“可在此处获取”

我的参考资料中有一些 URL。使用 时\usepackage[ngerman]{babel},“从 [某个 URL] 检索”将变成“从 [某个 URL] 检索”,例如

“取自”的德语翻译

我想将“Zugriff auf”改为“Verfügbar unter”。我怎样才能做到这一点? 这是 MWE

\documentclass[11pt, oneside, a4paper]{book}
\usepackage[ngerman]{babel}
\usepackage[tocbib, natbibapa, nosectionbib]{apacite}
\renewcommand{\doiprefix}{\ignorespaces}
\usepackage{doi}
\usepackage{hyperref}
\hypersetup{colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black}
\AtBeginDocument{\urlstyle{APACsame}}

\begin{filecontents}{test.bib}
@misc{A,
    title = {dplyr: A Grammar of Data Manipulation ({Version} 0.3.0.2)},
    author = {Hadley Wickham and Romain Francois},
    year = {2014},
    type = {\bibcomputersoftware},
    url = {http://CRAN.R-project.org/package=dplyr}
    }
}
\end{filecontents}

\begin{document}
\citet{A}.
\bibliographystyle{apacite}
\bibliography{test} 

\end{document}

答案1

定义包含在文件中german.apc,如下所示

\renewcommand{\BRetrievedFrom}{Zugriff auf\ }%

所以你只需要发出类似的\renewcommand \begin{document}

示例输出

\documentclass[11pt, oneside, a4paper]{book}
\usepackage[ngerman]{babel}
\usepackage[tocbib, natbibapa, nosectionbib]{apacite}
\renewcommand{\doiprefix}{\ignorespaces}
\usepackage{doi}
\usepackage{hyperref}
\hypersetup{colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black}
\AtBeginDocument{\urlstyle{APACsame}}

\begin{filecontents}{test.bib}
@misc{A,
    title = {dplyr: A Grammar of Data Manipulation ({Version} 0.3.0.2)},
    author = {Hadley Wickham and Romain Francois},
    year = {2014},
    type = {\bibcomputersoftware},
    url = {http://CRAN.R-project.org/package=dplyr}
    }
}
\end{filecontents}

\begin{document}

\renewcommand{\BRetrievedFrom}{Verf\"ugbar unter\ }

\citet{A}.
\bibliographystyle{apacite}
\bibliography{test} 

\end{document}

请注意,该文件还包含

\renewcommand{\BRetrieved}[1]{Zugriff am {#1} auf\ }%

在提供字段时使用lastchecked。还有

\renewcommand{\BAvailFrom}{Verf\"ugbar unter\ }%

但文献称,这已被取代\BRetrievedFrom

相关内容