[docbook-css] [ANN] Firefox DocBook 'Outliner' Extension
martin.gautier@myrnham.co.uk
martin.gautier at myrnham.co.uk
Mon, 1 Nov 2004 10:30:36 +0000
Dave
Will this only install onto Firefox?
Mozilla (1.7.3) seems to know what an XPI file is but complains of "No
Install Script" so won't install :o(
Is there a menu option or button to switch the TOC off/on (when it's
installed & working)?
Mart
On Tue, Oct 19, 2004 at 06:57:54PM +0000, David Holroyd wrote:
> On Mon, Oct 18, 2004 at 09:14:48PM +0100, martin.gautier@myrnham.co.uk
wrote:
> > I noticed the website mentions that CSS can't do TOCs. Having a TOC
has
> > been an issue for me and I've done some work on it recently. I can get
a
> > pop-up TOC to appear in Mozilla quite nicely. Unfortunately, at this
> > stage, it interferes with the main text (ie. it pops up down the left
hand
> > side of the page) and needs code in the XML doc which works for the
> > browser but makes the XML invalid. I have some ideas on fixing this
and
> > I'll get back to the list when I start looking at the problem again...
>
> I recall seeing an 'Outline' mozilla extension for HTML pages (I assume
> that this wouldn't require changes to the document to make it work).
>
> Maybe I'll have a poke at that, to see how it does its magic.
I hacked on this a bit today, and here's what I came up with:
http://www.badgers-in-foil.co.uk/projects/docbook-css/outliner/
It works as a simple navigation aid, but lacks polish at the moment.
In particular, the code has a whilelist of 'sectioning' elements allowed
to appear in the TOC; this list is incomplete, so let me know if stuff
you think should appear isn't actually turning up.
dave
_______________________________________________
docbook-css mailing list
docbook-css@lists.badgers-in-foil.co.uk
http://lists.badgers-in-foil.co.uk/mailman/listinfo/docbook-css