ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Re: duplicate booklet arrangement
Date: Tue, 24 Feb 2015 15:29:34 +0100	[thread overview]
Message-ID: <9AFB65AD-E04D-48A3-951B-F7E26D2E77F9@boede.nl> (raw)
In-Reply-To: <54E992D3.5010205@gmx.es>

Hi Pablo,

..late answer ;-)

your explanation is fine. I also looked at your example in the link…

We had this discussion in earlier threads. For me as a bookbinder, your issue is not really something for impositioning in a restricted sense. The thing is, that the machinery for imposition is looping over the number of pages and puts them in the defined place. So if one wants to achieve what you describe, the machinery would have to set up in a different way. I run into this issue myself and I would suggest, that you are ging to use for this special purpose some code like this:

\def\Myfilename{quotes-1}
\def\Mypages{22}


\setuplayout
   [topspace=0mm,
   backspace=0mm,
   margin=0pt,
   header=0pt,
   footer=0pt,
   height=middle,
   width=middle,]

\definelayer[Draw][width=\paperwidth,height=\paperheight]
\setuplayer[Draw][preset=lefttop]
\setupmakeup[standard][top=,bottom=,page=yes,doublesided=no]

\starttext

\dorecurse
{\Mypages}
   {\setlayerframed
      [Draw]
      [x=0mm,y=0mm]
      [offset=overlay,frame=off,rightframe=on]
      {\externalfigure[\Myfilename][page=\recurselevel]} 
   \setlayerframed
      [Draw]
      [x=0mm,y=\dimexpr\paperheight/2]
      [offset=overlay,frame=off]
      {\externalfigure[\Myfilename][page=\recurselevel]} 

   \startstandardmakeup
      \placelayer[Draw]
   \stopstandardmakeup}
\stop

What this code does is to pick up the pages from the pdf which is made with e.g. 2UP arranging on A5_landscape. It puts then each page two times on a sheet of paper. 

Willi

p.s. I am curious about how your booklet looks like after assembly. You put 142 pages in it with arranging 2UP.  Folding this amount of paper makes a rather thick booklet and I expect, that the outer margins are very small after cutting it square…?

> On 22 feb. 2015, at 09:26, Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> Hans,
> 
> I need to generate a duplicate booklet from a PDF file.
> 
> It would be like \setuparrange[2UP, singlesided]. But I need an extra
> imposition (this is what I have to do now), repeating the same booklet
> imposition one above each other.
> 
> This would require a \setuppaper such as [A6][A4].
> 
> The first four pages would be:
> 
>  last|first  last-1|first+1  last-2|first+2  last+3|first+3
>  last|first  last-1|first+1  last-2|first+2  last+3|first+3
> 
> Just in case I haven’t explained myself, here you have a sample:
> https://archive.org/download/ensayo-escritura/ensayo-escritura.pdf.
> 
> ConTeXt was used to typeset the book and arrange the booklet. But I
> needed to use another tool for the final imposition.
> 
> I think it might be useful for other users also.
> 
> Could this 2UPrepeated arrangement be included in ConTeXt?
> 
> Many thanks for your help,
> 
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2015-02-24 14:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-22  8:26 Pablo Rodriguez
2015-02-22 14:59 ` Hans Hagen
2015-02-22 15:45   ` Pablo Rodriguez
2015-02-24 14:29 ` Willi Egger [this message]
2015-02-24 17:15   ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9AFB65AD-E04D-48A3-951B-F7E26D2E77F9@boede.nl \
    --to=context@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).