From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68761 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: TOC : Chapter title under its number (separate lines) Date: Thu, 26 May 2011 20:16:21 +0200 Message-ID: <46593206-7C30-4DB8-AD80-FA6BE32CFC7F@googlemail.com> References: <8B201B00-D1EE-45E0-855D-8E76D3F88C50@googlemail.com> <20110526151354.GB68215@iram-hb-003386.extra.cea.fr> <4D960EB6-820F-413E-B2B3-B1CB53CA59EE@googlemail.com> <20110526164846.GC68215@iram-hb-003386.extra.cea.fr> 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="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306433816 14890 80.91.229.12 (26 May 2011 18:16:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 May 2011 18:16:56 +0000 (UTC) Cc: mailing list for ConTeXt users To: Alan Braslau Original-X-From: ntg-context-bounces@ntg.nl Thu May 26 20:16:49 2011 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 1QPf72-0007fW-Bd for gctc-ntg-context-518@m.gmane.org; Thu, 26 May 2011 20:16:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8834ECAD91; Thu, 26 May 2011 20:16:47 +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 1yd3RAhp1jct; Thu, 26 May 2011 20:16:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78BB3CAD88; Thu, 26 May 2011 20:16:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EAF6FCAD88 for ; Thu, 26 May 2011 20:16:41 +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 jsvkcYrhV-eB for ; Thu, 26 May 2011 20:16:27 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id DC372CAD87 for ; Thu, 26 May 2011 20:16:27 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4QIGQI1022726 for ; Thu, 26 May 2011 20:16:27 +0200 Original-Received: by bwz17 with SMTP id 17so964289bwz.14 for ; Thu, 26 May 2011 11:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=Ho1QP1/yySUBddLuPYLticaoQDNGvPBVdSfpNIflxpE=; b=quYFQlAR/84M62w35yfwpjC6qoe9OJGkqQVnp+jJHpO3iZivnqRZ/RiCYYdhhgEyZI Z0vLk+h5UENUYMI0ayagVOZX2fvY2bkyxVil8loMcLjSp16CsS4+tf/Yii7dgRTfggh6 bUMQyj3wjpZ5VyPS1vlj03zLZ3NYQoyj9hvJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=lkq1H/kGFUfDoeFTZeKjWrrKV+w40ANre8UY5jD7dWm5O1kU1E0EvMbljGsHEpLW9M uytHfYU10LcX4Envd10DJ+ZEyhLLp1laKGnI8fbZkd/HswJ3em7hr51m7NFbf8qboDbx pzYaX0y+JZ3KuUHDU2orWgzvZCJLCZSPV+pdU= Original-Received: by 10.205.83.3 with SMTP id ae3mr920706bkc.71.1306433785995; Thu, 26 May 2011 11:16:25 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B294904.dip.t-dialin.net [91.41.73.4]) by mx.google.com with ESMTPS id k10sm667825bkq.22.2011.05.26.11.16.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2011 11:16:24 -0700 (PDT) In-Reply-To: <20110526164846.GC68215@iram-hb-003386.extra.cea.fr> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xEMigqRy - 180cd4da3c49 - 20110526 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:68761 Archived-At: Am 26.05.2011 um 18:48 schrieb Alan Braslau: > \define[3]\ChapterList > {\vbox{\par\noindent\currentlistsymbol#1\crlf#2\enspace\listdots\enspace= #3}} Your \par is useless here because we=92re in a box. > \setuplist[chapter][label=3Dyes,alternative=3Dvertical,command=3D\Chapter= List,interaction=3Dall] > = > Almost works. Almost in that all lines get indented by one level, > and then the page number (and the title if it is long and multi-line) > stick(s) out by this much on the right. > = > The manual is a bit cryptic concerning horizontal and vertical: > "As an alternative for none, we can use horizontal and vertical. > Both commands have their spacing tuned for typesetting lists in > for instance menus." I don=92t read the manual very often, so i missed this. There are two ways to have a interactive list: 1. Patch the command alternative 2. Introduce a new alternative which has interactive support plus a few more missing features (e.g. label support) Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________