Adept Publisher 9.01: Using Adept's index functionality to produce a glossary
I need to produce an alpha-sorted glossary, with duplicated removed, from data in my XML. Glossary elements are tagged as: <acronym><fulltext>Description here</fulltext><abbrev>DH</abbrev>
The glossary should look like
DH Description here ABC Description of ABC here
and so on
I'm using Adept's indexing functionality to do this, but I'm finding duplicate entries aren't being removed. Strangely, in the 'preliminary' glossary that is created, and is visible in Adept Editor, there are no duplicates, but when I preview in Publisher, the formatted glossary has duplicates.
I understand that I need the <ixpgstr>,body-folio.txt[BO],</ixpgstr> to work as a 'key' - so I'm assuming that duplicates are appearing because the same glossary terms are appearing on different pages. I tried removing the <ixpgstr> from the <savetext> in 'acronym' but then I got errors and no glossary was produced.
Can anyone give me some tips here? I don't want to produce a standard index: just the glossary of terms
Phil, is there a special reason for using the mergeinhibit=-3? (<usetext source="glossary.txt" userule="2" useparam="index_levels=2<br"/>mergeinhibit=-3">) What happens if you delete this parameter?
Thanks Sandra - your suggestion worked. I'd got the mergeinhibit from the Adept help page on creating a parts list - not knowing at the time what it did, I had just copied and pasted the whole useparam attribute into my FOSI