[XeTeX] Copying some pages from one PDF to another

Wybo Dekker wybo at servalys.nl
Wed Apr 29 17:42:43 CEST 2009


Wolfgang Schuster wrote:
> Am 29.04.2009 um 16:32 schrieb Pander:
> 
>> What (open source) alternatives exist to create a new PDF from a
>> selection of pages from another PDF(s).
> 
> pdfpages (for LaTeX) or pdftk

this is used by ruby script vpp: http://www.servalys.nl/scripts/vpp
documentation at http://www.servalys.nl/scripts/doc/files/vpp.html
The script needs http://www.servalys.nl/scripts/scriptingutils.rb

can be used interactively or on the commandline.
commandline examples:

$ vpp --batch='1,3,5 otest' cvs.pdf

creates test.pdf, containing pages 1,3,5 from cvs.pdf

$ vpp --batch='1,2,153-160,3-152 ocvs' cvs.pdf

rearranges pages in cvs.pdf, replacing the original

-- 
Wybo


More information about the XeTeX mailing list