10

Is there a way to integrate Arara as a way to automate the building process of a LaTeX document in Emacs/AUCTex?

8

Add the appropriate entry to TeX-command-list. Insert the following code in your init file:

(eval-after-load "tex"
  '(add-to-list 'TeX-command-list
        '("Arara" "arara --verbose %s" TeX-run-TeX nil t :help "Run Arara.")))

The --verbose flag has been suggested by Paul Stanley.

  • Better ("Arara" "arara --verbose %s" TeX-run-Tex nil t :help "Run Arara.") The --verbose flag allows auctex to parse the output and avoids spurious errors. – Paul Stanley Jan 20 at 18:16
  • Once I've added this code to my init file, how do I run it? C-c C-a? – Evan Aad Mar 18 at 19:39
  • C-c C-c Arara RET should work – giordano Mar 19 at 10:27

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.