ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typeset chapter elements
@ 2014-11-11 20:49 Meer, H. van der
  0 siblings, 0 replies; only message in thread
From: Meer, H. van der @ 2014-11-11 20:49 UTC (permalink / raw)
  To: NTG ConTeXt

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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-11 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11 20:49 typeset chapter elements Meer, H. van der

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).