From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71398 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: [Layout] Problem with ConTeXt mkII Date: Wed, 28 Sep 2011 14:12:19 +0200 Message-ID: <043EE6F4-FFD3-41B4-8FB7-92BBD02D5CB3@googlemail.com> References: <95EE4F45-5DD9-4E16-9D6F-2051BB160F64@unilim.fr> <21EE75A2-3953-47A1-AB28-462B89B07002@googlemail.com> 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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317211974 29082 80.91.229.12 (28 Sep 2011 12:12:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 12:12:54 +0000 (UTC) To: mailing list for ConTeXt users , luigi scarso Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 28 14:12:49 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 1R8t0L-0005vI-Km for gctc-ntg-context-518@m.gmane.org; Wed, 28 Sep 2011 14:12:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC417CAFEC; Wed, 28 Sep 2011 14:12:48 +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 xivTW+DkRAtg; Wed, 28 Sep 2011 14:12:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B39FDCAFE3; Wed, 28 Sep 2011 14:12:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78FE7CAFE3 for ; Wed, 28 Sep 2011 14:12:44 +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 4Xc-etW5c-Fk for ; Wed, 28 Sep 2011 14:12:33 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 42684CAFE0 for ; Wed, 28 Sep 2011 14:12:33 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8SCCWCv014537 for ; Wed, 28 Sep 2011 14:12:32 +0200 Original-Received: by fxh17 with SMTP id 17so700605fxh.14 for ; Wed, 28 Sep 2011 05:12:32 -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=FcTCtrYSo3fjE4O3X22lwmmi7jJEBW2ZiXMlBt9FCGA=; b=WM0SKgFw9okySm0UfkDFrg9FrzIoSFQtQpw98v4n4+hdkXmGscATSTsil59Ih0zOaJ ra7kT6ZH4gBj0j5zK9qChY3nHuXHIRKiGz1Ie20MRpt/hhz1vsh2BZ1rC5EwtdFWVMAs p/rJXbC3DI0fuzqLMwvGXhXMfmBOzp62Fo+sA= Original-Received: by 10.223.23.145 with SMTP id r17mr3300638fab.17.1317211951797; Wed, 28 Sep 2011 05:12:31 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482D341.dip.t-dialin.net. [84.130.211.65]) by mx.google.com with ESMTPS id u18sm3343711fac.24.2011.09.28.05.12.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Sep 2011 05:12:30 -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.161.41; 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: 0cFCccwAq - 7d339c3e94ce - 20110928 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:71398 Archived-At: Am 28.09.2011 um 14:03 schrieb luigi scarso: > On Wed, Sep 28, 2011 at 1:54 PM, Wolfgang Schuster > wrote: >> \definelayout expects a assignment as argument. >> >> \definelayout[1][topspace=5.2cm,height=fit] >> \definelayout[2][] >> >> \setuplayout[2][reset] >> >> \starttext >> \dorecurse{10}{\input knuth\par} >> \stoptext >> >> or >> >> \definelayout[current][width=12cm] >> >> \definelayout[1][width=12cm,topspace=5.2cm,height=fit] >> >> \starttext >> \dorecurse{10}{\input knuth\par} >> \stoptext >> >> Wolfgang > hm > http://wiki.contextgarden.net/Layout > seems to be different. > Btw, this works without warnings > > %%%%%%%%%%%%%%%%%%%%% > \setuptolerance[verytolerant,stretch] > \setuppapersize[A4][A4] > > > \setuplayout[ > backspace=3cm, topspace=1.5cm, > rightmargin=0cm,leftmargin=1.3cm, > width=15cm, > leftmargindistance=0.2cm, > height=fit, > header=0cm, footer=1cm, > ] > > \definelayout[1][ > topspace=5.2cm, > height=fit, > ] > > > \dorecurse{10000}{\definelayout[\the\numexpr 1+\recurselevel][]} > > \starttext > \dorecurse{100}{\input knuth} > \stoptext Why so many \definelayout calls? \definelayout[1][topspace=5.2cm,height=fit] \definelayout[2][] \starttext \dorecurse{10}{\input knuth\par} \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________