Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I add to the list LuaTeX when I type Ctrlc Ctrlc?

I was able to add Latexmk to the list by adding

(add-hook 'LaTeX-mode-hook (lambda ()
  (push 
    '("Latexmk" "latexmk -pdf %s" TeX-run-TeX nil t
      :help "Run Latexmk on file")
    TeX-command-list)))

What would be the /.emacs entry for LuaTeX?

Or is there a way to bind switching to the LuaTeX? For example, Ctrll.

share|improve this question
    
If you use latexmk you can tell it to use luatex. –  N.N. Apr 20 '13 at 7:06
    
@N.N. How? I only went to call LuaTeX for a few compilation most are pdflatex so I don't want every run to be LuaTex. –  dustin Apr 20 '13 at 11:22
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.