From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61986 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 17:54:21 +0200 Message-ID: References: <006c01c2d46f$14bc7a70$0100a8c0@vademecum> <5.1.0.14.1.20030217002901.03716b10@remote-1> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285516518 19776 80.91.229.12 (26 Sep 2010 15:55:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 15:55:18 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 26 17:55:17 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 1OztZL-00016F-IL for gctc-ntg-context-518@m.gmane.org; Sun, 26 Sep 2010 17:55:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CAF6CA7D7; Sun, 26 Sep 2010 17:55:14 +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 itEs-zSW-KYv; Sun, 26 Sep 2010 17:55:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 622EECA7CE; Sun, 26 Sep 2010 17:55:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16950CA7CE for ; Sun, 26 Sep 2010 17:55:10 +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 WXMKzEaMr6pz for ; Sun, 26 Sep 2010 17:55:07 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id DB620CA61D for ; Sun, 26 Sep 2010 17:55:07 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8QFt6FD028681 for ; Sun, 26 Sep 2010 17:55:07 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OztZA-00013P-HU for ntg-context@ntg.nl; Sun, 26 Sep 2010 17:55:04 +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 17:55:04 +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 17:55:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 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: <5.1.0.14.1.20030217002901.03716b10@remote-1> 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: 0BDbrT6k3 - 3eabc6c8693d - 20100926 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:61986 Archived-At: 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? Thank you. Best regards, Tomas On 17.2.2003 0:31, Hans Hagen wrote: > > better make a dedicated list: > > \definelist > [mylist] > > and configure that one (so no \framed in write) > > \setuplist > [mychapter] > [alternative=command, > command=\MyChapterList] > > with something > > \def\ChapterList#1#2#3% > {\framed > [frame=off, > align={right,broad,nothyphenated}, > width=0.8\textwidth, > height=2\baselineskip, > offset=none] > {#2}} > > your title command > > \def\KomplexTitel#1#2#3% > {\title{#1}\subject{#2}\writetolist[mychapter]{}{#3}} > > (next version will contain a direct write command, which avoids an > interfering node) > > call lists like: > > \placelist[chapter,mychapter] > > etc > ------------------------------------------------------------------------- > Hans Hagen | PRAGMA ADE | pragma@wxs.nl > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com > ------------------------------------------------------------------------- > information: http://www.pragma-ade.com/roadmap.pdf > documentation: http://www.pragma-ade.com/showcase.pdf > ------------------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________