From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71397 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: [Layout] Problem with ConTeXt mkII Date: Wed, 28 Sep 2011 14:03:11 +0200 Message-ID: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317211421 25092 80.91.229.12 (28 Sep 2011 12:03:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 12:03:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 28 14:03:37 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 1R8srR-0001YO-0F for gctc-ntg-context-518@m.gmane.org; Wed, 28 Sep 2011 14:03:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82A02CAFF0; Wed, 28 Sep 2011 14:03: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 ORmkg9ZdwTM5; Wed, 28 Sep 2011 14:03:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06419CAFE6; Wed, 28 Sep 2011 14:03:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60C10CAFE6 for ; Wed, 28 Sep 2011 14:03:28 +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 KR7-DpErvRMo for ; Wed, 28 Sep 2011 14:03:13 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 8B5F0CAFE3 for ; Wed, 28 Sep 2011 14:03:13 +0200 (CEST) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8SC3C3L014346 for ; Wed, 28 Sep 2011 14:03:12 +0200 Original-Received: by qyl38 with SMTP id 38so2490896qyl.14 for ; Wed, 28 Sep 2011 05:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CvQhgLTuKU60OqOtm8rwU5HqzxOWyUKIgBxfap5lM6c=; b=o5ivugfEaQ2+GU46ltH9EKnhjwgoKwlEO+poe8dXMwQoyjQrQlKLzNROItKUAb9mqv lxYQHdbGtrkhCrBOo5vQ5e0/1mzAT1N4nb8OZRGElwKGSnwIP/3Njp3ZmoVEYQ5o928i s7nfKcLnfMjYLYwvCrh76RcxyvsJZmS20Alk8= Original-Received: by 10.224.218.136 with SMTP id hq8mr6319201qab.239.1317211391917; Wed, 28 Sep 2011 05:03:11 -0700 (PDT) Original-Received: by 10.224.73.201 with HTTP; Wed, 28 Sep 2011 05:03:11 -0700 (PDT) In-Reply-To: <21EE75A2-3953-47A1-AB28-462B89B07002@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.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: 05FCc3chb - de5c63664514 - 20110928 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:71397 Archived-At: 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 -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________