# [NTG-context] Wierd problem.

luigi scarso luigi.scarso at gmail.com
Sat Jun 23 21:46:18 CEST 2007

On 6/23/07, John R. Culleton <john at wexfordpress.com> wrote:
> On another list a listmate proposes to print a book in two copies side
> by side. The page size is 5.5 x 8.5 in. He wants to print two copies
> on his laser printer. He wants two impressions  of page one side by
> side on letter paper, with two copies of page two on the reverse side
> etc. for 200 pages. Then he will guillotine the stack making two
> copies of the book.
>
> But wait, it gets worse. He is not resetting the book but has a pdf
> file as his source.  I and others suggested the usual bit of using
> PSUtils to set four pages per sheet and folding them etc. but he
> doesn't want to get into folding. He has a guillotine and a binder.
> He doesn't have a folder.
>
> So, given a pdf file of a 5.5 x 8.5 book as a starting point, is there
> a sensible way to massage the pdf or its PS equvalent in a way to
> give him what he wants?  He is on an Ubuntu system.  He asked his
> question on the Scribus list.
If I understand well,
why not something like
%%
%% set here papersize, pagenumbers, margins and so on
%%
\starttext
\dorecurse{200}{%
\hbox{%
\externalfigure[book.pdf][page=\recurselevel]%
\externalfigure[book.pdf][page=\recurselevel]
}\page}
\stoptext

--
luigi
----------------------------------------------------------------