Am 27.05.2011 um 20:32 schrieb Mathieu DUPONT:


Hi,

How can one modify the header of a Register, after it apparently inherited from Chapter ?
In the following example, I try to have the title "INDEX" at the same height as the title "CHAPTER",
but neither the \setuphead nor \setupregister commands seem to do anything.
Is there another command for that ?
I couldn't find it.

Thanks for help !


\setupinteraction[state=start]

\setuplabeltext[chapter=CHAPITRE~]
\setuphead[chapter][
align=middle,
before={\crlf\blank[1cm-4.2ex]},
style={\blank[2cm]},
after={\blank[3cm]},
header=empty,
]

\setuphead
  [chapter]
  [alternative=middle,
   before={\blank[force,1cm]},
   numbercommand=\groupedcommand{}{\blank[2cm]},
   after={\blank[3cm]},
   header=empty]

\defineregister[MyIndex][MyIndexs]
\setupheadtext[MyIndex=INDEX]

\setupregister[MyIndex][{\blank[0cm]}]  %% not working
\setuphead[register][{\blank[0cm]}]  %% not working

Invalid setup, the second argument expects assignments.

Wolfgang