[EMAIL PROTECTED] writes: > Hi, > > On Fri, 26 Nov 2004, Han-Wen Nienhuys wrote: > > > My suggestion is to skip lilypond-book altogether. Extract the ly code > > directly, and invoke as > > > > lilypond --safe --format=ps --png --pdf FILE > > > > this will make a .png and .pdf for the file specified. > > Okay, I translate > > <lilypond fragment relative=2> > \key c \minor c4 es g2 > </lilypond> > > to > > \paper { > raggedright = ##t > indent = 0\mm > } > \relative c'' { > \key c \minor c4 es g2 > } > > As I don't need a PDF, I used the command line > > lilypond --safe --format=ps --preview --png FILE > > However, in order to use ps2png, I had to patch lilylib.py (see > attachment). Is this patch okay? It replaces a re.match by re.search (as > the %%BoundingBox cannot be at the beginning of the file), and it adds > "-c showpage" to the gs command line (else I don't get BBoxes or PNGs).
Thanks, added. -- Han-Wen Nienhuys | [EMAIL PROTECTED] | http://www.xs4all.nl/~hanwen _______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel