Integrating HTML and music - GNU LilyPond
Description: GNU LilyPond

Next: Integrating DocBook and music, Previous: Integrating Texinfo and music, Up: LilyPond-book

### 14.4 Integrating HTML and music

Music is entered using

    <lilypond fragment relative=2>
    \key c \minor c4 es g2
    </lilypond>

`lilypond-book` then produces an HTML file with appropriate image tags for the music fragments:

For inline pictures, use `<lilypond ... />`, where the options are separated by a colon from the music, for example

    Some music in <lilypond relative=2: a b c/> a line of text.

To include separate files, say

    <lilypondfile option1 option2 ...>filename</lilypondfile>

Next: Integrating DocBook and music, Previous: Integrating Texinfo and music, Up: LilyPond-book

This page is for LilyPond-2.10.33 (stable-branch).