[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Empty glossary with glossary.collection parameter
On Thu, Feb 27, 2003 at 04:01:46PM +0100, Tilly Bayard-Richard wrote: > Bonjour, > > Could someone be kind and help me with creating an automagical glossary in a > book, using entries in a global glossary "database"? > > I am using docbook-xsl-1.60.1 and xsltproc. > > I (think I) have been following the recommended steps (Bob's and Norm's). > Obviously I missed something, since the glossary in my test book stays > desesperately clean and empty (all I get is the "Glossary" title). > Also, the links to the glossterms in my book are not active as I expect they > should be if there the glossary section had been correctly created! > > However, I get no warnings while running xsltproc to produce the HTML output. > > I have: > > 1/ a common glossary, with > ... > <glossentry id="entry1"> > <glossterm>Term One</glossterm> > <glossdef><para> > Definition for term one. > </para></glossdef> > </glossentry> > ... > > 2/ <xsl:param name="glossary.collection" select="<path_to_common_glossary>"/> > in my html customization stylesheet. > > 3/ a placeholder <glossary role="auto"> element in my book, with one dummy > glossentry. > > 4/ glossterms in my book > ... > <para> > The first term of the Glossary is <glossterm>Term One</glossterm>. > </para> > ... Should work. Perhaps it isn't finding the glossary collection file. The stylesheet should (but doesn't yet) give a warning if it cannot open the glossary file. Try putting it in the same directory as your document and shortening the path to just the filename to see if that is the problem. If it works in that arrangement, then look at how you are specifying the path. You'll also want to set the parameter 'glossterm.auto.link' to 1 to get the automatic linking to the glossary, once it is working. -- 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC