这个问题继续我的其他。
\documentclass[
english,
ngerman
]{scrartcl}
\usepackage{
babel,
csquotes
}
\usepackage[
backend = biber,
sorting = nyt,
style = ext-authoryear-comp
]{biblatex}
\begin{filecontents}{\jobname.bib}
@ONLINE{ASTM,
EDITOR = {ASTM, International (ASTM)},
LOCATION = {West Conshohocken, Pennsylvania},
URL = {https://www.astm.org/ABOUT/full_overview.html},
TITLE = {Detailed Overview},
URLDATE = {2018-06-27},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
结果:
期望的结果:
提前感谢您的帮助和努力!
答案1
\documentclass[english, ngerman]{scrartcl}
\usepackage{babel, csquotes}
\usepackage[backend = biber, style = ext-authoryear-comp]{biblatex}
\DefineBibliographyStrings{german}{%
urlfrom = {verfügbar unter},
urlseen = {zuletzt geprüft am},
}
\DeclareFieldFormat{url}{\bibstring{urlfrom}\addcolon\space\url{#1}}
\DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\addcolon\space#1}}
\renewbibmacro*{url+urldate}{%
\usebibmacro{urldate}%
\newunit
\usebibmacro{url}}
%\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ONLINE{ASTM,
EDITOR = {{ASTM International}},
LOCATION = {West Conshohocken, Pennsylvania},
URL = {https://www.astm.org/ABOUT/full_overview.html},
TITLE = {Detailed Overview},
URLDATE = {2018-06-27},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}