Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.

Next: , Previous: , Up: Texinfo Processing   [Contents][Index]


7.23.4 (texinfo indexing)

7.23.4.1 Overview

Given a piece of stexi, return an index of a specified variety.

Note that currently, stexi-extract-index doesn’t differentiate between different kinds of index entries. That’s a bug ;)

7.23.4.2 Usage

Function: stexi-extract-index tree manual-name kind

Given an stexi tree tree, index all of the entries of type kind. kind can be one of the predefined texinfo indices (concept, variable, function, key, program, type) or one of the special symbols auto or all. auto will scan the stext for a (printindex) statement, and all will generate an index from all entries, regardless of type.

The returned index is a list of pairs, the CAR of which is the entry (a string) and the CDR of which is a node name (a string).