I'm using LateXing with Sublime Text 2 for my TeX needs. In the LateXing documentation it says I can choose xelatex
as the TeX engine by using the following line at the start of my TeX file:
% -*- program: xelatex -*-
However, it does not work. When I build my pdf using Ctrl-B
it still uses pdflatex. Any ideas what the problem might be?
Best Answer
I have to use
Cntl+Super+B
(perhapsCntl+Windows+B
on PC/Linux?). This brings up a list of possible build systems. I select theSingle Quick Build xelatex
one, and it works. After building once, from then on I can just do "Super-B" (probablyCntl-B
on Windows/Linux).