Hi Jeremy,
with ghostscript the paper format is preserved on my Mac. I made a
test file "newfile1.pdf" with your page geometry and put it into an
empty directory to do the following manipulations from the terminal
(just as you apparently did with texec). I'm assuming I want the page
numbers 2, 4 and 5 extracted:
tcsh
foreach i ( 2 4 5)
foreach? gs -dSAFER -dBATCH -dNOPAUSE -dFirstPage=$i -dLastPage=$i -
sDEVICE=pdfwrite -sOutputFile=im$i.pdf newfile1.pdf
foreach? end
gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -
sOutputFile=combine.pdf `ls im*.pdf`
With this, the output file "combine.pdf" has the desired three pages
and also the original page format.
The first line (tcsh) just gets you a shell in which the "foreach"
command is recognized, which I use to loop through the list of pages
to be extracted. The loop creates one file each per extracted page,
and the last line after the loop combines these pages back into a
single document.
I guess someone who really needs this often would want to make this
into a script, but I had to be at a Harry-Potter party today so I'll
just have to hope that this works for you...
Jens
On Jul 18, 2007, at 11:30 PM, Jeremy C. Reed wrote:
I have a 650+ page book of 535.68 x 696.959 pts pages. This is for a
7.44in x 9.68in book (printer calls it Crown Quarto).
I need to just have some selected pages sent to printer to do some
testing.
I used texexec like:
texexec --pdfselect --selection=6,7,20,21 --result=images.pdf
book.pdf
But the generated book is in A4.
Any suggestions on how to texexec to not reformat the pages at all
(and
keep my 7.44in x 9.68in pages)?
Or any other tool or technique to do what I want?
Thanks in advance,
Jeremy C. Reed