Am 17.01.2012 um 12:19 schrieb luigi scarso:
Probably a bug, but this is ok \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1% \hfill\strut\crlf\strut\hfill\hphantom{\tf#3}% \framedtext[frame=off,offset=overlay,align=middle,style=bold]% {#2}% \hfill\tf#3 }
Not really ok. That's a pitfall with minimal examples ... "the devil is in the details" ;o) For getting it minimal I wrote \bf, but in the original file it is used as a bold style with a certain size and a certain interlineskip: \TOCstyleBF And this interlineskip is ignored in your solution, test the following please: \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3} % here the interlinespace is ignored % {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3} % here the interlinespace worked \setuplist[chapter] [alternative=MyListItemIT] \definecombinedlist[TOCtoc] [chapter] \setupcombinedlist[TOCtoc] [aligntitle=yes,criterium=text,interaction=all] \starttext \placeTOCtoc[criterium=text,interaction=all] \startchapter[ title={Das Krankenhaus als Leistungserbringer in der GKV}, marking={Das Krankenhaus als Leistungserbringer in der GKV}, list={Das Krankenhaus\\als Leistungserbringer in der GKV}, bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] \stopchapter \stoptext ------- Steffen