From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47652 Path: news.gmane.org!not-for-mail From: John Devereux Newsgroups: gmane.comp.tex.context Subject: Re: Using texexec to prepare single-sided PDF for double-sided printing Date: Mon, 23 Feb 2009 17:04:20 +0000 Message-ID: <87ocwt84q3.fsf@cordelia.devereux.me.uk> References: <87zlge8qk5.fsf@cordelia.devereux.me.uk> <7596A83B-B6A0-446A-AE79-33E125FFC904@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235408814 4253 80.91.229.12 (23 Feb 2009 17:06:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2009 17:06:54 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 23 18:08:08 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 1LbeHT-0000vo-Nl for gctc-ntg-context-518@m.gmane.org; Mon, 23 Feb 2009 18:07:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E7C61FCA1; Mon, 23 Feb 2009 18:06:25 +0100 (CET) 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 03416-02-5; Mon, 23 Feb 2009 18:05:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C7181FC72; Mon, 23 Feb 2009 18:05:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A7BF31FC71 for ; Mon, 23 Feb 2009 18:05:04 +0100 (CET) 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 04028-02-3 for ; Mon, 23 Feb 2009 18:04:25 +0100 (CET) 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 9F3ED1FC72 for ; Mon, 23 Feb 2009 18:04:25 +0100 (CET) Original-Received: from cordelia.devereux.me.uk (cordelia.devereux.me.uk [217.169.15.178]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1NH4MrL010027 for ; Mon, 23 Feb 2009 18:04:23 +0100 Original-Received: from [217.169.15.178] (helo=cordelia.devereux.me.uk ident=jd) by cordelia.devereux.me.uk with esmtp (Exim 4.69) (envelope-from ) id 1LbeEA-0004Or-7e for ntg-context@ntg.nl; Mon, 23 Feb 2009 17:04:22 +0000 In-Reply-To: <7596A83B-B6A0-446A-AE79-33E125FFC904@gmail.com> (Wolfgang Schuster's message of "Mon\, 23 Feb 2009 10\:54\:36 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.169.15.178; country=GB; region=L6; city=Much Wenlock; latitude=52.6000; longitude=-2.5500; http://maps.google.com/maps?q=52.6000,-2.5500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 184061280 - f4343a2e6bad 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:47652 Archived-At: Wolfgang Schuster writes: > Am 22.02.2009 um 16:00 schrieb John Devereux: > >> I would like to use texexec to post-process a large pdf file, so as to >> prepare it for double sided printing. The existing file has a large >> left hand "margin" on each page, so as to allow binding. >> >> I would like to change this so that odd (right) pages have a large >> left margin, and even (left) pages a large right margin. > > \setuppagenumbering[alternative=doublesided] > \setuplayout[horoffset=1cm] > \setuplayout[page] > \starttext > \copypages[document] > \stoptext Thanks, that's great! Is there an easy way to compensate for the original offset? The original pdf has a large left margin and a small right one. > you can add this to the wiki. Will do. -- John Devereux ___________________________________________________________________________________ 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 ___________________________________________________________________________________