Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The title says it all I hope, I'd like to configure Emacs to use XeLaTeX instead of pdfLaTeX, which is the default. I'm using MiKTeX on Windows (it's in my PATH), if that makes a difference.

I'm pretty sure there must be a simple way to achieve this, but I'm by no means an Emacs expert.

share|improve this question
2  
Why on earth do you refuse to use AUCTeX? –  Keks Dose Jan 13 '13 at 16:59
1  
I have a couple of reasons. First, because it's not available everywhere; Second, every time I wish to upgrade Emacs I have to go through this long page to make sure I didn't mess up anything. Third, I just don't see the value added.. Lastly, why should I accept to use AUCTeX? :-) –  gpo Jan 13 '13 at 18:57
    
Use xemacs, that one comes with AUCTeX integrated ;-) –  vonbrand Jan 19 '13 at 1:50
add comment

2 Answers 2

up vote 2 down vote accepted

It's a piece of cake, as it should be! :

(setq latex-run-command "xelatex")

share|improve this answer
add comment

You can run shell commands like pdflatex or biber on files in the various file manager modes. Dired is the most widely used one. There's also a number Midnight Commander clones.

See: http://www.emacswiki.org/emacs/CategoryDirectories.

But I still think you should give AUCTeX a second chance. If the versions available for Windows or Mac are not up to date (I have no idea), you might be better off running a Linux VM or setting up a Linux system on another partition. Although Emacs package management is getting much, much better, Linux package management still makes life with Emacs easier.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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