Pdf Toolkit (http://www.pdfhacks.com/pdftk/) is a handy commandline tool for manipulating pdfs. It's useful for extracting pages from Lilypond-generated pdfs; adding pretty titlepages made with (ahem) other apps; inserting the odd page of real Lilypond output into pdfs made with OOo; and altering pdf metadata, among other things.

It's no longer included in Fedora because of a licensing issue, and hasn't made its way into the RPM Fusion repo. The last rpm from Fedora's repo won't install on Fedora 9 or 10, but it can be successfully rebuilt as follows:

wget http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/source/SRPMS/pdftk-1.41-5.fc7.src.rpm

yum install gcc-java

rpmbuild --rebuild pdftk-1.41-5.fc7.src.rpm

(takes a while)

Then on Fedora 9 do:
rpm -ivh /usr/src/redhat/RPMS/i386/pdftk-1.41-5.fc9.i386.rpm

or on Fedora 10:
rpm -ivh /root/rpmbuild/RPMS/i386/pdftk-1.41-5.fc10.i386.rpm

Hope this is useful to someone.



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to