![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 2/22/2015 9:26 AM, Pablo Rodriguez 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?
You need to convince (bookbinder) Willy as he is nowadays defining the extra imposition schemes, Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 02/22/2015 03:59 PM, Hans Hagen wrote:
On 2/22/2015 9:26 AM, Pablo Rodriguez 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?
You need to convince (bookbinder) Willy as he is nowadays defining the extra imposition schemes,
Willy, would it be possible that the above suggested scheme could be included in ConTeXt? It would be really helpful as an easy way to get repeated booklets in A4 pages. Many thanks for your help, Pablo -- http://www.ousia.tk
![](https://secure.gravatar.com/avatar/4da8dbbf92ebc6723a2215b6043a25c7.jpg?s=120&d=mm&r=g)
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
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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 02/24/2015 03:29 PM, Willi Egger wrote:
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 going to use for this special purpose some code like this:
\def\Myfilename{quotes-1} \def\Mypages{22}
Many thanks for your reply, Willy. Your code works fine, but I would like two improvements to make the process fully automatic. So I could use it with different documents in an easier way. Is there a way that ConTeXt gets the total number of pages from the PDF file itself? I can redefine \Myfilename with an \env argument, but I don’t know how to get thet total number of pages.
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…?
This is a booklet that I made available on the net. I don’t try to compete with the bookbinding industry ;-). The booklet is rather thick, but the trick is not to cut the outer margin. It is a booklet and not a book, after all. But I would say that the result is not bad. Many thanks for your help, Pablo -- http://www.ousia.tk
participants (3)
-
Hans Hagen
-
Pablo Rodriguez
-
Willi Egger