
我正在使用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>.
請問你能幫幫我嗎?