Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 10:29:18 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        "Forsyth, Emily B." <emily.forsyth@swri.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Index
Message-ID:  <alpine.BSF.2.20.1602041025060.8045@wonkity.com>
In-Reply-To: <alpine.BSF.2.20.1602041021390.8045@wonkity.com>
References:  <fa00ce8f594c487185f0232b56d21473@MBX256.adm.swri.edu> <alpine.BSF.2.20.1602041021390.8045@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Feb 2016, Warren Block wrote:

> On Tue, 2 Feb 2016, Forsyth, Emily B. wrote:
>
>> Very new to DocBook5 and the language used.  I'm creating a set of 
>> documents and want to include an Index, but trying to figure out the 
>> indexing method, I'm not having very much luck.  Can someone please guide 
>> me?
>
> Are you using the FreeBSD document toolchain?  If so, see
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/
>
> Otherwise, there are DocBook mailing lists and possibly something more 
> specific for the exact toolchain in use.

Which, now that I think about it, does not really answer the question.

We use <indexterm> to mark out terms.  For example:

       <indexterm>
         <primary>TrueType Fonts</primary>
       </indexterm>
       <indexterm>
         <primary>fonts</primary>
         <secondary>TrueType</secondary>
       </indexterm>

This creates two entries in the index:

   fonts
     TrueType fonts, (link)

   ...

   TrueType fonts, (link)

The index is built by the toolchain, so that procedure depends on the 
platform and toolchain being used.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1602041025060.8045>