This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: Links IDs to the glossary [was: One TOC and one glossary for multiple docbook XML files]
- From: Bob Stayton <bobs at sco dot com>
- To: Yan Bilik <yan dot bilik at wanadoomaps dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 14 Apr 2003 09:48:45 -0700
- Subject: [docbook-apps] Re: Links IDs to the glossary [was: One TOC and one glossary for multiple docbook XML files]
- References: <7E4AD7E16817AC4FA31346785D04C372314ADD@atlanta.snv.fr>
On Mon, Apr 14, 2003 at 11:26:48AM +0200, Yan Bilik wrote:
> > Bob Stayton [mailto:bobs at sco dot com] - vendredi 11 avril 2003 18:38
> >
> > (...)
> > You should consider instead using
> > the glossary collection feature of DocBook. That lets
> > you keep a central glossary database that your individual
> > documents can draw upon for terms. Then you just need
> > to have a link to a rendered version of your glossary
> > collection file. See the "Glossary database" section in:
> > http://www.sagehill.net/xml/docbookxsl/SolveProblems.html
>
> Thank you Bob,
> Generation of local glossaries works fine this way.
>
> But I noted a strange thing: generated "href" attributes to the local
> glossary
> begin with a "#gl." (GL lower-case) plus the automatic numeric
> identifier ("id123456").
> And I have no such "gl" identifer in the generated document.
>
> I commented the line #728 in file xhtml/inline.xsl, which is the line
> that
> adds this prefix, and now, links to glossary work well...
>
> Is it a bug ? Or did I forget something ? (I could probably guess by
> myself reading the XSL files, but I am a beginner with XSL...)
Indeed, that was a bug that has been fixed in CVS.
The fix will be in the next release of the stylesheets.
--
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 at sco dot com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org