From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41307 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Specifying last page when using imposition Date: Mon, 2 Jun 2008 10:44:43 +0200 Message-ID: <115224fb0806020144p4c05baf8n982fdafc541dac73@mail.gmail.com> References: <6faad9f00710021636i6898d8a8n47c5a93e55751928@mail.gmail.com> <20071129201410.ef3f13d3.schuster.wolfgang@googlemail.com> <87d4n19fn5.fsf_-_@cordelia.devereux.me.uk> <115224fb0806012306x6317dd4fse0ed87d4952900d3@mail.gmail.com> <873anw9ryo.fsf@cordelia.devereux.me.uk> <115224fb0806020122w52e4a1cfl659a1c3a8a312793@mail.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 1212396380 9647 80.91.229.12 (2 Jun 2008 08:46:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2008 08:46:20 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 02 10:47:01 2008 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 1K35gz-0000xm-FI for gctc-ntg-context-518@m.gmane.org; Mon, 02 Jun 2008 10:47:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 553761FC93; Mon, 2 Jun 2008 10:46:13 +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 28504-01-4; Mon, 2 Jun 2008 10:45:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72A3E1FC45; Mon, 2 Jun 2008 10:45:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E80391FC39 for ; Mon, 2 Jun 2008 10:45: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 28437-02-2 for ; Mon, 2 Jun 2008 10:44:49 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.153]) by ronja.ntg.nl (Postfix) with ESMTP id 45D221FC66 for ; Mon, 2 Jun 2008 10:44:47 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so825295ywm.74 for ; Mon, 02 Jun 2008 01:44:44 -0700 (PDT) Original-Received: by 10.150.122.13 with SMTP id u13mr868927ybc.69.1212396284008; Mon, 02 Jun 2008 01:44:44 -0700 (PDT) Original-Received: by 10.151.113.9 with HTTP; Mon, 2 Jun 2008 01:44:43 -0700 (PDT) In-Reply-To: <115224fb0806020122w52e4a1cfl659a1c3a8a312793@mail.gmail.com> Content-Disposition: inline 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:41307 Archived-At: Hi John, >> Wolfgang, thanks - but this does not seem to fix the problem. The >> "last page" appears opposite page 3 instead of opposite page 1. >> >> To be clear, I am looking for a way to specify that content is to be >> placed on the outside of the cover, i.e. printed on the same side of >> the same sheet as page 1, when "arranged". Could you try the following page brake method. \unprotect \installpagebreakhandler {newquadruple}% {\ifdoublesided \!!counta\realpageno \!!countb\realpageno \advance\!!counta 4 \divide\!!counta 4 \multiply\!!counta 4 \advance\!!countb 1 \advance\!!counta-\!!countb \executepagebreakhandler\v!yes \dorecurse\!!counta{\executepagebreakhandler\v!empty}% \fi} \protect >> \setuppapersize[A5][A4] >> \setuparranging[2UP,rotated,doublesided] >> \setuppagenumbering[alternative=doublesided] >> >> \setuplayout[margin=0pt,width=fit] >> \setupbodyfont[16pt] >> >> \starttext >> >> \dorecurse{11}{\input tufte \par \input knuth \par} >> >> \page[8] > > \page[8] is useless in this example because you're already beyound > the eight page and the argument is useless in this case. > > \page[quadruple] \page[newquadruple] >> Back Cover >> >> \stoptext >> >> texexec --arrange --paperformat=a5a4 --printformat=up test2.tex > > texexec test2 > > you need --arrange only for documents with a table of content, indices ... Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________