Hi Pablo,
hm, it seems that this is a special issue.
As I understand it you should separate the pages which are rotated. Then rotate
them into another file. Finally use the [2UP] arranging for reassembling all
pages.
The built in impositioning tool in Context is typesetting first all pages
upright. In an other run the pages are impositioned and rotaded as needed
according the the schema chosen. There is therefore no way to make a booklet
from your source directly,
I hope you will find a way to separate the rotated pages!
Best regards
Willi
> On 30 Jul 2017, at 20:55, Pablo Rodriguez <oi...@gmx.es> wrote:
>
> Dear list,
>
> I have a PDF document in A4 paper size with some rotated pages.
>
> I would like to make a booklet of it:
>
> \setuppapersize [A5][A4, landscape]
> \setuparranging [2UP]
> \setuplayout
> [backspace=0pt,
> topspace=0pt,
> width=middle,
> height=middle,
> location=middle,
> header=0pt,
> footer=0pt]
> \setupinteractionscreen[option={landscape, paper}, copies=1]
> \starttext
> \filterpages[report.pdf][1:25][width=0pt]
> \filterpages[report.pdf][27:30][width=0pt]%they are rotated
> \filterpages[report.pdf][31:100][width=0pt]
> \stoptext
>
> The rotated pages in the source PDF document are a problem here.
>
> The wiki contains the info that \filterpages may be rotated with
> [orientation=90]. But this seems to be old, since it doesn’t work.
>
> If I add
> \rotate[rotation=90]{\filterpages[report.pdf][27:30][width=0pt]},
> automatic scaling doesn’t work. And all pages will be considered as a
> single image.
>
> Is there any way to have rotation for some pages in the source document
> to get the right imposition?
>
> I’m afraid rotation comes from the source PDF document in this case.
>
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________