Changes

Jump to navigation Jump to search
664 bytes added ,  10:40, 2 November 2011
PDF imposition instructions updated (do not mention texexec any more...), another example added.
=== Rearranging existing PDFs===
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). The <tt>texexec.tex</tt> file that was created by the first tries with <tt>texexec --pdfarrange</tt> (which didn't seem to have enough options) was a great help while working towards this solution.
Not sure about the margins on the final A6 pages (the original has equal left and right margins, some extra inside margin might be a good thing), but at least otherwise this seems to do the trick:
\setuppapersize[A6][A3] %individual page A6 size, print size A3
\setuparranging[2*8,rotated] %makes an 8 page gathering when folded (duplex printing!)
\setupoutput[pdf]
\setuplayout
[backspace=0pt,
\stoptext
 
</texcode>
 
For proofing one sometimes wants to pick just some pages and when the original is A5, it is kind of handy to put them side-by-side for proofing. The command [[cmd:\filterpages]] allows you to define exactly what pages are needed. Be warned, though, that the page numbers refer to the pages in the pdf file, not the page numbers.
 
<texcode>
 
\setuppapersize[A5][A4] %individual page A5 size, print size A4
\setuparranging[2SIDE,rotated] %2 pages side by side, rotated to landscape to fit portrait A4
\setuplayout
[backspace=0pt,
topspace=0pt,
width=middle,
height=middle,
location=middle,
header=0pt,
footer=0pt]
\setuppagenumbering[alternative=doublesided]
 
\starttext
 
\filterpages
[file.pdf][2,5,16:19][width=0pt] %picks pdf pages 2, 5, and 16-19.
 
\stoptext
 
 
For more information, see [[Including pages from PDF document]].
</texcode>
102

edits

Navigation menu