Music is entered using
<lilypond relative=1 verbatim> \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4 </lilypond>
of which lilypond-book will produce a HTML with appropriate image tags for the music fragments:
<lilypond relative=2 verbatim> \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4 </lilypond>
For inline pictures, use <lilypond ... />
syntax, e.g.
Some music in <lilypond a b c/> a line of text.
A special feature not (yet) available in other output formats, is the
<lilypondfile>
tag, for example,
<lilypondfile>trip.ly</lilypondfile>
This runs trip.ly through lilypond
(see also
Invoking lilypond), 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.
Read comments on this page, or
add one.
This page is for LilyPond-2.2.6 (stable-branch). |