>> If you compile that you can see that the `\score` markup command
>> suppresses page turns because they don't make sense in markup.
> 
> And I suspect that that's why \score-lines isn't called \score as
> well.

Contrary to `\score` (the markup function), which returns a single
markup, `\score-lines` returns a list of markups (for example, three
lines of output yield a three-element list), to be used with other
markup list commands.  You can't mix these commands, so they have to
have different names.  The only exception is `\markup` itself, which
accepts either a markup or a markup list.

>> > My next reaction was: Why is the command the same, when the
>> > behavior is different?
>>
>> For convenience.  Why should it be called differently?
> 
> In \markuplist, there's a command that does something similar but
> has a different name (\score-lines). If I'm understanding correctly
> (a dangerous assumption 8-) ), \score-lines works like TeX's
> horizontal mode, and \score works like its vertical mode. (A \markup
> must appear all on one page.)

The analogy doesn't fit exactly, but yes, it's something similar:
LilyPond's `\score` markup command can be considered the same as TeX's
`\hbox` (i.e., you no longer can reformat the stuff within the box),
while `\score-lines` is approximately the same as TeX's
`\unvbox\vbox`, where the `\vbox` contains one `\hbox` per system.
Note that a markup list can be split between pages.

>> Thanks.  I've solved it a bit differently, please check
>>
>>   https://gitlab.com/lilypond/lilypond/-/merge_requests/2495
>>
>> again.
>>
> 
> I've suggested changing line 3896 to "called @code{\score} that
> doesn't produce MIDI output, even if a @code{\midi} block is
> present,"

Thanks, updated.

> At least I think I did. (I'm not familiar with the system.)

Apparently not.  I can't see any comments of you.  You must be logged
in to be able to comment.  If you hover the mouse over the line
number, a small speech bubble appears, and if you click on the symbol,
you can write a comment, which becomes publicly visible after pressing
the 'Add comment now' button.


    Werner

Reply via email to