From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76446 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: multi-page floats Date: Sun, 27 May 2012 16:06:02 +0200 Message-ID: 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 1338127574 11268 80.91.229.3 (27 May 2012 14:06:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 May 2012 14:06:14 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Sun May 27 16:06:13 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 1SYe6m-0007BP-HR for gctc-ntg-context-518@m.gmane.org; Sun, 27 May 2012 16:06:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 945EF101E3; Sun, 27 May 2012 16:06:11 +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 PAb0VLa6gt+i; Sun, 27 May 2012 16:06:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D28D3101DF; Sun, 27 May 2012 16:06:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 011C8101DF for ; Sun, 27 May 2012 16:06:08 +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 DSUVRVbKw8oh for ; Sun, 27 May 2012 16:06:06 +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 A3417101DD for ; Sun, 27 May 2012 16:06:06 +0200 (CEST) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4RE63Ym001238 for ; Sun, 27 May 2012 16:06:06 +0200 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=XJFSSW/YxJTCCfJoB/GB40ZDWd12INZRnTJXca1PMAGusih/p5xu60wHorwmsHid1TPIZsYtRhPZ9xbgcuFVMme2w+6OXzcpEBJyanDmQ5e2AUpqjJ6oFCs14ouRUXXw; h=Received:Received:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:X-Mailer; Original-Received: (qmail 13619 invoked from network); 27 May 2012 16:06:03 +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); 27 May 2012 16:06:03 +0200 X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.0001 (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: 03Hf263n3 - 05813e6b1861 - 20120527 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:76446 Archived-At: Hi again, in my current book project there are sets of full-page graphics, where = there=92s first a drawing, to be printed on transparent paper, followed = by a water colour picture as background, i.e. a series of right page: foreground graphic right page: background graphic The transparent pages are left out in pagination. Between chapters (i.e. stories), the following macro does what I want: \def\DoublePic#1{ \page[right] % foreground picture on transparent paper = \setuppagenumbering[state=3Dstop]\setuppagenumber[state=3Dstop]\par \resetlayer[bg] \setlayer[bg]{\externalfigure[#1-fore][height=3D\dimexpr(\paperheight = +6mm)]} \setupbackgrounds[page][background=3Dbg] \strut\par % page needs some content = \page[right] % background picture on normal paper = \setuppagenumber[state=3Dstart]\par \resetlayer[bg] \setlayer[bg]{\externalfigure[#1-back][height=3D\dimexpr(\paperheight = +6mm)]} \setupbackgrounds[page][background=3Dbg] \strut\par = \page \setuppagenumbering[state=3Dstart] } Now, the publisher would like to move the picture pages in the middle = of the stories, i.e. I need them to float "here" without manual page = breaking. How can I achieve that? I=92d also appreciate enhancements to my macro above. (MkIV latest beta on OSX Intel.) Thank you very much in advance! 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 ___________________________________________________________________________= ________