[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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 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 201 Cambridge Science Park Tel: +44 (0) 1223 226021 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]