ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setuppageshift and \setuparranging
@ 2009-05-31 16:37 Nicolas Girard
  2009-06-02 14:40 ` Willi Egger
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Girard @ 2009-05-31 16:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,
I'm testing ConTeXt's imposition abilities on a cd booket project.
I'd like pages to be shifted in order to compensate paper thickness.
Running the following code leads to pages that are properly shifted ;
but when uncommenting the line with \setuparranging, pages aren't
shifted any longer.
What's wrong with my code ?
Thanks in advance,
Nicolas


\setuppapersize[CD][A4]
\definepageshift[test][horizontal][10pt,20pt,30pt,40pt,50pt]
\setuppageshift[test]
\setuplayout[margin=5mm,marking=on,location=middle]
%\setuparranging[2*2*4,rotated]
\setuppageshift[test]
\showframe
\starttext
\dorecurse{14}{\input tufte}
\stoptext
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: \setuppageshift and \setuparranging
  2009-05-31 16:37 \setuppageshift and \setuparranging Nicolas Girard
@ 2009-06-02 14:40 ` Willi Egger
  2009-06-03 10:56   ` Nicolas Girard
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2009-06-02 14:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Nicolas,

Page shifting is working properly here, however you need to setup the  
shifting as:

\definepageshift[test][horizontal][30pt,-30pt,20pt,-20pt,10pt,-10pt, 
0pt,0pt,0pt,0pt,10pt,-10pt,+20pt,-20pt,30pt,-30pt]

The page shifting mechanism is looping over the definition. i.e. you  
have to specify what kind of shift you want for each page in a  
section (i.e. 16 parameters in this case).

Then you will have tell ConTeXt:

\setuppageshift[paper][test]

The [paper] option is needed in arranging-mode.

Kind regards

Willi

On May 31, 2009, at 6:37 PM, Nicolas Girard wrote:

> Hi,
> I'm testing ConTeXt's imposition abilities on a cd booket project.
> I'd like pages to be shifted in order to compensate paper thickness.
> Running the following code leads to pages that are properly shifted ;
> but when uncommenting the line with \setuparranging, pages aren't
> shifted any longer.
> What's wrong with my code ?
> Thanks in advance,
> Nicolas
>
>
> \setuppapersize[CD][A4]
> \definepageshift[test][horizontal][10pt,20pt,30pt,40pt,50pt]
> \setuppageshift[test]
> \setuplayout[margin=5mm,marking=on,location=middle]
> %\setuparranging[2*2*4,rotated]
> \setuppageshift[test]
> \showframe
> \starttext
> \dorecurse{14}{\input tufte}
> \stoptext
> ______________________________________________________________________ 
> _____________
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: \setuppageshift and \setuparranging
  2009-06-02 14:40 ` Willi Egger
@ 2009-06-03 10:56   ` Nicolas Girard
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Girard @ 2009-06-03 10:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2009/6/2 Willi Egger <w.egger@boede.nl>:
> Hi Nicolas,
>
> Page shifting is working properly here, however you need to setup the
> shifting as:
>
> \definepageshift[test][horizontal][30pt,-30pt,20pt,-20pt,10pt,-10pt,0pt,0pt,0pt,0pt,10pt,-10pt,+20pt,-20pt,30pt,-30pt]
>
> The page shifting mechanism is looping over the definition. i.e. you have to
> specify what kind of shift you want for each page in a section (i.e. 16
> parameters in this case).
>
> Then you will have tell ConTeXt:
>
> \setuppageshift[paper][test]
>
> The [paper] option is needed in arranging-mode.
>

Hi Willi,
thanks for your answer, I could make it work too.
I have several additional questions regarding imposition ; i'll post
them in new threads.
Cheers,
Nicolas
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-06-03 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-31 16:37 \setuppageshift and \setuparranging Nicolas Girard
2009-06-02 14:40 ` Willi Egger
2009-06-03 10:56   ` Nicolas Girard

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