4

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?

6
  • The engine is xetex (like pdftex or luatex)... Sep 25 '15 at 15:21
  • Maybe I should have been clearer. I know xetex is the engine but the LateXing documentation specifies the use of xelatex but it doesn't seem to work.
    – K G
    Sep 25 '15 at 17:20
  • xelatex is a format and its engine is xetex... Sep 26 '15 at 6:46
  • Did you try %!TEX program = xelatex as first line of your document (cf. github.com/SublimeText/LaTeXTools/blob/master/README.markdown)? Sep 26 '15 at 6:50
  • I am using LaTeXing not LaTeXTools. That macro does not work in LaTeXing.
    – K G
    Sep 26 '15 at 10:37
1

I have to use Cntl+Super+B (perhaps Cntl+Windows+B on PC/Linux?). This brings up a list of possible build systems. I select the Single Quick Build xelatex one, and it works. After building once, from then on I can just do "Super-B" (probably Cntl-B on Windows/Linux).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.