我正在使用 TexStudio + TexLive 2016,我认为在 LaTeX 编辑器中,TeXstudio 拥有最好的用户界面,即使拥有 WinEdt 的许可版本,我仍然更喜欢 TeXstudio。
现在我用XeLaTeX和LuaLaTeX编译,用Winedt或者TecnicCenter编译结果是OK的,但是用TeXstudio编译出现如下代码:
\documentclass[xcolor=sgvnames,a4paper,12pt,abntfigtabnum,normaltoc,capchap,rm,amstex,t]{report}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fontspec,xltxtra,xunicode}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Equa\c{c}\~oes Diferenciais Ordinárias}
\author{Raimundo Benedito do Nascimento}
%\date{}
\begin{document}
\maketitle
\chapter{Introdu\c cão}
\section{Preliminares}
\end{document}
我收到以下错误消息:
Fatal fontspec error: "cannot-use-pdftex"
The fontspec package requires either XeTeX or LuaTeX.
You must change your typesetting engine to, e.g., "xelatex" or "lualatex"
instead of plain "latex" or "pdflatex".
For immediate help type H <return>.
请问你能帮帮我吗?