4

I have a template I got from the internet. When I run it I get the following error.

! Fatal fontspec error: "not-pdftex"
! 
! Requires XeTeX or LuaTeX to function!

I have XeTeX and LuaTeX installed. It gives me an error at line 34 in fontspec.sty. Please help. I do not understand what is wrong. Thanks

6
  • How exactly do you try to compile it? Please post the used command line. Simply latex myfile.txt won't work here. Commented Feb 8, 2011 at 18:13
  • 4
    Have XeTeX or LuaTeX installed isn't sufficient, you must compile your document with Xe(La)TeX or Lua(La)TeX
    – PHL
    Commented Feb 8, 2011 at 19:13
  • 1
    Hmmm, I guess that error message could be rather more helpful. Commented Feb 8, 2011 at 23:07
  • 1
    @Matsaya: Could you please post your comment as an answer so that it can be accepted.
    – Caramdir
    Commented Feb 9, 2011 at 0:27
  • 1
    @yO2gO Since Matsaya has answered your question, below, please consider marking the answer as ‘Accepted’ by clicking on the tickmark below their vote count. This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). Commented Feb 9, 2011 at 23:11

1 Answer 1

4

Have XeTeX or LuaTeX installed isn't sufficient, you must compile your document with Xe(La)TeX or Lua(La)TeX.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .