Changes

Jump to navigation Jump to search
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>defineregister</syntax>
== [[Help:Reference|Syntax]] ==
</table>
== Description ==
 
The {{cmd|defineregister}} command creates a new index (register) definition. It also allows the index to be configured.
 
== Examples ==
 
The following section provides example usages.
== Description = Hyphenated Sequences ===
Often indexes will have consecutive page numbers hyphenated, such as: 1, 4-7, 10. The following code produces a hyphenated index:
<context source="yes">
\defineregister
[photographer]
[compress=yes]
== Example ==\starttext \dorecurse{4}{%% Foo \photographer{Yousuf Karsh} \page}  \completephotographer\stoptext<!-- Please fill in an example if you can --/context>
== See also ==
<!-- something like See {{cmd|gotosetupregister}} -->for details.
== Help from ConTeXt-Mailinglist/Forum ==

Navigation menu