]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/book_latex.py
Lilypond-book: Implement MusicXML support in lilypond-book
[lilypond.git] / python / book_latex.py
index 677e88a1f70fe42a78df7419b8f4f512689c3693..8097443f7f320f01c858e2cac7af597eb6f1de66 100644 (file)
@@ -68,6 +68,17 @@ Latex_snippet_res = {
            (?P<filename>\S+?)
           })''',
 
+    'musicxml_file':
+         r'''(?smx)
+          ^[^%\n]*?
+          (?P<match>
+          \\musicxmlfile\s*(
+          \[
+           \s*(?P<options>.*?)\s*
+          \])?\s*\{
+           (?P<filename>\S+?)
+          })''',
+
     'singleline_comment':
          r'''(?mx)
           ^.*?