Changes

Jump to navigation Jump to search
1,802 bytes added ,  19:02, 24 July 2019
m
→‎Description: emphasize double meaning of "distance"
</tr>
<tr valign="top" class="third">
<td class="cmd">[[Command/keyword:check|check]]</td>
<td>[[Command/value:yes|yes]] [[Command/value:no|no]] </td>
</tr> <tr valign="top" class="third">
<td class="cmd">[[Command/keyword:sectionnumber|sectionnumber]]</td>
<td>[[Command/value:yes|yes]] [[Command/value:no|no]] </td>
<tr valign="top" class="third">
<td class="cmd">[[Command/keyword:compress|compress]]</td>
<td>[[Command/value:yes|yes]] [[Command/value:no|no]] [[Command/value:text|text]]</td> </tr> <tr valign="top" class="third"> <td class="cmd">[[Command/keyword:language|language]]</td> <td>[[Command/value:language|language code]]</td>
</tr>
<tr valign="top" class="third">
<td class="cmd">[[Command/keyword:method|method]]</td>
<td>[[Command/value:default|default]] [[Command/value:before|before]] [[Command/value:after|after]] [[Command/value:first|first]] [[Command/value:last|last]]</td>
</tr>
<tr valign="top" class="third">
<td class="cmd">[[Command/keyword:pageleft|pageleft]]</td>
<td>[[Command/value:command|command]]</td>
</tr>
<tr valign="top" class="third">
<td class="cmd">[[Command/keyword:pageright|pageright]]</td>
<td>[[Command/value:command|command]]</td>
</tr>
</table>
<tr>
<td>style</td>
<td>overall style (no effect, at least in MkIV)of the indicator letters</td>
</tr>
<tr>
<td>coupling</td>
<td>special feature for screen documents (no effect in MkIV?)</td>
</tr>
<tr>
<td>check</td>
<td>set {{cmd|seeindex}} entry as entered without verifying. Default no.</td>
</tr>
<tr>
<tr>
<td>distance</td>
<td>between text and pagenumberas well as indentation of nested entries</td>
</tr>
<tr>
<tr>
<td>expansion</td>
<td>?When the entry is a command, it is expanded before writing to the register</td>
</tr>
<tr>
<tr>
<td>compress</td>
<td>collapse page numbers(i.e. make “10–13” from “10,11,12,13”); “<tt>text</tt>” (new in April 2019) makes “10ff.”. You can configure the latter via {{cmd|setuplabeltext}}<tt>[en][following:singular=f.,following:plural=ff.]</tt></td>
</tr>
<tr>
<td>alternative</td>
<td>?</td>
</tr>
<tr>
<td>language</td>
<td>language code like in {{cmd|language}}, influences sorting; see definitions in {{src|sort-lan.mkiv}}</td>
</tr>
<tr>
<td>method</td>
<td>sets up the sorter used for {{cmd|placeregister}}, explained at [[Command/keyword:method]]</td></tr><tr> <td>pageleft</td> <td>custom command before the first page number</td></tr><tr> <td>pageright</td> <td>custom command after the last page number</td>
</tr>
</table>
For the MkIV version of setting the pagestyle, and more, see the material on {{cmd|defineprocessor}} that is on [[Registers#Prcoessors|this page]].
 
== pageleft and pageright ==
 
They were introduced in ConTeXt MkIV version 1.02 (2018.05.12 00:07).
 
You can use them, for example, to move the page numbers to the right, with:
 
<pre>
\setupregister[index][pageleft=\wordright\bgroup,pageright=\egroup]
</pre>
 
See [http://www.mail-archive.com/ntg-context@ntg.nl/msg87812.html this thread]
on the mailing list.
== See also ==

Navigation menu