Am 15.09.2010 um 02:26 schrieb Arild Syme:
I am trying to string 10 pdfs together onto one very wide page so I can print
it as a scroll.
I've tried using texexec as follows:
$texexec --combination=10*1 --pdfcombine infile.pdf
but what I get is 10 pdfs at the top of an A4 sheet.
How do I make a custom page size 1480mm x 210 mm?
I've also tried using a tex file like the following:
\definepapersize [scroll][width=1480mm, height=210mm]
\setuppapersize[A5][scroll]
\setuppaper
[topspace=0mm,
backspace=0mm,
dx=1mm,
dy=0mm,
nx=1,
ny=10,
nx=10,
ny=1
margin=0,
width=148mm,
height=210mm]
\setuplayout
[topspace=0mm,
backspace=0mm,
margin=0mm,
width=1480mm,
height=210mm,
header=0mm,
footer=0mm]
You can just write
\setuplayout[page]
\setuparranging[XY]
\starttext
\insertpages
[input.pdf]
\stoptext
I get the right sized pdf sheet, but all the input.pdf pages are stacked on
top of one another in a big mess all on the right hand side.
This is a alternative solution for your problem:
\starttext
\startTEXpage
\getfiguredimensions[insert.pdf]
\dontleavehmode\dorecurse\noffigurepages{\externalfigure[insert.pdf][page=\recurselevel]}
\stopTEXpage
\stoptext
Wolfgang
___
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___