[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex f87d90f 02/25: Document how to lo
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex f87d90f 02/25: Document how to load AUCTeX from a local Git repo |
Date: |
Sun, 21 Mar 2021 11:44:39 -0400 (EDT) |
branch: externals/auctex
commit f87d90f74e6849cd3fc5f517c7dce8c58759573c
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Document how to load AUCTeX from a local Git repo
* doc/install.texi (Advice for non-privileged users): Add
instructions to use AUCTeX directly out of a local Git repo.
---
doc/install.texi | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/doc/install.texi b/doc/install.texi
index d055e4c..7dca123 100644
--- a/doc/install.texi
+++ b/doc/install.texi
@@ -520,6 +520,60 @@ If you want others to be able to share your installation,
you should
configure it using @samp{--without-texmf-dir}, in which case things
should work as well for them as for you.
+@subsubsection Using @AUCTeX{} from local Git repo
+
+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
+@example
+~/development/
+@end example
+
+First, you have to fetch a copy of the @AUCTeX{} Git repository. In a
+shell, change directory to @samp{~/development/} and do:
+@example
+git clone https://git.savannah.gnu.org/git/auctex.git
+@end example
+
+Now change directory to @samp{~/development/auctex} and run
+@samp{./autogen.sh}. Next thing is to run @command{configure} like this:
+@example
+./configure --without-texmf-dir --with-lispdir=.
+@end example
+
+@noindent
+When finished, simply enter
+@example
+make
+@end example
+@noindent
+and you're finished. Note that the @samp{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:
+@lisp
+(setq TeX-data-directory "~/development/auctex"
+ TeX-lisp-directory TeX-data-directory)
+@end lisp
+
+@noindent
+The info files will be available with this:
+@lisp
+(eval-after-load 'info
+ '(add-to-list 'Info-additional-directory-list
+ "~/development/auctex/doc"))
+@end lisp
+
+@noindent
+Now you're ready to load @file{auctex.el} and @file{preview-latex.el} out
+of this directory:
+@lisp
+(load "~/development/auctex/auctex.el" nil t t)
+(load "~/development/auctex/preview-latex.el" nil t t)
+@end lisp
+
@ifclear rawfile
@node Installation under MS Windows
@section Installation under MS Windows
- [AUCTeX-diffs] [elpa] externals/auctex updated (04d69c5 -> 48fb645), Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 42f1bc3 03/25: ; Fix texinfo error, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 0e616b8 16/25: Enable lexical binding in plain-tex.el, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 653e272 12/25: Deprioritize "\\.drv\\'" in auto-mode-alist, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 39c4e77 07/25: Add new style/truncate.el, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex f87d90f 02/25: Document how to load AUCTeX from a local Git repo,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 8bc74dd 01/25: Update style/bigdelim.el to package version 2.6, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 4384639 11/25: Add new style/changes.el, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 2e9b714 09/25: Add new style/footnotehyper.el, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 331b24c 21/25: Use "wrap region or query for logo" also in \[hH]ologoVariant, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 737fa11 20/25: Fix wrapping of active region with \[Hh]ologo macros, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 5afcc09 10/25: Add parsing support to style/comment.el, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 2848def 14/25: * style/geometry.el ("geometry"): Fontify \restoregeometry macro., Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex da52023 24/25: Discard `TeX-auto-update' to silence byte compiler, Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 72e645f 13/25: ; * tex-buf.el (TeX-active-master): Fix comment., Tassilo Horn, 2021/03/21
- [AUCTeX-diffs] [elpa] externals/auctex 6db8a1a 06/25: ; Use @subsection, Tassilo Horn, 2021/03/21