[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] reftex-reference not including autoref
From: |
Ikumi Keita |
Subject: |
Re: [AUCTeX-devel] reftex-reference not including autoref |
Date: |
Tue, 24 Apr 2018 23:52:07 +0900 |
Hi Alex,
>>>>> Alex Branham <address@hidden> writes:
> I guess I'm doing something wrong when building it from git? Here's
> what I currently do:
> git clone https://git.savannah.gnu.org/git/auctex.git ~/.emacs.d/lib/auctex
> cd ~/.emacs.d/lib/auctex
> ./autogen.sh
> .configure --prefix=$HOME
> make
I guess that you didn't issue `make install' and instead write something
like `(load "~/.emacs.d/lib/auctex/auctex.el" nil t t)' in your init
file.
If this guess is correct, then a situation like
> a TeX-data-directory with the value
> (expand-file-name "auctex" (file-name-directory load-file-name))
> Which is one too many auctex's since file-name-directory expands to
> "/home/alex/.emacs.d/auctex".
would follow.
AUCTeX assumes the following directory layout for installed files:
--+ tex-site.el
+ auctex.el
+ auctex + tex.el(c)
+ tex-buf.el(c)
+ latex.el(c)
+ ...
+ style + acro.el(c)
+ acronym.el(c)
+ ...
I.e., a subdirectory "auctex" is on the same level with tex-site.el and
auctex.el, and all of the rest files are inside that subdirectory. This
is different from the status of git checkout, which is without "auctex"
subdirectory.
In other words, the git checkout directory cannot be used as an
alternative of installation.
Regards,
Ikumi Keita