help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subject: Re: info node missing(auctex-devel)


From: Shiyuan
Subject: Subject: Re: info node missing(auctex-devel)
Date: Fri, 9 Sep 2011 19:12:45 -0500

Thanks for reply.
I am using the CVS version.  But when I try
(add-to-list 'Info-directory-list "~/repos/el/auctex/doc")
emacs complaints
Symbol's value as variable is void: Info-directory-list
What could go wrong? Thanks.
Shiyuan

------------------------------------------------
Message: 7
Date: Tue, 06 Sep 2011 08:37:19 +0200
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: info node missing(auctex-devel)
Message-ID: <87y5y2tbvk.fsf@thinkpad.tsdh.de">87y5y2tbvk.fsf@thinkpad.tsdh.de>
Content-Type: text/plain

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]