From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42742 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: \blank[inhibit] broken ??? Date: Fri, 25 Jul 2008 10:39:27 +0200 Message-ID: <115224fb0807250139m108e16c4tcaa1660afd106070@mail.gmail.com> References: <13441C94-60AB-4A44-849F-E2448CE7CC91@st.estfiles.de> <115224fb0807250108g2b3eb922t160d623211bf1c5@mail.gmail.com> <115224fb0807250125y3ae210c9y613b5d1865d4266c@mail.gmail.com> <258990F4-1750-4036-8C21-B7D95376D0CC@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216975276 21189 80.91.229.12 (25 Jul 2008 08:41:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 08:41:16 +0000 (UTC) Cc: mailing list for ConTeXt users To: "Steffen Wolfrum" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 25 10:42:04 2008 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 1KMIsF-00088S-Mk for gctc-ntg-context-518@m.gmane.org; Fri, 25 Jul 2008 10:42:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E5F271FE1D; Fri, 25 Jul 2008 10:41:06 +0200 (CEST) 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 32464-01-14; Fri, 25 Jul 2008 10:40:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2CAEF1FDE0; Fri, 25 Jul 2008 10:40:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5254F1FD59 for ; Fri, 25 Jul 2008 10:40:06 +0200 (CEST) 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 01110-02-2 for ; Fri, 25 Jul 2008 10:39:32 +0200 (CEST) Original-Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.240]) by ronja.ntg.nl (Postfix) with ESMTP id 823E41FDFE for ; Fri, 25 Jul 2008 10:39:31 +0200 (CEST) Original-Received: by ag-out-0708.google.com with SMTP id 35so16465211aga.1 for ; Fri, 25 Jul 2008 01:39:30 -0700 (PDT) Original-Received: by 10.100.172.17 with SMTP id u17mr2441422ane.28.1216975167645; Fri, 25 Jul 2008 01:39:27 -0700 (PDT) Original-Received: by 10.100.109.20 with HTTP; Fri, 25 Jul 2008 01:39:27 -0700 (PDT) In-Reply-To: <258990F4-1750-4036-8C21-B7D95376D0CC@st.estfiles.de> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:42742 Archived-At: On Fri, Jul 25, 2008 at 10:33 AM, Steffen Wolfrum wrote: > > Am 25.07.2008 um 10:25 schrieb Wolfgang Schuster: > >> On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum >> wrote: >>> >>> ... yes, but Hans said so (see my email quoting him)!!! >>> >>> What did he mean? >>> Do you know an other solution? >> >> \defineblankmethod [nobreak] {\penalty\plustenthousand} >> \defineblankmethod [endgraf] {\endgraf} >> >> \definehead[myhead][section] >> \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] >> >> Not sure about the order in the blank command but this should work. > > Hmm, I think I have tried all possible combination now but it does not work. > Did you try? > > \starttext > > \defineblankmethod [nobreak] {\penalty\plustenthousand} > \defineblankmethod [endgraf] {\endgraf} > > \definehead[myhead][section] > \setuphead[myhead][after={\blank[nobreak,endgraf,big]}] > > \input tufte \par > \input knuth \par > \input tufte \par > \input knuth \par > > \myhead{Sektion} > > \index{Index} > > test > > \stoptext > > Steffen You're looking for http://wiki.contextgarden.net/Registers#Technical_note 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 ___________________________________________________________________________________