Skip to content
aikrahguzar edited this page Mar 6, 2025 · 6 revisions

Recipe

AUCTeX version 14.0.7 or later (Oct 5, 2024)

The auctex package requires a special recipe that will build the package and set the AUCTeX-version variable:

(auctex :repo "https://git.savannah.gnu.org/git/auctex.git" :branch "main"
        :pre-build (("make" "elpa"))
        :build (:not elpaca--compile-info) ;; Make will take care of this step
        :files ("*.el" "doc/*.info*" "etc" "images" "latex" "style")
        :version (lambda (_) (require 'auctex) AUCTeX-version))

The :version property can be omitted and elpaca will pick it from the Version header.

Old Recipes

AUCTeX versions before 14.0.7

Before v14.0.7 AUCTeX-version was defined in tex-site.el so the correct recipe was

(auctex :repo "https://git.savannah.gnu.org/git/auctex.git" :branch "main"
        :pre-build (("make" "elpa"))
        :build (:not elpaca--compile-info) ;; Make will take care of this step
        :files ("*.el" "doc/*.info*" "etc" "images" "latex" "style")
        :version (lambda (_) (require 'tex-site) AUCTeX-version))

Before Apr 28, 2024

Before Apr 28, 2024 the recommended recipe was:

(auctex :pre-build (("./autogen.sh")
                    ("./configure"
                     "--without-texmf-dir"
                     "--with-packagelispdir=./"
                     "--with-packagedatadir=./")
                    ("make"))
        :build (:not elpaca--compile-info) ;; Make will take care of this step
        :files ("*.el" "doc/*.info*" "etc" "images" "latex" "style")
        :version (lambda (_) (require 'tex-site) AUCTeX-version))

due to an upstream issue. See this comment on issue 191) and https://lists.gnu.org/archive/html/auctex-devel/2024-04/msg00089.html and the other messages in the thread.

Clone this wiki locally