Changes

Jump to navigation Jump to search
conflict with setupinteraction
== Description ==
The options are as follows(beware, some options can be in conflict with {{cmd|setupinteraction}} and changing parameters has no impact, e.g. <tt>pagestyle</tt>):
<table cellspacing="4" cellpadding="2">
<tr>
<td>expansion</td>
<td>When the entry is a commandor XML element, it is expanded expansion=yes forces the expansion before writing to the TUC file (register). Otherwise non-expanded form will be written (command or refference to the XML element).</td>
</tr>
<tr>
I found it safer to put \register command after punctuation e.g.: Mamut.\nickname{Mamut} [P.K.]
For the MkIV version of setting the pagestyle, and more, see the material on {{cmd|defineprocessor}} that is on [[Registers#PrcoessorsProcessors|this page]]. == pagecommand == A pagecommand can be used to move page numbers to the right in the index listing. It works for me even for entries where the text is long and has wrapped, unlike the pageleft/pageright example below. <pre>\setupregister[index][pagecommand=\wordright]</pre>
== pageleft and pageright ==
See [http://www.mail-archive.com/ntg-context@ntg.nl/msg87812.html this thread]
on the mailing list.
 
In MkXL (lmtx) one would rather use:
 
<pre>
\setupregister[index]
[pageleft=\hfilll,
pageright=\frozen\parfillleftskip 0pt plus 1fill\frozen\parfillrightskip 0pt\par]
</pre>
 
== See also ==
<!-- something like * {{cmd|gotoindex}}* {{gen|register}} -->
== Help from ConTeXt-Mailinglist/Forum ==
138

edits

Navigation menu