[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: How to generate a minimally sized pdf
From:       David Wright <lilylis () lionunicorn ! co ! uk>
Date:       2017-05-29 14:46:10
Message-ID: 20170529144610.GA6992 () alum
[Download RAW message or body]

On Mon 29 May 2017 at 10:26:51 (+0300), Ivanov Dmitry wrote:
> On 5/29/17, Jeffery Shivers <jefferyshivers@gmail.com> 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic