我在使用 biblatex 时遇到一个奇怪的错误,使用 biber 作为后台引擎。我的最小示例是:
\documentclass {scrreprt}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage{lmodern}
\usepackage[backend=biber]{biblatex}
\addbibresource{lib.bib}
\begin{document}
asdf \cite{heupel_international_2018}
\printbibliography
\end{document}
对应的bib文件是:
@article{heupel_international_2018,
langid = {english},
title = {International Organisations and Human Rights: {{What}}
Direct Authority Needs for Its Legitimation},
volume = {44},
issn = {0260-2105, 1469-9044},
url = {https://www.cambridge.org/core/journals/review-of-
international-studies/article/international-organisations-and-human-
rights-what-direct-authority-needs-for-its-
legitimation/5C605ECBAA1E2667D07BBFB3EACDA3CA},
doi = {10.1017/S0260210517000420},
shorttitle = {International Organisations and Human Rights},
number = {2},
journaltitle = {Review of International Studies},
urldate = {2018-08-12},
date = {2018-04},
pages = {343-366},
keywords = {Legitimacy,International Organizations,Authority,Human
Rights,Legitimation},
author = {Heupel, Monika and Hirschmann, Gisela and Z\"urn, Michael},
}
我给出了错误:“INFO - 正在寻找 bibtex 格式文件'\GenericError {(inputenc) }{Package inputenc 错误:Unicode 字符 \GenericError {(inputenc) }{Package inputenc 错误:Unicode 字符 (U+2068)\MessageBreak 未设置为用于 LaTeX}”
答案1
{
和l
之间有一个 U+2068 控制字符
\addbibresource{lib.bib}
仅使用可见字符重新输入该行,即
\addbibresource{lib.bib}