From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50963 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: \setuppageshift and \setuparranging Date: Tue, 2 Jun 2009 16:40:30 +0200 Message-ID: <41B95014-DCF3-4409-A00F-1A8D4996A26D@boede.nl> References: <51b0095d0905310937i15da9ba1w8f79da9c784a2705@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243953703 13437 80.91.229.12 (2 Jun 2009 14:41:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2009 14:41:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 02 16:41:39 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MBVBD-0006wc-PW for gctc-ntg-context-518@m.gmane.org; Tue, 02 Jun 2009 16:41:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E12EF1FD8A; Tue, 2 Jun 2009 16:41:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14810-05; Tue, 2 Jun 2009 16:40:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 573B71FD2D; Tue, 2 Jun 2009 16:40:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A07441FD2D for ; Tue, 2 Jun 2009 16:40:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15786-01 for ; Tue, 2 Jun 2009 16:40:32 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id EC7A31FD2A for ; Tue, 2 Jun 2009 16:40:31 +0200 (CEST) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n52EeVDv017446 for ; Tue, 2 Jun 2009 16:40:31 +0200 Original-Received: from localhost (dp5.intern.digitpaint.nl [192.168.0.7]) by mail.7values.nl (Postfix) with ESMTP id 52E12184C5 for ; Tue, 2 Jun 2009 16:40:31 +0200 (CEST) Original-Received: from mail.7values.nl ([192.168.0.1]) by localhost (dp5.digitpaint.nl [192.168.0.7]) (amavisd-new, port 10024) with LMTP id G+-wqMiNtjDx for ; Tue, 2 Jun 2009 16:40:30 +0200 (CEST) Original-Received: from [192.168.0.17] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by mail.7values.nl (Postfix) with ESMTP id 12856184C2 for ; Tue, 2 Jun 2009 16:40:31 +0200 (CEST) In-Reply-To: <51b0095d0905310937i15da9ba1w8f79da9c784a2705@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.3; country=NL; region=07; city=Hilversum; latitude=52.2333; longitude=5.1833; http://maps.google.com/maps?q=52.2333,5.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 236034026 - 946a995d38c7 - 20090602 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50963 Archived-At: Hi Nicolas, Page shifting is working properly here, however you need to setup the shifting as: \definepageshift[test][horizontal][30pt,-30pt,20pt,-20pt,10pt,-10pt, 0pt,0pt,0pt,0pt,10pt,-10pt,+20pt,-20pt,30pt,-30pt] The page shifting mechanism is looping over the definition. i.e. you have to specify what kind of shift you want for each page in a section (i.e. 16 parameters in this case). Then you will have tell ConTeXt: \setuppageshift[paper][test] The [paper] option is needed in arranging-mode. Kind regards Willi On May 31, 2009, at 6:37 PM, Nicolas Girard wrote: > Hi, > I'm testing ConTeXt's imposition abilities on a cd booket project. > I'd like pages to be shifted in order to compensate paper thickness. > Running the following code leads to pages that are properly shifted ; > but when uncommenting the line with \setuparranging, pages aren't > shifted any longer. > What's wrong with my code ? > Thanks in advance, > Nicolas > > > \setuppapersize[CD][A4] > \definepageshift[test][horizontal][10pt,20pt,30pt,40pt,50pt] > \setuppageshift[test] > \setuplayout[margin=5mm,marking=on,location=middle] > %\setuparranging[2*2*4,rotated] > \setuppageshift[test] > \showframe > \starttext > \dorecurse{14}{\input tufte} > \stoptext > ______________________________________________________________________ > _____________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________ > _____________ ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________