LaTeX编译源文件出错
Fatal Package fontspec Error: The fontspec package requires either XeTeX or(fontspec) LuaTeX. \msg_fatal:nn {fontspec} {cannot-use-pdftex}
解决方案:编译器切换成XeLaTex
Options -> Configure TeXstudio -> Build -> XeLaTex
LaTeX编译源文件出错
Fatal Package fontspec Error: The fontspec package requires either XeTeX or(fontspec) LuaTeX. \msg_fatal:nn {fontspec} {cannot-use-pdftex}
解决方案:编译器切换成XeLaTex
Options -> Configure TeXstudio -> Build -> XeLaTex