<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>David,</p>
<p>The "culprit" is the `dantelogo.sty' package:</p>
<p>\@tempswatrue% suppose latex or pdflatex</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\ifXeTeX\@tempswafalse\else\ifLuaTeX\@tempswafalse\fi\fi</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\if@tempswa%
we have (pdf)latex</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\message{We run (pdf)latex ... }%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\PassOptionsToPackage{T1}{fontenc}%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\RequirePackage{fontenc}%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\def\dante@font{\fontencoding{\encodingdefault}\fontfamily{DANTE}\selectfont}%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\else</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\message{We run (lua)xelatex ... }%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\RequirePackage{fontspec}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\newfontfamily\dante@font{DANTE}%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
[Extension=.otf,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
BoldFont=*-Bold,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
ItalicFont=*-Italic,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
BoldItalicFont=*-Bold-Italic]</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\fi</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;">%<br>
</p>
<br>
Maybe there is some issues with the first message line. Well, I
removed it (don't know why I am using it) and now all works again.<br>
<br>
Thanks,<br>
<br>
JHissa<br>
<br>
<div class="moz-cite-prefix">Em 11/04/2017 12:11, David Carlisle
escreveu:<br>
</div>
<blockquote
cite="mid:CAEW6iOiheBSrsKPU+=zS6VO7UHPT0Ur1X-J9dGyXvNTbSri3=Q@mail.gmail.com"
type="cite">
<pre wrap="">the line
Fatal fontspec error: "cannot-use-pdftex"
cones from fontspec, perhaps a package that you include now loads fontspec.
Show the log file or terminal output from running pdflatex on your document.
it will have an open bracket (...path/to/fontspec.sty and looking for the
preceding open brackets will show which file you are including has
included fontspec.
David
On 11 April 2017 at 16:01, José Hissa Ferreira <a class="moz-txt-link-rfc2396E" href="mailto:jose.hissa@gmail.com"><jose.hissa@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Em 11/04/2017 11:44, David Carlisle escreveu:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">
This error message is wrong because I am using pdflatex to compile.
</pre>
</blockquote>
<pre wrap="">
The error message is because you used pdflatex.
You have included the fontspec package, and that requires xelatex or
lualatex and does not work with pdflatex.
David
</pre>
</blockquote>
<pre wrap="">
David, I did not include the fontspec package. Please note that I did get
that error just after I updated texlive today
JHissa
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>