\bibnamedelima 在编码 T1 中不可用

\bibnamedelima 在编码 T1 中不可用

更新的问题:我在 Mac OS X 10.8.5 上使用 xelatex / biber 撰写论文。我的资料来源是:

\documentclass[12pt]{report}
\usepackage{fontspec}
\usepackage[backend=biber]{biblatex}
\addbibresource{bib}

\begin{document}

\cite{Svensson2012} 
\printbibliography

\end{document}

参考书目如下:

@article{Svensson2012,
    title = {{Intellectual property law compliance in Europe: Illegal file sharing and the role of social norms}},
    volume = {{14}},
    shorttitle = {{Intellectual property law compliance in Europe}},
    pages = {1147–1163},
    number = {7},
    journaltitle = {{New media \& society}},
    author = {Svensson, M\textbackslash{}a ans and Larsson, Stefan},
    date = {2012},
    }
}

原文中的作者名字是 Måns,参考书目是自动生成的。正是它\textbackslash导致了问题。如果我删除它,问题就消失了。

当我运行 xelatex 时遇到以下错误:

! LaTeX Error: Command \\bibnamedelima unavailable in encoding EU1.

我正在使用 biber 1.8 版。恐怕我不太了解字体编码和/或它们如何以这种方式与 biber 交互。我希望得到帮助。

答案1

这应该有效:

\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{Svensson2012,
    title = {Intellectual property law compliance in Europe: Illegal file sharing and the role of social norms},
    volume = {14},
    shorttitle = {Intellectual property law compliance in Europe},
    pages = {1147–1163},
    number = {7},
    journaltitle = {New media \& society},
    author = {Svensson, M\TBS a ans and Larsson, Stefan},
    date = {2012},
    }
\end{filecontents*}

\documentclass[12pt]{report}
\usepackage{fontspec}
\let\TBS\textbackslash
\usepackage{biblatex}
\addbibresource{\jobname.bib}

\begin{document}

foo~\cite{Svensson2012} 
\printbibliography

\end{document}

但是,\a输出却毫无意义!

相关内容