
Eu tenho alguns URLs em minhas referências. Ao usar \usepackage[ngerman]{babel}
, "Retrieved from [some URL]" se transforma em "Zugriff auf [some URL]", por exemplo
Gostaria de mudar "Zugriff auf" para "Verfügbar unter". Como eu posso fazer isso? Aqui está um 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}
Responder1
A definição está contida no arquivo german.apc
e é fornecida como
\renewcommand{\BRetrievedFrom}{Zugriff auf\ }%
então você só precisa emitir um semelhante\renewcommand
depois \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}
Observe que o arquivo também contém
\renewcommand{\BRetrieved}[1]{Zugriff am {#1} auf\ }%
que é usado quando um lastchecked
campo é fornecido. Há também
\renewcommand{\BAvailFrom}{Verf\"ugbar unter\ }%
mas a documentação diz que isso foi substituído por \BRetrievedFrom
.