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] customizing index generation


On 9.12.2012 22:59, Stefan Seefeld wrote:

> Is there a way to strip off the common prefix for purposes of index
> generation only, that is without actually removing the prefix from the
> indexed symbols themselves ?
> 
> So, The two symbols "foo_something" and "foo_other" above would end up
> in two sections, the first under "S", the second under "O".

You need to add simple step which will modify indexterms to use sortas
attribute with stripped prefix. Similar approach to one described at:

http://www.xml.com/pub/a/2004/07/14/dbndx.html?page=3

			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



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