From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76680 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: multi-page floats Date: Tue, 5 Jun 2012 14:42:22 +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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338900153 24867 80.91.229.3 (5 Jun 2012 12:42:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2012 12:42:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 05 14:42:30 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 1Sbt5g-0004wB-EY for gctc-ntg-context-518@m.gmane.org; Tue, 05 Jun 2012 14:42:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE623101DD; Tue, 5 Jun 2012 14:42:27 +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 fL1rDNHmiale; Tue, 5 Jun 2012 14:42:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14FB7101DF; Tue, 5 Jun 2012 14:42:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5B610101DF for ; Tue, 5 Jun 2012 14:42:25 +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 c63-6fzmmXSF for ; Tue, 5 Jun 2012 14:42:24 +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 1FC7D101DD for ; Tue, 5 Jun 2012 14:42:24 +0200 (CEST) Original-Received: from mail-yw0-f41.google.com (mail-yw0-f41.google.com [209.85.213.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q55CgNQT018258 for ; Tue, 5 Jun 2012 14:42:23 +0200 Original-Received: by yhr47 with SMTP id 47so4979762yhr.14 for ; Tue, 05 Jun 2012 05:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NVjfh+OEJF7ajaY0JV8DrpYQFr6ZUOUf4MNS0VdTMfQ=; b=fMlsBRM9/TjT2BxQHrOCKgUuDceWSBap9OVhcoi9elFSzfKo7/FUjD9VIZPwkhLNH6 3v2BD2cqJ2+3b1jgv1LwcWXEAtWoF2kOKoJYdProiN9Q1fVe/6dU2wz4nE4R8RvNcWc7 bg1kmtbziCSThH1GAbRT5FjbaMX2WT/M9SbWVmqjT6lsEnBZbtMxaZbf3/0lhn29/hO7 d2SBior1OAlcu9x6/TJ3NqRDoJAjhaEAziDJQNJSK5sz9jQgp6jgxmUEYrjFqYmge9Vb pLTZQPF2orx+WEqBfycsLFjRKToFIeVTT5He6GyqejpnDnl2OJey/zICVXHjssg2tueC Zu1A== Original-Received: by 10.50.209.73 with SMTP id mk9mr2325538igc.66.1338900142872; Tue, 05 Jun 2012 05:42:22 -0700 (PDT) Original-Received: by 10.50.51.98 with HTTP; Tue, 5 Jun 2012 05:42:22 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.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: 0QHiAGnoG - 26ba7d247c60 - 20120605 (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.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:76680 Archived-At: Another one \setuppagenumbering[alternative=doublesided] \definelayer[bg][x=0mm,y=-3mm,width=\dimexpr(\paperwidth+3mm),height=\dimexpr(\paperheight+6mm)] \unexpanded\def\DoDoublePicAt#1{ \page[right] % tried also makeups... \resetlayer[bg] \setlayer[bg]{\externalfigure[#1][height=\dimexpr(\paperheight+6mm)]} \setupbackgrounds[page][background=bg] \strut \page[right] \setuppagenumber[state=start] \resetlayer[bg] \setlayer[bg]{\externalfigure[#1-back][height=\dimexpr(\paperheight+6mm)]} \setupbackgrounds[page][background=bg] \strut \page } \def\DoublePicAt#1#2{ \startpostponing[#2] \DoDoublePicAt{#1} \stoppostponing } \starttext \DoublePicAt{hacker}{5} \dorecurse{30}{ \section{Knuth \recurselevel} \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 ___________________________________________________________________________________