[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Generating cropped PDFs
From: |
Mojca Miklavec |
Subject: |
Generating cropped PDFs |
Date: |
Tue, 12 Jul 2016 13:07:14 +0200 |
Hello,
I would occasionally like to create cropped PDFs (either entirely
cropped or with some reasonable/configurable margin) without having to
guess the size of the paper for each snippet.
I found a page which seems to contain reasonable answers:
<http://superuser.com/questions/96970/lilypond-is-there-a-way-to-auto-crop-the-paper>
but:
1.) Even if both -dpreview and \include "lilypond-book-preamble.ly"
from the first answer create cropped PDFs, the fonts are screwed up (I
get some very weird ugly font). I'm not sure if this is a bug or not.
2.) The "convert" command from ImageMagick rasterizes the PDF.
3.) I don't want PNGs.
Using "pdfcrop" from TeX Live does the trick, but I wonder if there is
any obvious way to do it from within lilypond that I overlooked (then
I could also configure the margin).
Thank you,
Mojca
(Please CC me.)
- Generating cropped PDFs,
Mojca Miklavec <=