On Mon 29 May 2017 at 10:26:51 (+0300), Ivanov Dmitry wrote: > On 5/29/17, Jeffery Shivers <[email protected]> wrote: > > > I believe other people have inquired about auto-cropping and > > such in the past, too! Might be worth searching the archives (or just > > googling to get there faster). > > I tried this: > > $lilypond -dpreview file.ly > > And it worked: gave me "file.preview.pdf", that was auto-cropped. Idea > taken from here: > > https://superuser.com/questions/96970/lilypond-is-there-a-way-to-auto-crop-the-paper > > Thank you.
Happy that you're happy. But the advantage of pdfcrop is that it works whereas -dpreview doesn't. (There happens to be an active thread here on that matter¹.) You also add a tool to your armoury that you can use on many other² PDFs, LilyPond related or not, including ones that you didn't produce yourself. ¹ http://lists.gnu.org/archive/html/lilypond-user/2017-05/msg00515.html ²Obviously not PDFs that are actually just wrapped images, and it doesn't like completely blank pages. Cheers, David. _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
