From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34352 Path: news.gmane.org!not-for-mail From: Mari Voipio Newsgroups: gmane.comp.tex.context Subject: Re: mirrored pages Date: Thu, 19 Apr 2007 11:11:35 +0300 (EEST) Message-ID: References: Reply-To: Mari Voipio , 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: sea.gmane.org 1176970323 25533 80.91.229.12 (19 Apr 2007 08:12:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2007 08:12:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 19 10:11:56 2007 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 1HeRkB-0000x6-SC for gctc-ntg-context-518@m.gmane.org; Thu, 19 Apr 2007 10:11:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0157420001; Thu, 19 Apr 2007 10:11:55 +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 06916-06-3; Thu, 19 Apr 2007 10:11:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E36F1FFB1; Thu, 19 Apr 2007 10:11:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7D8A1FFB1 for ; Thu, 19 Apr 2007 10:11:46 +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 06916-06-2 for ; Thu, 19 Apr 2007 10:11:43 +0200 (CEST) Original-Received: from lagavulin.sappho.net (lagavulin.sappho.net [194.100.59.12]) by ronja.ntg.nl (Postfix) with ESMTP id 8F5E91FFA6 for ; Thu, 19 Apr 2007 10:11:43 +0200 (CEST) Original-Received: from lagavulin.sappho.net (localhost.localdomain [127.0.0.1]) by lagavulin.sappho.net (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id l3J8BaEE011654 for ; Thu, 19 Apr 2007 11:11:36 +0300 Original-Received: from localhost (mari@localhost) by lagavulin.sappho.net (8.13.5.20060308/8.13.5/Submit) with ESMTP id l3J8BZFC011651 for ; Thu, 19 Apr 2007 11:11:36 +0300 X-Authentication-Warning: lagavulin.sappho.net: mari owned process doing -bs X-X-Sender: mari@lagavulin.sappho.net In-Reply-To: X-Lagavulin-MailScanner: Found to be clean X-MailScanner-From: mari.voipio@iki.fi X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:34352 Archived-At: On Wed, 18 Apr 2007, Horacio Suarez wrote: > Is there a way to obtain a mirrored pdf? Mirrored in what way? (I use Acrobat when necessary, but I'm not familiar with the plug-ins, which is why I have to ask...) Do you mean mirror margins, i.e. inside and outside margins instead of left and right? For double-sided printing? Are you doing your pdf from ConTeXt source or do you just want to rearrange an existing pdf for mirror margin layout? Mirror margins can be done in ConTeXt code. This wiki page gives the first hint on margins: http://wiki.contextgarden.net/Layout Note that you always layout the 'odd' page, i.e the right-hand page and then define a double-sided layout (nb. even though the command \showlayout will give you several pages of layout, it will *only* show the right-hand layout - look at the text itself to make sure you got the mirror margins right). I frankly don't know if my solution is the most elegant one, but this works for me: \setuplayout [footer=1cm, backspace=5.5cm, %inside margin width=12cm] %textwidth, leaves 3.5cm for outside margin on A4 \setuppagenumbering [alternative=doublesided, %this is where doublesided comes in location={header,margin}] %pagenumber location If you use the above page number location, the page number is placed just outside of outer margin in the header and you can see very easily if mirroring is in place. I'm not sure if rearranging existing pdf works A4->A4, but if you need to do a book layout or leaflet or something similar, "imposition" is the term you want and pdfarrange can be the answer, see http://wiki.contextgarden.net/Imposition for more information and tips. The other meaning for 'mirrored': Do you, for some reason, really want to mirror a page like a mirror would reflect it, i.e. text backwards etc? Like for printing on t-shirt transfer? I don't know if this can be done... I'd assume ConTeXt or texexec knows how to do it, I just haven't needed to find out (yet). :-) Hope this helps, Mari (who found out about mirrored margins with the trial-and-error method before the wiki existed...)