[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info node missing(auctex-devel)
From: |
Tassilo Horn |
Subject: |
Re: info node missing(auctex-devel) |
Date: |
Tue, 06 Sep 2011 08:37:19 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Shiyuan <gshy2014@gmail.com> writes:
Hi Shiyuan,
> I installed a library (auctex-devel). However I cannot see the info
> node when I use C-h i. The information may be missing in the package or I
> did something wrong when I installed the package.
> How does a library usually insert its info node into emacs such that users
> can browse it by C-h i m? How can I identify the problem and fix it? Thanks.
You have to add the directory containing the info file (or to be more
precise, the dir [directory index] file) to `Info-directory-list'.
That's what I do for AUCTeX from CVS:
--8<---------------cut here---------------start------------->8---
(add-to-list 'Info-directory-list "~/repos/el/auctex/doc")
--8<---------------cut here---------------end--------------->8---
For generating the info docs, you have to run
$ make docs
in the auctex checkout (probably, "make all" also creates the docs). In
addition, you have to create a directory index in doc/ that lists the 2
manuals (auctex itself plus the preview-latex docs). This can be done
easily like so:
$ pwd
/path/to/auctex
$ cd docs
$ install-info auctex.info dir
$ install-info preview-latex.info dir
HTH,
Tassilo