Re: [NTG-context] imposition with some rotated pages

2017-08-02 Thread Pablo Rodriguez
On 08/02/2017 01:40 PM, Willi Egger wrote:
> Hi Pablo,
> 
> hm, it seems that this is a special issue.

Hi Willi,

many thanks for your reply.

After printing some imposed pages (the ones that didn’t need rotation),
I realized the text was barely readable. So I will print it normal

> [...]
> 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,

Weird. All my impositions only take a run.

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
___

Re: [NTG-context] imposition with some rotated pages

2017-08-02 Thread Willi Egger
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  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
___

Re: [NTG-context] imposition with some rotated pages

2017-08-02 Thread Hans Hagen

On 8/2/2017 7:23 AM, Pablo Rodriguez wrote:

On 08/02/2017 07:11 AM, Rudolf Bahr wrote:

On Sun, Jul 30, 2017 at 08:55:56PM +0200, Pablo Rodriguez wrote:


The rotated pages in the source PDF document are a problem here.

Is there any way to have rotation for some pages in the source document
to get the right imposition?


With "pdftk" you can rotate some or all pages of a pdf-document.
But perhaps this isn't what you want.


Many thanks for your reply, Rudolf.

I would avoid using pdftk, because I need a Windows computer for that
(problems with Java).

Besides being an extra step, I think imposition should rotate already
rotated pages (only to enable the right imposition).

the ultimate reference for that is Willi ...

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] imposition with some rotated pages

2017-08-01 Thread Pablo Rodriguez
On 08/02/2017 07:11 AM, Rudolf Bahr wrote:
> On Sun, Jul 30, 2017 at 08:55:56PM +0200, Pablo Rodriguez wrote:
>>
>> The rotated pages in the source PDF document are a problem here.
>>
>> Is there any way to have rotation for some pages in the source document
>> to get the right imposition?
> 
> With "pdftk" you can rotate some or all pages of a pdf-document.
> But perhaps this isn't what you want.

Many thanks for your reply, Rudolf.

I would avoid using pdftk, because I need a Windows computer for that
(problems with Java).

Besides being an extra step, I think imposition should rotate already
rotated pages (only to enable the right imposition).

Many thanks for your advice,

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
___

Re: [NTG-context] imposition with some rotated pages

2017-08-01 Thread Rudolf Bahr
On Sun, Jul 30, 2017 at 08:55:56PM +0200, Pablo Rodriguez wrote:
> 
> The rotated pages in the source PDF document are a problem here.
> 
> Is there any way to have rotation for some pages in the source document
> to get the right imposition?

With "pdftk" you can rotate some or all pages of a pdf-document.
But perhaps this isn't what you want.

Rudolf

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

[NTG-context] imposition with some rotated pages

2017-07-30 Thread Pablo Rodriguez
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
___