Hi everyone!

Is it possible to get a .txt output with a listing of text inputs written
throughout the music file?

I mean, from something like:

\score {
c4 d e f
#{"text 1"#}
g a b c
#{"text 2"#}
d e f g
#{"text 3"#}
}

...to get a .txt file that contains:

text 1
text 2
text 3

I thought that this snippet from the displayMusic function could serve as
basis, but I didn't get anything with it.

{
  #(with-output-to-file "display.txt"
      (lambda () #{ \displayMusic { c'4\f } #}))
}

Thanks,
Daniel



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Text-listing-output-in-txt-file-tp204806.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to