bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Page breaking fails for multiline embedded score


From: Nicolas Sceaux
Subject: Re: Page breaking fails for multiline embedded score
Date: Fri, 12 Feb 2010 19:15:37 +0100

Le 12 févr. 2010 à 05:50, Boris Shingarov a écrit :

> Quoting Neil Puttock <address@hidden>:
> 
>> If you do this, you'll have to change the \score command to a
>> markup-list command, since a markup command can only return a single
>> stencil.  This is problematic
> 
> Here is some proof-of-concept code.  I am sure people will point out how it 
> is inconsistent with existing Lilypond conventions, but at least it does fix 
> the bug.

Why not defining e.g. a score-lines markup list command, which can be
used in situations where it is preferable to get one stencil per system.
This just requires a little modification in the parser (to deal with
this new special command, like it is done for the \score markup command),
and to define the \score-lines command in define-markup-commands.scm,
without modifying any other command or existing behavior.
- \score is a markup command, which builds a single stencil for all systems;
- \score-lines is a markup list command, which builds a list of stencils
(one per system).

Nicolas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]