Am Sonntag, 7. August 2011, 19:16:11 schrieb ed stuckems:
> Hello:
>
> I'm trying to create images of lilypond output to be included in web
> pages. I've been able to do it but the process is extremely labour
> intensive and I've got to believe there's a more efficient way. Can
> someone please comment on ways to improve my process or suggest a
> different strategy?
Whenever I needs images to include in a LaTeX document or on a webpage, I
simply use the following command call:
LILYPOND_LOGLEVEL=BASIC lilypond -drelative-includes -dbackend=eps \
-dpreview -dno-aux-files --pdf --png -dpixmap-format=pngalpha -o out/ \
FILENAME.ly
This creates FILENAME.{pdf,eps} and FILENAME.preview.{eps,pdf,png} in the out/
directory. -dpreview ensures that the *.preview.* images are cropped, and -
dpixmap-format=pngalpha makes the background of the png images transparent.
There's no need to specify a line width (i.e. paper size) for single-line
snippets, because one-line snippets are layed out with ragged-right.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user