Command/startregister

From Wiki
< Command
Revision as of 10:26, 4 September 2020 by Hraban (talk | contribs) (add description and example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\startregister

Syntax (autogenerated)

\startregister[...][...][...][...]{...+...+...,...} ... \stopregister[...][...]
[...]name
[...]name
[...]text
[...]text processor->text
{...+...+...,...}index
... content
\stopregisterdelimiter
[...]name
[...]name



Description

Set an index (or other register) entry for a page span, e.g. a whole chapter, without the need to repeat \index.

  1. registername (e.g. "index")
  2. reference code, in case several register spans overlap
  3. sort by
  4. own number?
  5. index entry

It’s always \startregister[registername], the short form \startindex (or \startmyownregister) doesn’t exist!

Example

\startregister[index][knuth]{Knuth, Donald}

... a long section about Donald Knuth ...

\stopregister[index][knuth]

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: