I have posted an improved version of the "lilycrop" BASH script that checks for multiple PDF pages; if it finds them it bursts the PDF and crops the separate files. It now produces a new PDF file *-crop.pdf instead of overwriting the original PDF produced by lilypond.
It is available at https://github.com/andrewacashner/lilypond/. Please test and give feedback! Thank you to Andrea for the original cropping process (you are credited in the code). Best, Andrew On Thu, Jan 15, 2015 at 2:42 AM, <lilypond-user-requ...@gnu.org> wrote: > 2. Re:bottom of EPS output cut off (+ size of PDF files) (Jayaratna) > 3. Re:bottom of EPS output cut off (+ size of PDF files) (Jayaratna) > Message: 2 > Date: Wed, 14 Jan 2015 20:37:26 -0700 (MST) > From: Jayaratna <jayara...@gmail.com> > To: lilypond-user@gnu.org > Subject: Re: bottom of EPS output cut off (+ size of PDF files) > Message-ID: <1421293046505-170496.p...@n5.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Hi Andrew, > > this Bash is going to be VERY(!!!) useful for me, thank you VERY(!!!!!!!) > much for posting it, > > Andrea > > > Message: 3 > Date: Wed, 14 Jan 2015 20:54:24 -0700 (MST) > From: Jayaratna <jayara...@gmail.com> > To: lilypond-user@gnu.org > Subject: Re: bottom of EPS output cut off (+ size of PDF files) > Message-ID: <1421294064752-170497.p...@n5.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Hi Andrew, > > I'd like to add two lines to your bash, but I need assistance: > > After > > lilypond "$file" > > I'd like to burts the file into multiple pdfs (one per page) and I do this > by: > > pdftk "$file".pdf burst > > This makes one pdf file per page with the following output: > > originalpdf.pdf > > originalpdf01.pdf > originalpdf02.pdf > originalpdf03.pdf > ... etc. > > Can I adapt this line: > > pdftops -eps "$file".pdf > > to manage the multiple single pages pdf? > > Thank you, > Andrea > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user