forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <johannes.schae...@uidesign.de>
Subject Re: index creation
Date Tue, 14 Sep 2004 16:21:36 GMT
Hi!

I made a leap forwards in index creation (after studying the DocBook
stylesheets), see FOR-280 to download the files:
    http://issues.cocoondev.org/browse/FOR-280

How-to:
1. Copy the stylesheet abc2document.xsl to your project's
    skin-directory. It extracts the <indexterm>s from wholesite.xml.
2. Copy abcindex.xmap to project/src/documentation.
    This is an exact copy of aggregate.xmap plus:
    <map:transform src=".../xslt/html/abc2document.xsl"/>
3. Copy sitemap.xmap to project/src/documentation, it contains:
    <map:match pattern="abc.xml">
      <map:mount uri-prefix="" src="abcindex.xmap" check-reload="yes"/>
    </map:match>
4. Tag your <indexterm>indexterms</indexterm> in the source-xml.
    Note: this breaks with forrest's document-vXX.dtd's!
5. Add <abc label="A..Z Index" href="abc.html"> to your site.xml.

You can use the small project, unzip it and do 'forrest run', too.

There's still a lot to do, e.g.,
- indexterms shouldn't be case-sensitive,
- references shouldn't repeat, ...

Send comments!

Johannes


-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 * 
D-81825 München
www.uidesign.de


Mime
View raw message