From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61993 Path: news.gmane.org!not-for-mail From: Tomas Bures Newsgroups: gmane.comp.tex.context Subject: Re: compound titles, lists and headers Date: Sun, 26 Sep 2010 20:39:20 +0200 Message-ID: References: <006c01c2d46f$14bc7a70$0100a8c0@vademecum> <5.1.0.14.1.20030217002901.03716b10@remote-1> <66F44560-E922-4F70-B21B-28B1FEB2C442@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285526398 26488 80.91.229.12 (26 Sep 2010 18:39:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 18:39:58 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 26 20:39:57 2010 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 1Ozw8g-00068y-Ky for gctc-ntg-context-518@m.gmane.org; Sun, 26 Sep 2010 20:39:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F26ECA7DF; Sun, 26 Sep 2010 20:39:53 +0200 (CEST) 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 UvtPGxZAlTKJ; Sun, 26 Sep 2010 20:39:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74DE7CA719; Sun, 26 Sep 2010 20:39:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2960ACA719 for ; Sun, 26 Sep 2010 20:39:49 +0200 (CEST) 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 i0aqiIGHexty for ; Sun, 26 Sep 2010 20:39:37 +0200 (CEST) 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 80163CA6FC for ; Sun, 26 Sep 2010 20:39:37 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8QIdavh027408 for ; Sun, 26 Sep 2010 20:39:36 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ozw8M-00064t-0n for ntg-context@ntg.nl; Sun, 26 Sep 2010 20:39:34 +0200 Original-Received: from 120.64.broadband2.iol.cz ([83.208.64.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 20:39:34 +0200 Original-Received: from bures by 120.64.broadband2.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 20:39:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 120.64.broadband2.iol.cz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.12) Gecko/20100914 Lightning/1.0b1 Thunderbird/3.0.8 In-Reply-To: <66F44560-E922-4F70-B21B-28B1FEB2C442@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03DbuDAIn - 68cb843b6381 - 20100926 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:61993 Archived-At: Thank you Wolfgang and all, this was exactly what I needed. One more thing. I would like to add a = date to every chapter in TOC. I do it this way: \define[1]\ChapterListTextCommand{% #1\hskip 1.5em \hbox{ \doiftextelse{\structurelistuservariable{date}{(\structurelistuservariable{= datum})}{} } } But actually I would like to align the date to some fixed horizontal = position. Something like this: 1. Title of chapter 1 (9.2.2010) .... 5 2. Title of another chapter (10.3.2010) .. 10 3. A very long title of a chapter (10.5.2010) .. 34 4. Title of fourth chap. (8.4.2010) ... 25 Another complication is that I would like the line to snap to a grid. I tried it with framed, but I'm not good enough in ConTeXt. Please, any idea? Thank you, best regards, Tomas On 26.9.2010 18:06, Wolfgang Schuster wrote: > > Am 26.09.2010 um 17:54 schrieb Tomas Bures: > >> Dear all, >> >> I found this useful, but still I'm wondering, how shall I extend the >> \KomplexTitel to put current chapter number to the \writetolist command? > > I wouldn=92t use this method anymore because with \startchapter etc. you > have a even more powerful mechanism without such tricks, see also > http://www.ntg.nl/pipermail/ntg-context/2010/052429.html > > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________