Changes

Jump to navigation Jump to search
m
no edit summary
|attributes=
}}
 
== Description ==
 
The {{cmd|defineregister}} command configures how indexes are presented.
 
== Examples ==
 
The following section provides example usages.
 
=== 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]
 
\starttext
\dorecurse{4}{%%
Foo
\photographer{Yousuf Karsh} \page}
 
\completephotographer
\stoptext
</context>
 
=== ===
== [[Help:Reference|Syntax]] ==
419

edits

Navigation menu