From bff1751d9aaf9fc2f39b878aa86807d3537c7e5a Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sat, 20 Aug 2011 20:00:22 +0200 Subject: [PATCH] Lilypond-Book: We need the [snippetfile].txt files for makeinfo... Make the .txt file required, otherwise we'll get warnings from makeinfo. Also create the .txt file for MusicXML files --- python/book_snippets.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/book_snippets.py b/python/book_snippets.py index 17935d6359..5d66006913 100644 --- a/python/book_snippets.py +++ b/python/book_snippets.py @@ -686,7 +686,8 @@ printing diff against existing file." % filename) # UGH - junk self.global_options skip_lily = self.global_options.skip_lilypond_run - for required in [base + '.ly']: + for required in [base + '.ly', + base + '.txt']: require_file (required) if not skip_lily: require_file (base + '-systems.count') @@ -935,6 +936,8 @@ printing diff against existing file.") % filename) out = file (filename, 'w') out.write (self.full_ly ()) out.close () + file (path + '.txt', 'w').write ('image of music') + class LilyPondVersionString (Snippet): -- 2.39.2