2012-11-08 Wolfgang Schuster: Hi Wolfgang!
> \startsetups [headlist] > \framed[align=normal, frame=off] > {\placelist [chapter] [alternative=highlight, criterium=all]} > \stopsetups > > \definelistalternative > [highlight] > [renderingsetup=list:highlight] I like the flexibility of renderingsetups for \defineheadalternative, but frankly, I didn't know they can be used for lists as well and I was clueless about the best place to hook into. > \startsetups [list:highlight] > \par > \startlinealignment[middle] > \doifelse{\fetchmark[chapter][first]}{\currentlistentrytitle} > > %\doifelse{\fetchmark[chapter][first]}{\ctxcommand{listtitle("\currentlist",\currentlistindex)}} > {\color[red] {\currentlistentrytitle}} > {\color[blue]{\currentlistentrytitle}} > \stoplinealignment > \par > \stopsetups That's a neat and clean solution. Thanks Wolfgang. Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________