[UPDATED] Re: [FDP] Generating an Index for PDF Documents

From: jpb <jpb_at_jimby.name>
Date: Sun, 12 Jan 2025 19:23:41 UTC
[snip]
> 
> NOTES:
> You can tag any kind of text - regular text, text inside [NOTEs],
> [TIPs], etc. or text inside listings such as [.programlisting],
> [.source], [subs=+quotes] etc.
> 

Nope.

It turns out that tagging terms inside listing, messes with the HTML
output.  See attached example.

Looks like the best option for listings is to put all the indexterm
statements on a line before the listing header.  For example:

indexterm:[module, ipfw] indexterm:[NAT64] indexterm:[module, ipfw_nat64]
[subs=+quotes] 
----
# *kldload ipfw*

The next line loads the NAT64 module. 

# *kldload ipfw_nat64* 
----

There are a couple of other considerations.  I will do more testing and 
update the links below with better guidance.

https://www.jimby.name/fbsd/_index.adoc.txt 
https://www.jimby.name/fbsd/fdp_index_example.png 

Jim B.