Integrating HTML and music - GNU LilyPond
Description: GNU LilyPond

Next: Music fragment options, Previous: Integrating Texinfo and music, Up: LilyPond-book

### 13.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>

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

Other languages: English.
Using automatic language selection.