From: Willi Egger <w.egger@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setuppageshift and \setuparranging
Date: Tue, 2 Jun 2009 16:40:30 +0200 [thread overview]
Message-ID: <41B95014-DCF3-4409-A00F-1A8D4996A26D@boede.nl> (raw)
In-Reply-To: <51b0095d0905310937i15da9ba1w8f79da9c784a2705@mail.gmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-06-02 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-31 16:37 Nicolas Girard
2009-06-02 14:40 ` Willi Egger [this message]
2009-06-03 10:56 ` Nicolas Girard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41B95014-DCF3-4409-A00F-1A8D4996A26D@boede.nl \
--to=w.egger@boede.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).