Set a maximum height for the graphic of 0.9 text area as well as the current
target width of the text width. And also keep the aspect ratio. So if the
height is small enough, you get full width. Otherwise the graphic is
shrunk enough to keep it all on one page.
Perhaps one can then go back and edit the tune to fit it into fewer
lines.
Add a list of tune first lines to the Booke. First, a small Python script to
filter a .abc file and spit out just enough to give a graphic of the first line
without the title. Then generate these graphics and generate a new section in the Booke
with a longtable of tune name and the first line graphic.
W: is for words/lyrics. None at present in Session tunes, but they do
exist in Morris tunes, and who knows what might happen in sessions in
future. I want to keep the option of adding words.
So move Change: notices back to N:, and have all notes printed.
Switched to A5 portrait. In landscape it stretches the image to fit the
width, and that causes a lot of longer tunes to become too high to fit
properly on the page.
Build the book in a separate build directory. The build generates lots
of .abc files and so forth, which it is convenient to have elsewhere
so you can ignore them. I did experimend with \abcinclude, but that has
a lot of expectations about the files being in the current directory.
If a tune has multiple titles, pick the first.
Adjust abcm2ps options to preserve the line breaks in the ABC.