|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
With the techniques described above, it is also possible to use AUCTeX directly from a local Git repository. Let’s assume you have your Git repositories under ‘~/development/’.
First, you have to fetch a copy of the AUCTeX Git repository. In a shell, change directory to ‘~/development/’ and do:
git clone https://git.savannah.gnu.org/git/auctex.git
Now change directory to ‘~/development/auctex’ and run
‘./autogen.sh’. Next thing is to run
configure like this:
./configure --without-texmf-dir --with-lispdir=.
When finished, simply enter
and you’re finished. Note that the ‘make install’ step is not necessary.
Now you have to tell Emacs about the plan. The following variables must be set in your init file because their normal values are only correct when AUCTeX is installed:
(setq TeX-data-directory "~/development/auctex" TeX-lisp-directory TeX-data-directory)
The info files will be available with this:
(eval-after-load 'info '(add-to-list 'Info-additional-directory-list "~/development/auctex/doc"))
Now you’re ready to load ‘auctex.el’ and ‘preview-latex.el’ out of this directory:
(load "~/development/auctex/auctex.el" nil t t) (load "~/development/auctex/preview-latex.el" nil t t)
This document was generated on February 20, 2022 using texi2html 1.82.