Changes

Jump to navigation Jump to search
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>defineregister</syntax>
== [[Help:Reference|Syntax]] ==
<td class="cmd">[...]</td>
<td>plural </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[...]</td>
<td>compress </td>
</tr>
</table>
== Description ==
== 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.
== Example =Hyphenated Sequences === Often indexes will have consecutive page numbers hyphenated, such as: 1, 4-7, 10. The following code produces a hyphenated index: <!-- Please fill in an example if you can --context source="yes">\defineregister [photographer] [compress=yes] \starttext \dorecurse{4}{%% Foo \photographer{Yousuf Karsh} \page}  \completephotographer\stoptext</context>
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
See {{cmd|setupregister}} for details. == Help from ConTeXt-Mailinglist/Forum ==All issues with:
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Registers|defineregister]]

Navigation menu