tlmgr 更新后无法将 fontspec 与 xelatex 一起使用

tlmgr 更新后无法将 fontspec 与 xelatex 一起使用

我昨天更新了我的 MacTeX 2011 安装。现在,使用 xelatex 编译以下内容失败:

\documentclass[xetex]{article}
\usepackage{fontspec}
\begin{document}
hello
\end{document}

错误是:

(/usr/local/texlive/2011basic/texmf-dist/tex/xelatex/xunicode/xunicode.sty
! I can't find file `t3enc.def'.

删除 fontspec 行可使其编译成功。我该如何让它再次正常工作?

答案1

在我的系统 (miktex) 中,t3enc 位于 tipa 文件夹中:\tex\latex\tipa\t3enc.def。因此,您可能应该安装 tipa 包。

相关内容