Imposition

From Wiki
Revision as of 22:04, 16 October 2005 by Mojca Miklavec (talk | contribs) (→‎What can ConTeXt do for me?: XY mode added to the list (as reported once by Willi as well))
Jump to navigation Jump to search

< Structurals | Visuals >

What is Imposition?

To impose means to order pages on a bigger sheet in a way, that you get a booklet (or something similar) with correct page order after folding. In the simplest case you impose four A5 pages on both sides of an A4 sheet.

In a print shop it could be that you've to place 64 inner pages of a book on one printing sheet. For private use you could want to zigzag-fold an A4 sheet as a brochure that fits nicely in a business envelope. You could make two pages with three columns each, or you could make six pages and impose them.

Another "style" of imposition is to place several identical templates on one sheet, e.g. labels.

What can ConTeXt do for me?

ConTeXt has some built-in imposition schemas (see "arranging pages" in the manual):

  • 2UP
  • 2DOWN
  • 2SIDE : 2 pages per form, side by side in pagination order (no real imposition, only paper saving)
  • 2*2 : 2 pages per form, for single sheets with front and back
  • 2**2 : 2 pages per form, for book ordering
  • 2*4 : 4 pages per form, 2x2 pages head to head
  • 2*8
  • 2*16
  • XY (not mentioned in the manual) : you can control the number with \setuppaper[nx=...,ny=...,dx=...,dy=...]

"form" means "one side of a sheet".

You can access this feature via


TODO: some graphical examples (See: To-Do List)


More

Hraban needed a "3SIDE" schema to fit three "filius" planner pages on one A4 sheet. Willi wrote it:

\unprotect
% New page imposition scheme 3SIDE by Willi Egger 2003-07-21

\installpagearrangement 3SIDE
   {\dosetuparrangement{3}{1}{6}{4}{2}%
        \pusharrangedpageTHREESIDE\poparrangedpagesAB\relax}

\def\pusharrangedpageTHREESIDE#1% Willi's approach
  {\doglobal\increment\arrangedpageN
   \reportarrangedpage\arrangedpageN
   \ifcase\arrangedpageN
   \or \handlearrangedpageXandY{#1}000\arrangedpageA %  1
   \or \handlearrangedpageXandY{#1}010\arrangedpageA %  2
   \or \handlearrangedpageXandY{#1}020\arrangedpageA %  3
   \or \handlearrangedpageXandY{#1}000\arrangedpageB %  4
   \or \handlearrangedpageXandY{#1}010\arrangedpageB %  5
   \or \handlearrangedpageXandY{#1}020\arrangedpageB %  6
        \poparrangedpages
   \fi}

\protect

You can use this code simply in your environment file. The other schemas are in page-imp.tex.

Use it like this:

\definepapersize	[filius][width=92mm, height=172mm]
\setuppapersize		[filius][A4,landscape]
\setuparranging		[3SIDE]
\setuplayout		[location=middle,
			alternative=singlesided,
			grid=no, marking=on,
			leftmargin=10mm, leftmargindistance=0mm,
			topspace=2mm, header=4mm, footer=0mm,
			width=77mm, height=166mm]