11

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

1 Answer 1

9

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.

3
  • 1
    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. Jan 20, 2019 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, 2019 at 19:39
  • C-c C-c Arara RET should work
    – giordano
    Mar 19, 2019 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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