ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* imposition with some rotated pages
@ 2017-07-30 18:55 Pablo Rodriguez
  2017-08-02  5:11 ` Rudolf Bahr
  2017-08-02 11:40 ` Willi Egger
  0 siblings, 2 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2017-07-30 18:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: imposition with some rotated pages
  2017-07-30 18:55 imposition with some rotated pages Pablo Rodriguez
@ 2017-08-02  5:11 ` Rudolf Bahr
  2017-08-02  5:23   ` Pablo Rodriguez
  2017-08-02 11:40 ` Willi Egger
  1 sibling, 1 reply; 6+ messages in thread
From: Rudolf Bahr @ 2017-08-02  5:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: imposition with some rotated pages
  2017-08-02  5:11 ` Rudolf Bahr
@ 2017-08-02  5:23   ` Pablo Rodriguez
  2017-08-02  9:22     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2017-08-02  5:23 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* Re: imposition with some rotated pages
  2017-08-02  5:23   ` Pablo Rodriguez
@ 2017-08-02  9:22     ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2017-08-02  9:22 UTC (permalink / raw)
  To: ntg-context, Willi Egger

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
___________________________________________________________________________________

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

* Re: imposition with some rotated pages
  2017-07-30 18:55 imposition with some rotated pages Pablo Rodriguez
  2017-08-02  5:11 ` Rudolf Bahr
@ 2017-08-02 11:40 ` Willi Egger
  2017-08-02 16:43   ` Pablo Rodriguez
  1 sibling, 1 reply; 6+ messages in thread
From: Willi Egger @ 2017-08-02 11:40 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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

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

* Re: imposition with some rotated pages
  2017-08-02 11:40 ` Willi Egger
@ 2017-08-02 16:43   ` Pablo Rodriguez
  0 siblings, 0 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2017-08-02 16:43 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

end of thread, other threads:[~2017-08-02 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-30 18:55 imposition with some rotated pages Pablo Rodriguez
2017-08-02  5:11 ` Rudolf Bahr
2017-08-02  5:23   ` Pablo Rodriguez
2017-08-02  9:22     ` Hans Hagen
2017-08-02 11:40 ` Willi Egger
2017-08-02 16:43   ` 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).