From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73930 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: another surprising change (line break in TOC) Date: Tue, 17 Jan 2012 13:14:14 +0100 Message-ID: References: <5B970A6D-978E-4343-81E5-302237FF639A@googlemail.com> <4F144DEF.7040108@wxs.nl> <6C1E0926-9262-4899-9F33-7D354C13B4E5@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326802484 3650 80.91.229.12 (17 Jan 2012 12:14:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2012 12:14:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 17 13:14:39 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rn7vy-00023s-S1 for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jan 2012 13:14:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D915CCB1FA; Tue, 17 Jan 2012 13:14:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0Sh7jie5nszO; Tue, 17 Jan 2012 13:14:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7C47BCB1F4; Tue, 17 Jan 2012 13:14:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8E1CCB1F4 for ; Tue, 17 Jan 2012 13:14:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C2qUPRy03FEC for ; Tue, 17 Jan 2012 13:14:17 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 05038CB1F3 for ; Tue, 17 Jan 2012 13:14:16 +0100 (CET) Original-Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.99]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0HCEF19025098 for ; Tue, 17 Jan 2012 13:14:16 +0100 Original-Received: from [89.247.68.82] (helo=[192.168.1.4]) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Rn7vb-0001JJ-38; Tue, 17 Jan 2012 13:14:15 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Df-Sender: Njk4NTgw X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.31.99; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03GmAefrb - 013c3946eade - 20120117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:73930 Archived-At: 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________