From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47462 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: TOC question Date: Tue, 17 Feb 2009 10:29:02 +0100 Message-ID: References: <326847810902161022l635ee3fja3b535dbdc163c86@mail.gmail.com> <9761F817-5E76-4039-A5E5-7A4395F05BB7@gmail.com> <326847810902170044l31b052dm2b9279074a5f83e6@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234872948 27093 80.91.229.12 (17 Feb 2009 12:15:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2009 12:15:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 17 13:17:04 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LZOsc-00071R-4W for gctc-ntg-context-518@m.gmane.org; Tue, 17 Feb 2009 13:16:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22D4D1FB14; Tue, 17 Feb 2009 13:15:28 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04208-03-3; Tue, 17 Feb 2009 13:14:33 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 914521FADB; Tue, 17 Feb 2009 10:41:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50FA91FBAC for ; Tue, 17 Feb 2009 10:39:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24305-10 for ; Tue, 17 Feb 2009 10:36:02 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 5BE2A1FB5A for ; Tue, 17 Feb 2009 10:36:02 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1H9ZilD014282 for ; Tue, 17 Feb 2009 10:36:01 +0100 Original-Received: by fg-out-1718.google.com with SMTP id e21so379453fga.8 for ; Tue, 17 Feb 2009 01:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=prJH8x7VrFDfAnv8IAFD1ZlqxzqA7XZoFF/Jalpo3KI=; b=IEVrNhDEBFu3wc97fCO0tq+vvltDJvpcMO2cz1Tf9m56y7dIBdV+aj09HIDcn3iABA QJsGzDd2TJd3eS+ZPbrLQrMqID10wB/rzL7dr6m8F2ATfAhHxUWJUh390baU6QJT3Ljl LmsnJSCnURRtCrzE4nofVWtUzIeACwlpbVgfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=dWoxDohrge7HT2MXXNy2Xj7vjfS88GUF2QzeJD6gKt5g8YsxuK9Y2pEGVMPbzsEuq7 MD2WnSW8SsbedP+LNRKgC+H/oUhfeoH37xfJPYfJkMBpOYttbpaAV68VLJcuDROUUUmU 40QLtvWXfj1Wvor6bSVbTZ7OfR8xmUDKKn8LQ= Original-Received: by 10.86.51.10 with SMTP id y10mr1920714fgy.9.1234862983722; Tue, 17 Feb 2009 01:29:43 -0800 (PST) Original-Received: from ?10.70.78.220? (8.106.113.82.net.de.o2.com [82.113.106.8]) by mx.google.com with ESMTPS id d4sm9179414fga.58.2009.02.17.01.29.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Feb 2009 01:29:43 -0800 (PST) In-Reply-To: <326847810902170044l31b052dm2b9279074a5f83e6@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.152; 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: 181020959 - 8284aabee9fb X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47462 Archived-At: Am 17.02.2009 um 09:44 schrieb Alan Stone: >> With "number=no" the current section is no longer written to the >> utility >> file and there is no way to get it in the toc. What you can do is >> to enable section numbering but remove it from the output. >> >> \setuphead >> [chapter] >> [numbercommand=\gobbleoneargument, >> distance=0pt] > > Great ! With \setuphead[alternative=middle] there's still an empty/ > blank > space above the chapter head though (where the chapter number is > located > when leaving out the numbercommand)... > > \setuphead[chapter][% > alternative=middle, > number=yes, > numbercommand=\gobbleoneargument, > distance=0pt] Then don't use it, 'align=middle' should work. \setuphead [chapter] [numbercommand=\gobbleoneargument, distance=0pt, align=middle] 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-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________