[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/stable
lilypond.org/development
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Integrating HTML and music

You specify LilyPond code like this:

     <lilypond relative1 verbatim>
       \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
     </lilypond>
     

Then you run lilypond-book on it, and the result is a file you can process with LaTeX. The final result look like

     <lilypond relative1 verbatim>
       \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
     </lilypond>
     
[picture of music]

For inline pictures, use <lilypond ... /> syntax, eg.

     Some music in <lilypond a b c/> a line of text.
     

A special feature not (yet) available in other output formats, is the <ly2dvifile> tag, for example

       <ly2dvifile>trip.ly</ly2dvifile>
     
This runs trip.ly through ly2dvi (See also Invoking ly2dvi), and substitutes a preview image in the output. The image links to a separate HTML file, so clicking it will take the viewer to a menu, with links to images, midi and printouts.
Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.