I recently upgraded to Sublime Text 3. I have troubles compiling a letter template that requires the fontspec package and compilation with xelatex. I'm using the LaTeXTools package and tell Sublime to use the xelatex by the following line in the .tex-file: %!TEX program =

I'm using MacTex 2014 and have all packages and updates installed via TexLive Utility. When trying to compile my file, I get the an error message related to the fontspec package. When checking the log-file, I found out that LaTeXTools is trying to use pdflatex and not xelatex.

The weird thing is, that exactly the same configuration works fine with Sublime Text 2. Does my configuration simply not work in Sublime 3 or am I missing something? Thanks!

closed as unclear what you're asking by Phelype Oleinik, Bobyandbob, Sebastiano, user36296, Stefan Pinnow Nov 8 '18 at 5:39

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Please add a MWE that shows the problem. :) – Alenanno Dec 2 '15 at 10:20