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] xsl/xhtml: IDs into the generated index

On Wed, May 28, 2003 at 01:35:57PM -0400, Sam Steingold wrote:
> consider this mouthful:
> <firstterm><emphasis role="first"><function>CLOS:NO-PRIMARY-METHOD</function></emphasis>
>  <indexterm id="no-prim-meth" significance="preferred"><primary id="no-prim-meth-i"><function>NO-PRIMARY-METHOD</function></primary></indexterm></firstterm>
> and
> <index id="idx"></index>
> I want to be able to write (elsewhere)
>         idx.html#no-prim-meth-i
> to refer the users to the location of NO-PRIMARY-METHOD in the index.
> Unfortunately, the ID of the element `primary' is not passed into the
> file idx.html.
> Is this a known bug?
> What can I do?

Probably not a bug, probably no one thought to try
it before.  You could file a feature request.

But since some index entries are merged, it isn't clear
to me where to put primary ids.  For example, given
these two indexterms:

  <primary id="foo">important methods</primary>
  <secondary>this method</secondary>

  <primary id="bar">important methods</primary>
  <secondary>that other method</secondary>

Since the primary terms match, these two entries are merged
into one primary and two secondary listings. But you
can't put two ids on one primary.  Perhaps you meant
there should be two <a name="..."> anchors preceding
the primary term?

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

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