Thanks Dick That would be helpful. I'll give it a try, and thanks to Dave.
On Mon, Jul 22, 2013 at 11:19 PM, Richard Hamilton <[email protected]>wrote: > Hi Paul, > > Dave Gardiner put together an index customization that I've used to > generate index entries that point to numbered sections. > > That is, if you have section numbering turned on, and you use this > customization, the index will use the section number instead of the title. > So you get index entries that look like this: > > agile development, 1.4, 2.3.6 > > This doesn't work if you have section numbering turned off. I have an item > on my todo list to make it so it will still work with section numbering on > or off, but that has sunk to the bottom of my todo list for now:-). > > If you'd like to see the customization, I can send it to you if it's okay > with Dave. > > Dick Hamilton > ------- > XML Press > XML for Technical Communicators > http://xmlpress.net > [email protected] > > > > On Jul 22, 2013, at 5:02 PM, Pc Thoms wrote: > > > A specific example I should not provide, as it is beyond my expertise, > but I have expectations and hopes for such. I am fairly competent in xml, > but not with xslt. > > > > If the locators in a DocBook formatted xml file can point to the > <chapter/>, <section>, <para/>, <table/>, etc., within the document, the > more specific the reference between the locator and the origination of the > <indexterm/> so much the better. Preferably the generated locator will > point directly to the originating <indexterm/> placed in the document, or > the lowest hierarchical block element. Rather than linking to the > <chapter/>, which may contain hundreds, to thousands, of words it would be > better to link to the lowest hierarchical block element that contains the > <indexterm/>, such as a <para/> or <line/> (DocBook-Publisher). > > This should make the an <index/> locator link directly to specific place > in the text, that one would presumably be interested in once they click a > link. > > Locators that link to the beginning of a <chapter/> or <section/> that > may contain 500+ words is not very useful. But a locator that links one > directly to the <section>, <para/>, <table/>, or <line/>, would serve its’ > readers well. > > > > What I’m looking for is an index locator that has an “href” attribute > that links directly to an anchored point in an XHTML and E-Pub document. > > Any assistance, and direction, is appreciated. > > > > Paul > > > >
