From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71812 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: A special case: hiding section head information in the text but still keeping the TOC entry Date: Tue, 18 Oct 2011 06:21:14 +0200 Message-ID: <2B7F7549-EB62-4367-AC5D-6170FD65BF15@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1318911693 24315 80.91.229.12 (18 Oct 2011 04:21:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2011 04:21:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 18 06:21:29 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 1RG1BA-0003SX-RQ for gctc-ntg-context-518@m.gmane.org; Tue, 18 Oct 2011 06:21:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6079CB066; Tue, 18 Oct 2011 06:21:27 +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 IvhScqk9HfYt; Tue, 18 Oct 2011 06:21:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3F50CB063; Tue, 18 Oct 2011 06:21:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22E73CB063 for ; Tue, 18 Oct 2011 06:21:23 +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 y9O8aomRSvui for ; Tue, 18 Oct 2011 06:21:21 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id E52C9CB05F for ; Tue, 18 Oct 2011 06:21:20 +0200 (CEST) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9I4LHDs020507 for ; Tue, 18 Oct 2011 06:21:20 +0200 Original-Received: by eye4 with SMTP id 4so202404eye.14 for ; Mon, 17 Oct 2011 21:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=cvTx/AQMv6GdeJFmP9rM/dscOQ8WQ2MBMAVQdXARR7E=; b=PhKAhN5fhXmTSZf7cAFcTYXvZlR+/I6tVeBLJ0BMDVgxWF8xONxYTkqn40YSEHJv5T qBktHnut+ZJnSudrxOPIwS2fZKgZVnQ7HZDLtRI5vXJRvmvHpcm82fSwrWCPyT3kqwmO 4NUuJb4GBlSPMbGbGzBqGxbnUtlmX2/PSHIY8= Original-Received: by 10.223.63.206 with SMTP id c14mr1461304fai.7.1318911677678; Mon, 17 Oct 2011 21:21:17 -0700 (PDT) Original-Received: from [192.168.2.34] (p5482CD68.dip.t-dialin.net. [84.130.205.104]) by mx.google.com with ESMTPS id f23sm1421908faf.0.2011.10.17.21.21.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 21:21:16 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; 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: 0rFK4li9l - 3d2f042b2e85 - 20111018 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:71812 Archived-At: Am 17.10.2011 um 23:39 schrieb Willi Egger: > Hi all, > = > I had to deal with a special case. In my document there are only sections= and subsections. The section titles are placed in a different place than t= hey naturally would occur according to the coding in the text. What I neede= d to do is to > hide the section title, having no placeholder/white space inserted but st= ill keeping the entry in the TOC. > = > \setuphead > [section] > [placehead=3Dhidden] > = > \setuptexttexts[{\placerawheaddata[section]} > = > The first setup hides the title completely and does not insert any whites= pace. It causes on the other hand, that the TOC entry is also hidden/gone. = With the second command the data are flushed and end up in the TOC. Does it work without \placerawheaddata when you use =93placehead=3Dno=94 or= =93placehead=3Dempty=94 for section? 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 ___________________________________________________________________________= ________