From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76678 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: multi-page floats Date: Tue, 5 Jun 2012 14:00:28 +0200 Message-ID: References: <4FC3B571.3090109@wxs.nl> <4FC7E728.8020004@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338897648 3706 80.91.229.3 (5 Jun 2012 12:00:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2012 12:00:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 05 14:00:44 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 1SbsRF-0005UF-4U for gctc-ntg-context-518@m.gmane.org; Tue, 05 Jun 2012 14:00:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07C34101E4; Tue, 5 Jun 2012 14:00:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DDWrkwhxL1qc; Tue, 5 Jun 2012 14:00:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0646A101DF; Tue, 5 Jun 2012 14:00:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FEA3101DF for ; Tue, 5 Jun 2012 14:00: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id laAyEXq5LO0x for ; Tue, 5 Jun 2012 14:00:31 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 38273101DD for ; Tue, 5 Jun 2012 14:00:31 +0200 (CEST) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q55C0TYB025833 for ; Tue, 5 Jun 2012 14:00:30 +0200 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=I/uJegZpQx0tChCNUZTY7hiT+P97QL6jrLscGtYugj6pB5NYVhqQVL01ClPE6WPAZReqxzzrt4Mks0uCioW+WD82rr0e7AXbwPagBwIF5pydg5sP1orX/1mpbStZskZW; h=Received:Received:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; Original-Received: (qmail 10011 invoked from network); 5 Jun 2012 14:00:29 +0200 Original-Received: from hsi-kbw-149-172-53-184.hsi13.kabel-badenwuerttemberg.de (HELO Ixchel.fritz.box) (149.172.53.184) by thesan.fiee.net with ESMTPSA (AES128-SHA encrypted, authenticated); 5 Jun 2012 14:00:29 +0200 In-Reply-To: X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.1861 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=178.77.74.245; 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: 0dHiA0tHs - c279181e2b39 - 20120605 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76678 Archived-At: Sorry for coming back again and again, but I=92m still stuck, and my = deadline is overdue. * I need full-page pictures on defined pages in the middle of a chapter. * I don=92t care if I must define "on page x" or "on the next right page = after the current paragraph". - The only way for full-page pictures (i.e. bleeding over the page) = that I know of is layers. - The only way to interrupt a story with full-page content that I know = of is postponing. (makeups were a dead end so far - maybe they can help to get to a = right page withput using \page[right]) While each works for itself, I can=92t get layers working within = postponing. And when that works, I need to wrap it in a macro, since I alway need = to define and postpone three sequential pages. Without postponing, this works: --- *** --- \setuppagenumbering[alternative=3Ddoublesided] \definelayer[bg][x=3D0mm,y=3D-3mm,width=3D\dimexpr(\paperwidth+3mm),height= =3D = \dimexpr(\paperheight+6mm)] %\definemakeup[rightpage][page=3Dright] \def\DoublePic#1{ %\startmakeup[rightpage] % error! \page[right] \resetlayer[bg] \setlayer[bg]{\externalfigure[#1][height=3D\dimexpr(\paperheight+6mm)]} \setupbackgrounds[page][background=3Dbg] \strut = %\stopmakeup = % empty back of the first picture, since it=92s printed on transparent = paper %\startmakeup[rightpage] % error! \page[right] = \resetlayer[bg] \setlayer[bg]{\externalfigure[#1-hg][height=3D\dimexpr(\paperheight = +6mm)]} \setupbackgrounds[page][background=3Dbg] \strut = %\stopmakeup \page } \starttext \input tufte \DoublePic{koe} \input knuth \stoptext --- *** --- This doesn=92t: --- *** --- \setuppagenumbering[alternative=3Ddoublesided] \definelayer[bg][x=3D0mm,y=3D-3mm,width=3D\dimexpr(\paperwidth+3mm),height= =3D = \dimexpr(\paperheight+6mm)] \def\DoublePicAt#1#2{ \startpostponing[#2] \page[right] % tried also makeups... = \resetlayer[bg] \setlayer[bg]{\externalfigure[#1][height=3D\dimexpr(\paperheight+6mm)]} \setupbackgrounds[page][background=3Dbg] \strut = \page[right] \setuppagenumber[state=3Dstart] = \resetlayer[bg] \setlayer[bg]{\externalfigure[#1-back][height=3D\dimexpr(\paperheight = +6mm)]} \setupbackgrounds[page][background=3Dbg] \strut \page \stoppostponing } \starttext \DoublePicAt{hacker}{5} \dorecurse{30}{ \section{Knuth \recurselevel} \input knuth } \stoptext --- *** --- Can you show me a way to use layers within postponing, please? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________