在以下示例中,启用 csquotes 包会在参考书目中错误地使用德语引号,尽管我告诉 babel 这是英文:
\documentclass{article}
\usepackage[UKenglish,german]{babel}
\usepackage{csquotes} % !
\usepackage[backend=biber,natbib=true,citestyle=verbose-ibid,isbn=false,maxnames=3,bibstyle=authoryear,useprefix=true,sorting=ydnt]{biblatex} % citereset=chapter
\begin{filecontents*}{foo.bib}
@phdthesis{rutz2014tracing,
AUTHOR = {Rutz, Hanns Holger},
TITLE = {Tracing the Compositional Process. Sound art that rewrites its own past: formation, praxis and a computer framework},
SCHOOL = {Plymouth University},
ADDRESS = {UK},
YEAR = {2014},
URL = {http://hdl.handle.net/10026.1/3116}
}
\end{filecontents*}
\selectlanguage{UKenglish}
\addbibresource{foo.bib}
\begin{document}
\selectlanguage{german}
\section*{Publikationen}
Alle unter "`Open Access"' verfügbaren Publikationen sind unter ... verlinkt.
\selectlanguage{UKenglish}
\nocite{rutz2014tracing}
\printbibliography
\end{document}
一旦我删除 csquotes 包,引号就会正确地恢复为英文:
如何在保持 csquotes 包处于启用状态的同时修复此问题?
答案1
添加 csquotes 选项autostyle
。评论一下:您帖子中的图片显示的是美国引文,而不是英国引文。
笔记:如果您使用该字段,您还可以根据每个条目语言在参考文献部分建立引文langid
。
\RequirePackage{filecontents}
\documentclass{article}
\usepackage[utf8]{inputenc}%
\usepackage[T1]{fontenc} %
\usepackage{lmodern}
\usepackage[UKenglish,german]{babel}
\usepackage[autostyle]{csquotes} % !
\usepackage[backend=biber,natbib=true,citestyle=verbose-ibid,isbn=false,maxnames=3,bibstyle=authoryear,useprefix=true,sorting=ydnt]{biblatex} % citereset=chapter
\begin{filecontents*}{foo.bib}
@phdthesis{rutz2014tracing,
AUTHOR = {Rutz, Hanns Holger},
TITLE = {Tracing the Compositional Process. Sound art that rewrites its own past: formation, praxis and a computer framework},
SCHOOL = {Plymouth University},
ADDRESS = {UK},
YEAR = {2014},
URL = {http://hdl.handle.net/10026.1/3116}
}
\end{filecontents*}
\selectlanguage{UKenglish}
\addbibresource{foo.bib}
\begin{document}
\selectlanguage{german}
\section*{Publikationen}
Alle unter "`Open Access"' verfügbaren Publikationen sind unter ... verlinkt.
\selectlanguage{UKenglish}
\nocite{rutz2014tracing}
\printbibliography
\end{document}