I would like to vary the typesetting of chapter titles by formatting the
elements chapternumber, title and the word 'chapter' myself.
However, the style values of the parameter setup from \setuphead[chapter][]
should be used.
Needed for this is access to and/or the naming scheme of the paramters: style,
textstyle, numberstyle, color, textcolor, numbercolor.
To clarify further, in
\def\mychaptercode#1#2{...}
\setuphead[chapter][command=mychaptercode]
the #1 parameter gives the chapternumber typeset in a form that is just not how
I want it. Thus instead of using #1 in the code for \mychaptercode I am using
\headnumber[chapter]. But then cannot imagine how to set the right style and
color.
Finally, how is the macro containing the expansion for the
chapter,sectiion-designation recalled? It is the macro defined by for example
\setuplabeltext[chapter=Hoofdstuk ]. The reference manual does not reveal this
as far as I can see.
Yhanks in advance for either an answer or a pointer where to find the info.
Hans van der Meer
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________