From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84930 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: issue with layers and layouts Date: Mon, 21 Oct 2013 17:23:57 +0200 Message-ID: <5265470D.3010105@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382369048 4005 80.91.229.3 (21 Oct 2013 15:24:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 15:24:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 21 17:24:13 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYHL3-00032k-G0 for gctc-ntg-context-518@m.gmane.org; Mon, 21 Oct 2013 17:24:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DA74101FC; Mon, 21 Oct 2013 17:21:20 +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 l-n0d5-RzhL0; Mon, 21 Oct 2013 17:21:15 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E6640101FF; Mon, 21 Oct 2013 17:21:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2D74101FF for ; Mon, 21 Oct 2013 17:21:12 +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 mf629QtjrkJw for ; Mon, 21 Oct 2013 17:21:11 +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 8D7A7101FC for ; Mon, 21 Oct 2013 17:21:11 +0200 (CEST) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9LFO31m011364 for ; Mon, 21 Oct 2013 17:24:03 +0200 Original-Received: from localhost.localdomain ([81.44.210.132]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MGS9o-1VTvko2t1c-00DHCs for ; Mon, 21 Oct 2013 17:24:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 X-Provags-ID: V03:K0:555oG7O/FyNeR7I8DMDCpIs+9R2H/ubs7syR3TctTPBWf/PG10d UH3A3DM+IEbYmVinDI1zd6ZHLawk5xsJWYYuBg2CWoTHYT+dCWEpHJvKB82nu9BjBOG3ny2 c1VqK1d69jmXJieX3g22ax0wWeuhabDlN5XSsCMq24fpGyfY7BypoXpzzxWi46aoFMsiZCy 3DIWuuRsQxDAZDEzl4/lQ== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.20; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QKDPo392 - 9207f1efa94b - 20131021 (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:84930 Archived-At: Dear list, I have the following sample and two issues that I must solve: \showframe\setuplayout[margin=3D20mm, width=3Dfit, topspace=3D45mm, bottomspace=3D25mm, height=3Dfit] \definelayout[first][topspace=3D70mm, bottomspace=3D30mm] \definelayer[avoidasfloat][x=3D0mm, y=3D0mm, hoffset=3D8mm, voffset=3D101mm, location=3D{right,bottom}, state=3Dstart] \setlayer[avoidasfloat]{\startMPcode draw (0mm,0mm)--(55mm,0mm) ; draw (0mm,0mm)--(0mm,-86mm) ; draw (0mm,-86mm)--(55mm,-86mm) ; draw (55mm,-86mm)--(55mm,0mm) ; \stopMPcode } \setupbackgrounds[page][background=3D{avoidasfloat}] \starttext \dorecurse{40}{\input knuth\par} \stoptext First, the layout is right on the first two pages, but it is wrong from page three. The text doesn=92t reach the bottom frame. I have the info on multiple layers from the wiki (it isn=92t a complete example, though). After Wolfgang=92s reply last Friday, I spend hours searching on the mailing list trying to find relevant information to know what I was doing wrong. If this isn=92t a bug, what am I missing here? My second question is about the layer: is there no way to force the text to avoid it as if it were a float? Many thanks for your help, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________