I reduced the problem to the following minimal working example (MWE):
\begin{filecontents}{library.bib}
@misc {test1,
author = {Author},
note = {{This note is "bad"}},
}
\end{filecontents}
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[ngerman, english]{babel}
%\usepackage[english, ngerman]{babel}
\usepackage[backend=biber]{biblatex}
\addbibresource{library.bib}
\begin{document}
\cite{test1}
\printbibliography[]
\end{document}
The code above works fine. However, if I change the main language with \usepackage[english, ngerman]{babel} I get the following error:
! Argument of \language@active@arg" has an extra }.
- Ideally, I'm looking for a solution which doesn't include changing the
.bibfiles, because they're external and I don't have control over them. Even though the problem seems to be with"and}inside the.bibfile. (I realized thatnote = {This note is "bad"}ornote = {{This note is bad}}ornote = {{This note is "bad".}}seem to work with both languages. Butnote = {{This note is "bad"}}isn't malformed, or is it? It should work, right?) - So, maybe I can just set the main language for the
.bibresource back toenglishas a workaround?
Thanks for any ideas :-)
filecontentsenvironment before\documentclass– egreg Dec 12 '17 at 07:21"for quotation mark, usecsquotesand its\enquote{foo}or ``foo''. – moewe Dec 12 '17 at 07:34"thing is probably mentioned in any good introduction to TeX, so many people know it. – moewe Dec 12 '17 at 09:28