ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* duplicate booklet arrangement
@ 2015-02-22  8:26 Pablo Rodriguez
  2015-02-22 14:59 ` Hans Hagen
  2015-02-24 14:29 ` Willi Egger
  0 siblings, 2 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2015-02-22  8:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: duplicate booklet arrangement
  2015-02-22  8:26 duplicate booklet arrangement Pablo Rodriguez
@ 2015-02-22 14:59 ` Hans Hagen
  2015-02-22 15:45   ` Pablo Rodriguez
  2015-02-24 14:29 ` Willi Egger
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2015-02-22 14:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Willi Egger

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: duplicate booklet arrangement
  2015-02-22 14:59 ` Hans Hagen
@ 2015-02-22 15:45   ` Pablo Rodriguez
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2015-02-22 15:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: duplicate booklet arrangement
  2015-02-22  8:26 duplicate booklet arrangement Pablo Rodriguez
  2015-02-22 14:59 ` Hans Hagen
@ 2015-02-24 14:29 ` Willi Egger
  2015-02-24 17:15   ` Pablo Rodriguez
  1 sibling, 1 reply; 5+ messages in thread
From: Willi Egger @ 2015-02-24 14:29 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: duplicate booklet arrangement
  2015-02-24 14:29 ` Willi Egger
@ 2015-02-24 17:15   ` Pablo Rodriguez
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2015-02-24 17:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-24 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-22  8:26 duplicate booklet arrangement Pablo Rodriguez
2015-02-22 14:59 ` Hans Hagen
2015-02-22 15:45   ` Pablo Rodriguez
2015-02-24 14:29 ` Willi Egger
2015-02-24 17:15   ` Pablo Rodriguez

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).