|
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 first processed by musicxml2ly and then
treated like a normal lilypond snippet in lilypond-book.
The only difference is that the original .xml file is linked
in the output rather than the intermediary .ly file.
I have mainly implemented this so that the MusicXML test
suite can directly link to the .xml file files rather than the
lilypond files, which are not relevant for xml anyway.
I have also extended lilypond-book to allow additional
formatters, so the MusicXML test suite can override the
formatting of the MusicXML snippets in the output (e.g.
because I want to add some to other renderings in the future,
too).
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+381 lines, -43 lines) |
Patch |
 |
M |
Documentation/usage/lilypond-book.itely
|
View
|
1
2
3
|
4 chunks |
+99 lines, -22 lines |
4 comments
|
Download
|
 |
A |
input/regression/lilypond-book/html-musicxml-file.htmly
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/html-musicxml-file-compressed.htmly
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/html-musicxml-file-options.htmly
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/include.mxl
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/include.xml
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/tex-musicxml-file.lytex
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/tex-musicxml-file-options.lytex
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/texinfo-musicxml-file.tely
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
input/regression/lilypond-book/texinfo-musicxml-file-options.tely
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
input/regression/musicxml/GNUmakefile
|
View
|
1
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A |
input/regression/musicxml/book-musicxml-testsuite.py
|
View
|
1
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
M |
python/book_base.py
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
python/book_docbook.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
python/book_html.py
|
View
|
1
|
4 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
python/book_latex.py
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
python/book_snippets.py
|
View
|
1
2
|
8 chunks |
+111 lines, -9 lines |
0 comments
|
Download
|
 |
M |
python/book_texinfo.py
|
View
|
1
|
3 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
scripts/build/lys-to-tely.py
|
View
|
1
2
|
3 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
Total messages: 11
|