From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77330 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setuphead and testpage Date: Sat, 14 Jul 2012 09:44:48 +0200 Message-ID: References: <9A3DCAFC-6D09-4D60-9CFA-CEDCA3DCA003@gmail.com> <5000A1E4.7090901@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342251900 15249 80.91.229.3 (14 Jul 2012 07:45:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Jul 2012 07:45:00 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 14 09:45:00 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Spx2A-0007Xg-CN for gctc-ntg-context-518@m.gmane.org; Sat, 14 Jul 2012 09:44:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 27DA8101DD; Sat, 14 Jul 2012 09:44:57 +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 AcEOmWLlhPMX; Sat, 14 Jul 2012 09:44:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B798101E3; Sat, 14 Jul 2012 09:44:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F39AD101E3 for ; Sat, 14 Jul 2012 09:44:52 +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 LFObcpfKxLlK for ; Sat, 14 Jul 2012 09:44:52 +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 53FE1101DD for ; Sat, 14 Jul 2012 09:44:52 +0200 (CEST) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6E7ips4020075 for ; Sat, 14 Jul 2012 09:44:52 +0200 Original-Received: by wibhm6 with SMTP id hm6so980449wib.2 for ; Sat, 14 Jul 2012 00:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=6hdKS5/t1qgd+8A1oY5Xl5Ew6jPCl+G7/JUe7+K2fCM=; b=TB86aKVjN/Cq+MQM6E4rVj5Cn0Bog4QECBqMNaTEpj0sdbfDkPgN3Sz4hCpZwGKzWO /Tx5YK5Te77A9UYExVjumJoPu21VT12e2jWgPKAZJCVPvNNI4o+U8Mf79Wtos9rKDbIw Fgd+68WJltWZKE3AzlyEx+Xx0lW9xN7d3IvJv/ptAWHe0qOZ3Qsmmg/4ef7sFFw+PdLr TLZesCddhYbqgsD7+kyWKNUcxdlf6nVJOOXUN+/dS8tclmTNmoLBzZLGr8xFwA2u3Hvk h32ZChjSOtuEF4GYt/L8EOXl0ouaCS5QJoeMrx8xjcHWeAXnHKi9uhsuMaK7/POjKdJt BiPQ== Original-Received: by 10.216.195.212 with SMTP id p62mr2066110wen.217.1342251891676; Sat, 14 Jul 2012 00:44:51 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AF98E6.dip.t-dialin.net. [87.175.152.230]) by mx.google.com with ESMTPS id y5sm7810927wiw.9.2012.07.14.00.44.49 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Jul 2012 00:44:50 -0700 (PDT) In-Reply-To: <5000A1E4.7090901@wxs.nl> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; 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: 0QHy7IQl9 - 5c33da6353e5 - 20120714 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:77330 Archived-At: Am 14.07.2012 um 00:32 schrieb Hans Hagen: > On 13-7-2012 10:02, Wolfgang Schuster wrote: >> Hi Hans, >> = >> can you add a testpage option to \setuphead? >> = >> %\setuphead[section][testpage=3D4] >> \setuphead[section][before=3D{\testpage[4]\blank[2*big]}] >> = >> \starttext >> = >> \section{First} >> = >> \dorecurse{36}{Line \recurselevel\par} >> = >> \section{Second} >> = >> \dorecurse{36}{Line \recurselevel\par} >> = >> \stoptext > = > Are we sure about that key? (a conditional page entry is also an option, = like page=3Dlines:4 or so Adding the \testpage functionality to \page (and providing \blank like opti= ons, e.g. "lines:4,offset:1cm") is another solution and has the advantage that you don=92t need another key= for \setuphead etc. 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 ___________________________________________________________________________= ________