This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Navigation Tool for Docbook-Documents in Emacs
- From: Yann Dirson <ydirson at fr dot alcove dot com>
- To: Jens Emmerich <Jens dot Emmerich at encorus-le dot com>
- Cc: 'Yann Dirson' <ydirson at fr dot alcove dot com>,"'docbook-apps at lists dot oasis-open dot org'" <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 08 Feb 2002 12:41:12 +0100
- Subject: Re: DOCBOOK-APPS: Navigation Tool for Docbook-Documents in Emacs
- References: <410054F605B3D311BF640000C0C06A0E020B1932@xc1.brokat-le.com>
On Fri, Feb 08, 2002 at 12:34:10PM +0100, Jens Emmerich wrote:
> Gave it a shot on the generated HTML: The arbritrary division in the imenu
> index is somewhat unfortunate, with ca. 320 section headings it's difficult
> to find the h1's among them. Is there any way to make imenu represent the
> hirarchy? Or should one use something like speedbar (never looked at the api
> of that).
Hm, well, imenu itself does not represent hierarchies - that's why I
wrote hier-imenu. Are you sure you activated hier-imenu ?
> Replacing the (assoc substr hier-imenu-levels) in
> imenu-create-hierarchical-index with a function call (optionally) would
> allow to integrate <section> by searching the PSGML tree upwards also. Maybe
> I should try it this evening.
I have started to think about recursive headings, I'll probably
implement that some day. I also got some bug reports that I did not
investigate yet - just need to find some time, and think of this
particular project when free time comes :)
> FYI I attached my current approach to this. If you can spare some time, look
> at doctoc.el comments. Not polished (autoload etc.), some XEmacs specific
> parts, but you should get the idea (of useability). Comments/ideas more than
> welcome.
Will do, thanks.
--
Yann Dirson <Yann.Dirson@fr.alcove.com> http://www.alcove.com/
Free-Software Engineer Ingénieur Logiciel-Libre
Free-Software time manager Responsable du temps Informatique-Libre
Debian GNU/Linux developper <dirson@debian.org>