Do you need LuaTeX or XeLaTeX for fontspec?
The fontspec package requires either XeTeX or LuaTeX to function. ! ! You must change your typesetting engine to, e.g., “xelatex” or “lualatex” ! instead of plain “latex” or “pdflatex”. ! ! See the fontspec documentation for further information. ! !
Is there a line 41 in fontspec.sty?
I think you are right about truncated message, in fact, line 41 in fontspec.sty is \\msg_fatal:nn {fontspec} {cannot-use-pdftex}. in sublme latex building file already.
What does missing endcsname inserted mean in Stack Exchange?
Missing \\endcsname inserted” The control sequence marked should not appear between \\csname and \\endcsname – TeX – LaTeX Stack Exchange Compilation Error “! Missing \\endcsname inserted” The control sequence marked should not appear between \\csname and \\endcsname
What kind of fonts do you use in fontspec?
If the template you are using makes use of fontspec, it means it wants to use system fonts (TTF/OTF/AAT). You will need to compile this document using XeTeX ( xelatex) or LuaTeX ( lualatex ). Note that using XeTeX or LuaTeX may not be sufficient to compile this example, as you will also need to have the font required for it.
Why do I get a font not found error with XeTeX?
If you don’t have it, you will get a “font-not-found” error, and you will have to find the TTF/OTF/AAT font and install it in your system (hopefully, it’s a free font). You are compiling your template using pdflatex, as is suggested by the error message. Instead, you need to compile it using either xetex (or xelatex) or luatex (or lualatex ).
How to do a stack exchange with XeTeX?
You can do this from the command line by typing xetex file.tex (since you mention that xetex is installed), or by defining a new output profile under the Built menu Alt + 7 and compiling file.tex using this newly-created profile from within TeXnicCenter. Thanks for contributing an answer to TeX – LaTeX Stack Exchange!