[ << Updating files with convert-ly ] | [Top][Contents][Index] | [ External programs >> ] |
| [ < Writing code to support multiple versions ] | [ Up: Top ] | [ An example of a musicological document > ] |
3 Running lilypond-book ¶
If you want to add pictures of music to a document, you can simply do it the way you would do with other types of pictures. The pictures are created separately (in PostScript, PDF, or PNG format), and those are included into a LaTeX or HTML document.
lilypond-book provides a way to automate this process: This
program extracts snippets of music from your document, runs
lilypond on them, and outputs the document with pictures
substituted for the music. The line width and font size definitions for
the music are adjusted to match the layout of your document.
This is a separate program from lilypond itself, and is
run on the command line; for more information, see
Command-line usage.5
This procedure may be applied to LaTeX, HTML, Texinfo or DocBook documents.
Footnotes
(5)
Users of LaTeX-based systems
who compile their documents with LuaLaTeX have the option of
using the lyLuaTeX
package as an alternative, which offers seamless integration into
preexisting TeX-based systems without having to preprocess the
documents separately with lilypond-book.
[ << Updating files with convert-ly ] | [Top][Contents][Index] | [ External programs >> ] |
| [ < Writing code to support multiple versions ] | [ Up: Top ] | [ An example of a musicological document > ] |