From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83702 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Hiding \part completely except for in the ToC Date: Tue, 6 Aug 2013 11:54:25 +0200 Message-ID: <20130806095425.GK2084@homerow> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1249800815==" X-Trace: ger.gmane.org 1375782916 4973 80.91.229.3 (6 Aug 2013 09:55:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2013 09:55:16 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 06 11:55:19 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6dz3-00035k-Es for gctc-ntg-context-518@m.gmane.org; Tue, 06 Aug 2013 11:55:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5FA4F101EA; Tue, 6 Aug 2013 11:54:36 +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 boBKuOreHOJo; Tue, 6 Aug 2013 11:54:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4E014101E4; Tue, 6 Aug 2013 11:54:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A38B0101E4 for ; Tue, 6 Aug 2013 11:54: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 K6YLd8ltxDNE for ; Tue, 6 Aug 2013 11:53:50 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id BD8D6101E3 for ; Tue, 6 Aug 2013 11:53:50 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r769sTC6031505 for ; Tue, 6 Aug 2013 11:54:30 +0200 Original-Received: from g.earth.lavabit.com (g.earth.lavabit.com [192.168.111.16]) by karen.lavabit.com (Postfix) with ESMTP id 59C3D11BD5C for ; Tue, 6 Aug 2013 04:54:28 -0500 (CDT) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id W15Z1O3FGG25 for ; Tue, 06 Aug 2013 04:54:28 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=jWEs5IE93Xq/+46UdKY6FM/6P/Bavs4nmDdtMAivgLlsy/HimX/0JOjhRX36YNuZKHkbnOyRrR+nzUum8YwZyZ8Hm4a0NLWB67g0UwfSQlECYn2EhPua76ZLdPZ4eZB3Uab6ZSPFLocvT/qlpa27lZYaEq6qBZKplaSQ9txb0+Q=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:X-PGP-Key:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=MO; city=Saint Louis; postalcode=63131; latitude=38.6143; longitude=-90.4444; metrocode=609; areacode=314; http://maps.google.com/maps?q=38.6143,-90.4444&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08K9lStQ8 - b2178ac765b9 - 20130806 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83702 Archived-At: --===============1249800815== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+WOirvrtTKur1pg" Content-Disposition: inline --x+WOirvrtTKur1pg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9308=E2=80=9306 Alexander van Ratingen wrote: > I'm having a little problem and I'm hoping you can help. For my table of > contents, I need to group my sections, but I don't want any heads for this > in the text. Now, I've been using \part for this but unfortunately I cann= ot > get rid of the empty space it leaves. Please provide an example next time. It's hard to tell what space you're talking about. > The only way I've been able to get rid of the empty space is by setting: > \setuphead[part][placehead=3Dempty] > But then it's not in the ToC either. >=20 > Alternatively, when setting placehead to any other value, it still leaves > an empty line in the text. Example please. > Is it possible to have both, ie \part's in the ToC without any space taken > by it in the text? \definehead [sectiongroup] [part] [placehead=3Dempty, page=3Dno, number=3Dno] \setuphead [chapter] [sectionresetset=3Dnone, sectionsegments=3Dchapter] \setuplist [sectiongroup] [pagenumber=3Dno] \defineresetset [none] [] [0] \setupcombinedlist [content] [list=3D{sectiongroup, chapter}] \starttext \completecontent \startsectiongroup [title=3DFirst] \startchapter [title=3DFoo] \stopchapter \startchapter [title=3DBar] \stopchapter \stopsectiongroup \startsectiongroup [title=3DSecond] \startchapter [title=3DAlpha] \stopchapter \startchapter [title=3DBeta] \stopchapter \stopsectiongroup \stoptext Marco --x+WOirvrtTKur1pg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJSAMfRAAoJEPGqVaNSn0iKOPQIAJNVtBqOwYVEtYsMJxULmVO/ IXNQwYQe4mFep9kCgcW8ZttkjxW9MNT3CDcBKrIwMSU5FoHsVBiaGImEvl4+R1Zx 1hP+vZEz+yTLGmFw/yBMTPIekXKB/YZYgEvbKvu7EllNMEZoYB+5/HW/7g6JfPKN 5d5g9Ff3IpCUA4p0O688snV704PMhFzxuGqMDskXgFLgosTYRz/LLJWUHXc0Gw64 NJAfud/1Jjg/tQ/9xlW0fJ8SmUjLo3xYRYycB3hQlWpOyOKlPXO/Yw1p0kwUCnnH Aoy8fKT5Mf1pKn/T5MjLuXriv5WxN7QOUFh0PqsQLCVmjmJHU6uUmaijllvWOt8= =s4U/ -----END PGP SIGNATURE----- --x+WOirvrtTKur1pg-- --===============1249800815== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1249800815==--