Am 25.10.2011 um 08:55 schrieb Peter Münster:

> On Tue, Oct 25 2011, Alasdair McAndrew wrote:
> 
>> \def\chap#1#2{Chapter #1\crlf #2}
> 
> \def\chap#1#2{\vbox{Chapter #1\crlf #2}}

Use uppercase or camelcase for self defined command and the chapter string can 
be set with label texts.

\define[2]\ChapterCommand
  {\vbox{#1\crlf#2}}

\setuplabeltext[chapter=Chapter ]

\setuphead[chapter][command=\ChapterCommand]

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to