Go to the first, previous, next, last section, table of contents.

Indexing

You can insert index entries in a Para mode file and use these to create indices similar to those in Info. You can use the regular Para mode menu command to go to nodes listed in the index.

The indexing commands use `C-c C-x' as the prefix key.

Para mode has six index entries commands, one for each of the predefined index types:

C-c C-x c para-index-concept C-c C-x f para-index-function C-c C-x k para-index-keystroke C-c C-x p para-index-program C-c C-x t para-index-datatype C-c C-x v para-index-variable

The `para-insert-index' command causes @printindex to insert the appropriate index menu in the Para mode file just after each @printindex command. (The index menu is inserted between @ignore and @end ignore so you can safely format the file for TeX or Info if you wish.

C-c C-x x para-insert-index

To insert an index entry at the end of the paragraph type `C-c C-x' and then a key corrsponding to the type of index entry you wish to make, `f' for function index, `c' for concept index, etc. For example, you would type the following to make an entry in the index of variables:

C-c C-x v

An indexing commands attempts to offer you a default entry, based on the characteristics of the text following point.

A `C-c C-x f' (para-index-function) command offers the first symbol following point within paragraph that is enclosed by the braces of @code command. With a prefix arg, the command does not offer a default, but inserts the entry at point instead of at the end of the paragraph.

A `C-c C-x v' (para-index-variable), `C-c C-x p' (para-index-program), or `C-c C-x t' (para-index-datatype) command works similarly to `para-index-function'.

A `C-c C-x c' (para-index-concept) command offers you the word following point as the default; with numeric prefix arg, the command offers you that many words following point as default. But with a prefix arg that is not a numeric prefix arg, the command does not offer a default, but inserts the entry at point instead of at the end of the paragraph.

A `C-c C-x k' (para-index-keystroke) command offers a default that depends on where point is located:

1. If point is at beginning of an @item or @itemx line, `para-index-keystroke' offers rest of that line as default.

2. Else, `para-index-keystroke' offers the first symbol following point within the paragraph that is enclosed by the braces of a @kbd command.

But with a pr prefix arg, the command does not offer a default, but insert the entry at point instead of at the end of the paragraph.

The indexing functions insert index entries after moving point forward one paragraph. Usually, this is just what you want. But if not, you can type `C-u' first and then the command will insert the entry at point, but in this case it will not offer you a default.


Go to the first, previous, next, last section, table of contents.