ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* shifting individual pages
@ 2002-07-28 23:16 Hans Hagen
  0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2002-07-28 23:16 UTC (permalink / raw)
  Cc: Nagy Bence, w.egger

Hi,

I added an option that permits individual shifting of pages. Since this is 
normally only done when arranging pages, some manual work is needed, esp 
since the shifts will depend on the thickness of the paper. The following 
setup demonstrates the idea:

\definepageshift[test][horizontal][10pt,20pt,30pt,40pt,50pt]
\definepageshift[test][vertical]  [10pt,20pt,30pt,40pt,50pt]

   \setuppageshift[test]
% \setuppageshift[test][test]
% \setuppageshift[test][none]
% \setuppageshift[none][test]
% \setuppageshift[paper][test][test] % arrange only
% \setuppageshift[paper][test]       % arrange only
% \setuppageshift[print][test][test]

\starttext \showframe \dorecurse{100}{\input tufte \par} \stoptext

So, horizontal and vertical shifts are defined independently. The shifts 
loops over the lists.

It would be nice if we could have a few predefined examples, but i leave 
that to those who wanted this feature (nagy and willy).

This feature will be available in the next beta.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-28 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-28 23:16 shifting individual pages Hans Hagen

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