]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/musicxml2ly.py
Convert miscellaneous description elements to texidoc items.
[lilypond.git] / scripts / musicxml2ly.py
index 0990ff124baa00d6010ca816bb4a43690c1b4e92..172f1a8d3e44b5e36bd07141c6e7db899f9052d4 100644 (file)
@@ -229,7 +229,10 @@ def extract_score_information(tree):
         set_if_exists('encoder', ids.get_encoding_person())
         set_if_exists('encodingdescription', ids.get_encoding_description())
         set_if_exists('source', ids.get_source())
-        set_if_exists('miscellaneous', ids.get_file_description());
+
+        # <miscellaneous><miscellaneous-field name="description"> ... becomes
+        # \header { texidoc = ...
+        set_if_exists('texidoc', ids.get_file_description());
 
         # Finally, apply the required compatibility modes
         # Some applications created wrong MusicXML files, so we need to