OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] RE: glossary.sort


You're not the first to wonder about that :-)
https://sourceforge.net/tracker/index.php?func=detail&aid=1854194&group_id=21935&atid=373750
 
That functionality exists for the automatically generated back-of-the-book index which sorts the index terms into indexdivs. The internationalization aspect is a little tricky. Some languages have accented characters which aren't put into their own divs (i.e. if an accented a starts a word, you want it in the div with all the other words beginning with a) and Asian languages present their own challenges. Still, it could (and probably someday will) be implemented.
 
David


From: Laurie Burley [mailto:laurie.burley@kofax.com]
Sent: Tuesday, March 30, 2010 9:05 AM
To: Laurie Burley; docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] RE: glossary.sort

HI,

 

After a lot of testing.. I found that if I remove the glossdivs, I can get the terms to be in the correct order. My problem now is that the letter separators that I was using the glossdivs for .. are no longer are there, which isn’t really how I want it to look.

 

Has anyone managed to modify their customization layer to get this to work? Any info would be helpful.

 

Regards,

 

Laurie.

 

From: Laurie Burley
Sent: 30 March 2010 12:31
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] glossary.sort

 

Hi,

 

I’m trying to get the glossary.sort parameter to work in my PDF output as we are generating a document in multiple languages, so the order of the glossary terms changes, depending on the language.

 

I have added <xsl:param name="glossary.sort" select="0"></xsl:param>

 to the param.xsl in our customisation layer, but have made no other changes to the glossary in our customisation layer.

 

The result of the sort does not behave like I expected, or as it is documented at http://www.sagehill.net/docbookxsl/GlossarySort.html, unless I’ve misunderstood it.

 

My glossary is set up with a glossdiv for each letter in English. When I generate another language, the translations for the terms in the first glossdiv are in alphabetical order, but only within that glossdiv, and each subsequent glossdiv has sorted content but only within that block.

 

From the information on the above html page, I got the impression that the parent element container, in my case, the glossary, would be where the terms were sorted. Have I misunderstood this?

 

You cannot add a glossterm directly to the glossary, so another child block element is needed. In order to alphabetise this the way I want, the only solution I can see is removing the individual glossdivs but one, and just add all glossterms to a single one, eliminating the possibility of having individual letters. On the website it says that ‘There is currently no provision for generating letter titles to divide letter groups…etc.’

 

Has anyone done this to include the letters? Or could anyone provide me with a little more guidance on how to get this to work for me?

 

Any information would be helpful.

 

Kind Regards,

 

Laurie.

Laurie Burley
Sr. Tech Comm Spc.
Kofax U.K., Ltd.

201 Cambridge Science Park
Milton Road, Cambridge
CB4 0GZ
United Kingdom

Tel: +44 (0) 1223 226021
laurie.burley@kofax.com

 


This communication is only for the use of the intended recipient. It may contain confidential or proprietary information. If you are not the intended recipient or have received this communication in error, please notify the sender via phone and destroy this communication immediately.

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]