% Context file
% Filename: test-placelist.tex
% 
% 14-03-2012
% Copyright (c) 2012 BOEDE. All rights reserved.
%
% \nopdfcompression
% \enabletrackers[context.trace]
% \enabletrackers[system.jobfiles]


%\showframe
\define[3]\MycommandA{\blank CHAPTER~#1.\blank\WORD{#2}.\hskip0.25\bodyfontsize} % for chapters	
\define[3]\MycommandB{#2,\hskip0.5\bodyfontsize #3.\hskip0.25\bodyfontsize} % for (sub)section

\setuplist
	[chapter]
	[before=\blank,
	style=\WORD,
	prefix=no,
	sectionnumber=no,
	headnumber=no,
   alternative=command,
   command=\MycommandA]
\setuplist
	[section]
	[prefix=no,
	sectionnumber=no,
	headnumber=no,
	alternative=command,
	command=\MycommandB]
	
\starttext

\starttitle[title=Contents,list=Contents]
   \placelist[chapter,section][criterium=all]
\stoptitle


\startchapter[title=Introduction,list=Introduction]
   \startsection[title=Section A,list=Section A]
      sdasdad'klgag
   \stopsection
\stopchapter

\startchapter[title=Preface,list=Preface]
   \startsection[title=Section B,list=Section B]
      asfdsgbadfg
   \stopsection
\stopchapter

\stoptext