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


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

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

Subject: Re: [dita] Preferred Index Terms


At a minimum, the processor should return an error. Perhaps a fallback is to highlight the first occurrence, but I think that would be up to the processor.


I could see the inevitable conflict when a topic is reused in different publications, that might have different levels of preference depending on the publication. In such a case, I think the recommended best practice would be to profile the indexterm (we sometimes use @otherprops or @product for this type of purpose).


Best regards,




From: <dita@lists.oasis-open.org> on behalf of Kristen James Eberlein <kris@eberleinconsulting.com>
Date: Tuesday, August 13, 2019 at 10:25 AM
To: "dita@lists.oasis-open.org" <dita@lists.oasis-open.org>
Subject: Re: [dita] Preferred Index Terms


How would you expect a processor to handle multiple instances of "preferred" indexterm elements?

Given reuse and team authoring, I'd think this scenario would be inevitable.


Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
+1 919 622-1501; kriseberlein (skype)

On 8/13/2019 12:12 PM, Scott Hudson wrote:

Option 2 could be a tall order for some companies. I think Option 1 has a lower barrier to entry.
On 8/13/19, 10:10 AM, "dita@lists.oasis-open.org on behalf of Eliot Kimber" <dita@lists.oasis-open.org on behalf of ekimber@contrext.com> wrote:
    An indexing requirement that DITA does not currently satisfy out of the box is identify an instance of an index term as being the "preferred" instance. Preferred instances are usually rendered by highlighting the page number (or other locator) for that entry.
    DocBook provides for this with the @significance attribute of the <indexterm> element: 
    Where the @significance attribute has the value "normal" or "preferred":
    <indexterm significance="preferred"><primary>apple</primary></indexterm>
    It seems reasonable to add this mechanism to DITA.
    I can see two ways it could be done:
    1. Add an attribute like @significance to <indexterm>, basically exactly what DocBook does.
    2. Specialize <indexterm> to <indexterm-preferred>.
    Option 2 could of course be done by anyone who wants to define the specialization, and maybe that's the answer: if you have this requirement, implement the specialization and the processing for it.
    But I wanted to at least record the requirement for discussion.
    Eliot Kimber
    To unsubscribe from this mail list, you must leave the OASIS TC that 
    generates this mail.  Follow this link to all your TCs in OASIS at:

--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

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