
Tengo algunas URL en mis referencias. Cuando se utiliza \usepackage[ngerman]{babel}
, "Obtenido de [alguna URL]" se convierte en "Zugriff auf [alguna URL]", por ejemplo
Me gustaría cambiar "Zugriff auf" por "Verfügbar unter". ¿Cómo puedo hacer eso? Aquí hay un 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}
Respuesta1
La definición está contenida en el archivo german.apc
y se proporciona como
\renewcommand{\BRetrievedFrom}{Zugriff auf\ }%
entonces solo necesitas emitir un similar\renewcommand
después \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}
Tenga en cuenta que el archivo también contiene
\renewcommand{\BRetrieved}[1]{Zugriff am {#1} auf\ }%
que se utiliza cuando lastchecked
se proporciona un campo. También hay
\renewcommand{\BAvailFrom}{Verf\"ugbar unter\ }%
pero la documentación dice que esto ha sido reemplazado por \BRetrievedFrom
.