On Thu, Jun 16, 2016 at 1:39 PM, David Kastrup <d...@gnu.org> wrote:
> David Kastrup <d...@gnu.org> writes:
>
>> Andrew Bernard <andrew.bern...@gmail.com> writes:
>>
>>> Hi bb and OP,
>>>
>>> To be fair, the question is ambigous, and has two answers. He may be asking
>>> not simply how to break a line at a given location, but rather how to
>>> specify a certain numbers of bars per line - the latter not something that
>>> is obvious or simple in lilypond at all, and yet very frequently desired.
>>>
>>> The Lilypond Snippet Repository provides a solution to specifying a set
>>> number of bars per line in example LSR 838 - and non-trivial it is indeed.
>>
>> Here is a variant with slightly nicer input syntax and several utility
>> functions that should likely be in LilyPond proper.

I agree.

>>
>> It requires a fairly recent version of LilyPond however.
>
> Here is a version with slightly nicer use syntax because \bar-keeper
> does not return an engraver here but rather a context modification.
>

Thank you, David, for improving this.  The use of circular lists makes
this quite a bit less inscrutable than the original.

Best,
David N

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

Reply via email to