This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Glossary in FO output: where should 'id' attributego?
- 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: Sat, 08 Feb 2003 13:52:40 -0800
- Subject: Re: DOCBOOK-APPS: Glossary in FO output: where should 'id' attributego?
- References: <20030208101020.GA50981@grover.logicsquad.net>
On Sat, Feb 08, 2003 at 08:40:20PM +1030, Paul A. Hoadley wrote:
> Hello,
>
> I am using XSL stylesheets version 1.60.0, though the ChangeLog for
> 1.60.1 doesn't lead me to believe it would be different in that
> version.
>
> Following TDG, I have been placing 'id' attributes in the glossentry
> elements within a glossary. This causes some peculiar rendering of
> glosssee and glossseealso elements. This minimal example:
>
> <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
> <!DOCTYPE article SYSTEM "/usr/local/share/xml/docbook/docbookx.dtd">
> <article>
> <glossary>
> <glossentry id="g:foo">
> <glossterm>foo</glossterm>
> <glossdef>
> <para>Foo bar baz.</para>
> </glossdef>
> </glossentry>
>
> <glossentry id="g:text">
> <glossterm>text</glossterm>
> <glosssee otherterm="g:foo">foo</glosssee>
> </glossentry>
> </glossary>
> </article>
>
> causes the following output in the resultant PDF:
>
> ---
> Glossary
>
> foo Foo bar baz.
>
> text See fooFoo bar baz..
> ---
>
> The text within the glossdef element of the target is placed between
> "foo" and the full stop. Placing 'id="g:foo"' in the glossterm
> element rather than the glossentry produces the expected output. Is
> this a bug with the XSL, or have I missed something obvious?
This was a bug, now fixed in CVS.
Same problem (now fixed) in HTML, by the way.
--
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