[ << lilypond-book ] | [Top][Contents][Index] | [ External programs >> ] |
[ < Texinfo ] | [ Up : Integrating music and text ] | [ DocBook > ] |
3.2.3 HTML
lilypond-book
provides the following commands and environments to
include music in HTML files:
-
the
<lilypond … />
command to directly enter short LilyPond code, -
the
<lilyond>…</lilypond>
environment to directly enter longer LilyPond code, -
the
<lilypondfile>…</lilypondfile>
command to insert a LilyPond file, -
the
<musicxmlfile>…</musicxmlfile>
command to insert a MusicXML file, which gets processed bymusicxml2ly
andlilypond
.
In the input file, music is specified with any of the following commands:
<lilypond options go here> YOUR LILYPOND CODE </lilypond> <lilypond options go here: YOUR LILYPOND CODE /> <lilypondfile options go here>filename</lilypondfile> <musicxmlfile options go here>filename</musicxmlfile>
Additionally, <lilypondversion/>
displays the current version
of LilyPond.
We show some examples here. The lilypond
environment
<lilypond quote fragment staffsize=26> c'4 d' e' f' g'2 g' </lilypond>
produces
The short version
<lilypond quote fragment staffsize=11: <c' e' g'> />
produces
See also
There are specific lilypond-book
command line options and
other details to know when processing HTML documents, see
Invoking lilypond-book
.
[ << lilypond-book ] | [Top][Contents][Index] | [ External programs >> ] |
[ < Texinfo ] | [ Up : Integrating music and text ] | [ DocBook > ] |