]> git.donarmstrong.com Git - lilypond.git/commit
Lilypond-book: Implement MusicXML support in lilypond-book
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 11 Jun 2010 19:19:19 +0000 (21:19 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 18 Aug 2011 20:29:18 +0000 (22:29 +0200)
commit81b5ad4f11cdb296c69fcd2259effbc75a3c9054
tree4401af9079874c3a8f55c2e99abaee926a12ef64
parentf9b28c30a3badc92aaacbb70c56e5114fc1d77ab
Lilypond-book: Implement MusicXML support in lilypond-book

This patch adds support for including MusicXML files into
documents processed by lilypond-book. In particular:
-) HTML: <musicxmlfile options>filename.xml</musicxmlfile>
-) TeX: \musicxmlfile[options]{filename.xml}
-) Texinfo: @musicxmlfile[options]{filename.xml}

Since MusicXML is so verbose, it doesn't make much sense to
support inline MusicXML.

The snippets are basically processed like a lilypond file,
except that musicxml2ly is run on them (with the options given
for the snippet) and the returned lilypond code is then processed
as if it were the original contents of the file.

For the output links, however, the html and texinfo pages will
link to the .xml/.mxl file rather than the intermediate .ly file.

If a file has the extension .mxl, it is assumed to be a compressed
MusicXML file (alternatively, the 'compressed' snippet option can
be given).

What's missing is proper documentation in "Usage". I'm unsure
how to document such new snippet types...
15 files changed:
input/regression/lilypond-book/html-musicxml-file-compressed.htmly [new file with mode: 0644]
input/regression/lilypond-book/html-musicxml-file-options.htmly [new file with mode: 0644]
input/regression/lilypond-book/html-musicxml-file.htmly [new file with mode: 0644]
input/regression/lilypond-book/include.mxl [new file with mode: 0644]
input/regression/lilypond-book/include.xml [new file with mode: 0644]
input/regression/lilypond-book/tex-musicxml-file-options.lytex [new file with mode: 0644]
input/regression/lilypond-book/tex-musicxml-file.lytex [new file with mode: 0644]
input/regression/lilypond-book/texinfo-musicxml-file-options.tely [new file with mode: 0644]
input/regression/lilypond-book/texinfo-musicxml-file.tely [new file with mode: 0644]
python/book_base.py
python/book_docbook.py
python/book_html.py
python/book_latex.py
python/book_snippets.py
python/book_texinfo.py