Perhaps this might be an XY problem with X=markuplist and Y=page-breaking?

The NR example in [1] for printing stanzas after a score uses *markup* to generate the stanzas, but I have a situation with so many stanzas that they must allow automatic page breaking within a stanza, i.e. they should behave like a *markuplist*.

My MWE below shows both the markup and markuplist examples I tried (I want to keep the lyric lines undecorated like this for post processing reasons, so this follows "Verse 3" in the NR examples):

\version "2.24.3"

\markup { \column \string-lines "
    A
    B
    C
"}

\markuplist { \column-lines \string-lines "
    A
    B
    C
"}

The markup case, as expected produces three lines at the top of the first page with A B and C respectively.

But the markuplist case puts in page breaks between *every* line of the lyrics (all five lines of this A B C example) so the whole MWE output is six pages.  Both examples together should easily fit on  single page.  I only want page breaks where stanzas must flow onto a new page.

I tried page-count = 1 but that causes the two examples to overlap.  Same with page-breaking = #ly:minimal-breaking.

Is there some other \paper setting I should be using?  Using ragged-bottom had no effect (##t or ##f).

What am I missing?

TIA,
Jeff

[1] 
https://lilypond.org/doc/v2.24/Documentation/notation/stanzas#printing-stanzas-at-the-end


Reply via email to