]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/book_latex.py
Merge branch 'master' into lilypond/translation
[lilypond.git] / python / book_latex.py
index 1faa57639bda653ec807c9844232b672c9bd762a..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)
           ^.*?
@@ -106,6 +117,7 @@ Latex_output = {
 
     OUTPUT: r'''{%%
 \parindent 0pt
+\noindent
 \ifx\preLilyPondExample \undefined
 \else
   \expandafter\preLilyPondExample