![程序包 inputenc 错误:Unicode 字符 - {U+2010)](https://linux22.com/image/332345/%E7%A8%8B%E5%BA%8F%E5%8C%85%20inputenc%20%E9%94%99%E8%AF%AF%EF%BC%9AUnicode%20%E5%AD%97%E7%AC%A6%20-%20%7BU%2B2010).png)
我遇到了以下错误,不知道在哪里可以找到解决方案;
Package inputenc Error: Unicode char ‐ (U+2010)
(inputenc) not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.129 boundedness and actor‐
network theory.
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
[32] [33]) [34]
\openout2 = `chapters/abbreviations.aux'.
有人能帮我找到解决方案吗?如果这是必要的信息,我会使用 ShareLatex。
答案1
utf8enc.dfu
较新的 LaTeX 版本在、中声明了符号 U+2010 (DASH) t1enc.dfu
。前者是默认加载的。对于较旧的 LaTeX 安装,可以明确给出声明:
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{2010}{-}% support older LaTeX versions
带有 U+2010 的版本:
utf8enc.dfu
:2016/02/28 v1.1st1enc.dfu
:2016/02/28 v1.1s- 乳胶 2016/03/31