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
latex myfile.txt
won't work here.