![xelatex 错误:未定义的控制序列](https://linux22.com/image/349572/xelatex%20%E9%94%99%E8%AF%AF%EF%BC%9A%E6%9C%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E6%8E%A7%E5%88%B6%E5%BA%8F%E5%88%97%20.png)
当我使用编译以下代码时xelatex
,出现以下错误:
Undefined control sequence. \luatex_if_engine:T
文件:fontspec-xetex.sty
我怎样才能解决这个问题?
\documentclass[12pt,a4paper,DIV=12]{scrreprt}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[onehalfspacing]{setspace}
\usepackage[ngerman]{babel}
\usepackage{fontspec}
\setmainfont{Minion Pro}
\begin{document}
Hallo
\end{document}