This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Placement of 'id' attribute in FO output forglossentry elements
- From: Bob Stayton <bobs at caldera dot com>
- To: "Paul A. Hoadley" <paulh at logicsquad dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 11 Feb 2003 10:03:16 -0800
- Subject: Re: DOCBOOK-APPS: Placement of 'id' attribute in FO output forglossentry elements
- References: <20030211123304.GB14573@grover.logicsquad.net>
On Tue, Feb 11, 2003 at 11:03:04PM +1030, Paul A. Hoadley wrote:
> Hello,
>
> I am using XSL stylesheets version 1.60.0 and XEP to render FO to PDF
> (in fact, via PostScript and then ps2pdf). When I place a glossentry
> in a glossary, the generated FO output includes the 'id' attribute in
> the fo:list-item element. I have noticed that this causes Acrobat
> Reader (under Unix and Windows) to occasionally jump to a location
> slightly above or below (by a few lines) the actual glossary entry
> label. While it is quite conceivable that this bug is being
> introduced by XEP or ps2pdf, I noticed that hand-moving the 'id'
> attribute to the fo:block element directly surrounding the text of the
> label alleviates the problem.
Does it jump consistently to the same bad location, or do
repeated jumps to the same location produce different
results? Are some glossentries better than others?
> Has anyone else noticed this behaviour? Is there a good reason for
> putting the 'id' attribute in the fo:list-item element rather than the
> fo:block? I suspect it shouldn't make a difference -- can anyone
> suggest why it does?
IMHO, it should not make a difference, but obviously it does.
I have no idea why.
Both glossentry and glossterm accept id attributes,
so that is why the glossentry id is on the fo:list-item.
I'm not sure it is a good idea to transfer the id from
glossentry to the fo:block for glossterm.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com