Performance.to_score().show() not displaying title and composer

I’m trying to display a piece of music with a title and composer, and it doesn’t show up with the final pdf. The music is displaying correctly, and editing the time signature works fine, but I can’t seem to get the title and composer to show up.

This is the final output:

Here is my code:



performance = s.stop_transcribing()
performance.to_score(title="title", composer="composer").show()


Got the same problem as you. If you use show_xml() and open up the resulting file in something like Sibelius it does give the Title and Composer. You could then export as a pdf but it is odd why show() doesn’t work. I can’t remember if I’ve ever seen it work as I usually use show_xml().


Thanks, Jonathan! That’s really unfortunate to hear, as I do not have any sheet music editors. I’m really hoping that there is a fix for this that does not require any outside software.
Thanks for the help anyways!

Hi! This is a bug introduced by the newer versions of abjad that made it past my testing. I just pushed a post-release, so if you upgrade your scamp, I think it should fix it. Let me know!

Hi Marc,
the new version works great! Thanks for the help and the update!

1 Like