lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] MusicXML support in lilypond-book


From: Reinhold Kainhofer
Subject: [PATCH] MusicXML support in lilypond-book
Date: Fri, 11 Jun 2010 21:42:32 +0200
User-agent: KMail/1.13.3 (Linux/2.6.32-22-generic; KDE/4.4.4; i686; ; )

Please review: 
http://codereview.appspot.com/1659041


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 an included 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.

This also has the consequence that the image in the output 
will link to the converted lilypond file rather than the 
MusicXML file. Currently, I like this better, but it can be
easily changed if the majority thinks otherwise.

What's missing is proper documentation in "Usage". I'm unsure 
how to document such new snippet types...

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]