Changes

Jump to navigation Jump to search
269 bytes added ,  11:21, 28 May 2012
m
Improve a few sentences; move relevant commands to start; add visual example of test document
< [[Structurals]] | [[Visuals]] >
==What is Imposition?==
To impose means to order place pages on a bigger sheet in such a way, that you one can fold and cut the sheet to 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.Here are some examples:
In a print shop it could be that you've to place * Placing four A5 pages on both sides of an A4 sheet: 1 and 4 on the back, 2 and 3 on the front.* Placing 64 inner pages of a book on one printing sheet, to produce one signature. For private use you could want to zigzag-fold * One of those brochures made by folding an A4 sheet as a brochure that fits nicely in a business envelopeinto three pieces. You One could make typeset this brochure as two pages with three columns each, or you once could make six pages and impose them.* Printing address labels on an A4 sheet, eight labels per sheet.
Another "style" of In general, imposition is to place several identical templates on accessed in ConTeXt using one sheet{{cmd|setuparranging}}, eor from the command line as follows (mkiv and mkii, respectively):<pre>context --pdfarrange=...texexec --pdfarrange=.g. labels.</pre>
==Imposition schemas==
===Default schemas===
ConTeXt has some built-in imposition schemas (see "arranging pages" in the manual):
"form" means "one side of a sheet".
 
You can access this feature via
* {{cmd|setuparranging}}
* <tt>context --pdfarrange=...</tt> (in MkII <tt>texexec --pdfarrange=...</tt>)
{{todo|some graphical examples}}
Here's a convenient test file to help choose a schema or write a new one:
<texcodecontext source=yes>\setuppapersize[A9, landscape][A7, landscape]  % the schema being tested\setuparranging [2*4]  % text describing the schema being tested, to print on the pages\def\Style{[2*4]} % Visuals
\setupbodyfont[ss,10pt]
\setuppapersize [A7][A4] \setuparranging setuplayout [margin=0pt, width=fit, header=2*.8ex, footer=2*4,doublesided.8ex] %% the schema you want to test
\setuppagenumbering [alternative=doublesided,location=footer]
\setuplayout setupheadertexts[margin=0pt,width=fit\CONTEXT\ imposition test]  \showframe
\setupbackgrounds [text][text][background=screen,backgroundscreen=0.7]
 \setupcolors [state=start] % Where the block of pages is placed on the sheet % (Not relevant in this example, but relevant if there is space left over.)
\setuplayout [location=middle,marking=on]
\setuptolerance [tolerant]
 
\def\Style{[2*2*4,doublesided]}
 
\startbuffer[Fakepage]
\strut \blank \midaligned{\Style} \vfill \midaligned{This is page \recurselevel} \vfill
\stopbuffer
 
\setupheadertexts[\CONTEXT\ imposition test document]
\starttext
% \showframe \dorecurse{16}{\getbuffer[Fakepage]\page} \stoptext</texcodecontext>
=== Rearranging existing PDFsPDF s===
ConTeXt is also handy when you need to '''rearrange an existing pdf''' into a booklet. This is a trial-and-error solution by Mari for rearranging an A4 pdf file into 2*8 spreads on A3 sheet (-> A6 pages when printed and cut).
== Caveat: common troubles ==
Note that some features (e.g. table of contentcontents, internal references) are always disabled in imposition mode. So, they will not be included in the pdf if you ask for imposition.
To get rid of this you can use the "arrange" key for texexec.
== Getting the last page of a Booklet ==
When you use imposition to print a booklet you want to put something on the very last page, the <code>quadruple</code> pagebreak did not always fill the remaining pages untill until you get a quadruple number of pages.
<texcode>

Navigation menu