Re: Generating an Index or Table of Contents

2002-06-28 Thread Florence Deforge
You can find a complete example on the w3 fo introduction page,
http://www.w3.org/TR/xsl/slice6.html#fo-section, ยง6.6.1.1.4 (Table of
Contents with Leaders)


- Original Message -
From: Thibodeaux, Paul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 3:17 PM
Subject: Generating an Index or Table of Contents


 Does anyone have any ideas on how one might generate an index at the back
of
 a document based on entries contained within the pages of the document.
 These index entries would need to know the page number of source of the
 entry.

 This appears to be a little more advanced for what FOP currently offers,
but
 I do not see references to this in the XSLFO specifications either.

 Thanks,
 Paul





Generating an Index or Table of Contents

2002-06-27 Thread Thibodeaux, Paul
Does anyone have any ideas on how one might generate an index at the back of
a document based on entries contained within the pages of the document.
These index entries would need to know the page number of source of the
entry.

This appears to be a little more advanced for what FOP currently offers, but
I do not see references to this in the XSLFO specifications either.

Thanks,
Paul



Re: Generating an Index or Table of Contents

2002-06-27 Thread Ralf Steppacher
Hello Paul.
 Does anyone have any ideas on how one might generate an index at the
 back of a document based on entries contained within the pages of the
 document. These index entries would need to know the page number of
 source of the entry.
Have a look at fo:page-number-citation.
You need all content that should be referenced in your index to have an 
attribute with a unique value. Write a template that matches that 
attribute, gets the value of the element as entry for your index and use 
fo:page-number-citation to obtain the page number.

HTH
Ralf