[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] DocBook to PDF and page references
You are correct that the FO file does not have page information and so cannot include literal page references. It is the XSL-FO processor (FOP, PassiveTeX) that generates the pages from the information in the FO file and assigns page numbers. The mechanism for index page references is the same as that for tables of contents: an id attribute is placed on an fo:block element at a given location in the flow, and then a reference to that block is made with this: <fo:page-number-citation ref-id="id"/> When this is processed by the XSL-FO processor, it generates the page number that contains the block with that id. So if PassiveTeX can generate a table of contents with page numbers, it should also be able to process the index with page numbers. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Wolfgang Jeltsch" <wolfgang@jeltsch.net> To: "DocBook Applications Mailing List" <docbook-apps@lists.oasis-open.org> Sent: Friday, December 12, 2003 2:37 PM Subject: [docbook-apps] DocBook to PDF and page references > Hello, > > is it possible to generate an index with the standard DocBook stylesheets and > PassiveTeX? Is it generally possible to generate indexes when going via FO? > > I suppose that FO is not concrete enough to already make the breakdown into > pages. So it seems that on the FO level one doesn't know on which pages the > terms in the index will reside, and therefore the stylesheets won't be able > to insert the correct page numbers in the index. > > Am I wrong here? > > Wolfgang > > > To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/. > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]