|
From: | Boris Shingarov |
Subject: | Re: Page breaking fails for multiline embedded score |
Date: | Wed, 10 Feb 2010 19:36:07 -0500 |
User-agent: | Webmail 5.0 |
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
Well, you just described all the problems this leads to; so why not relax the rule of markup command returning a single stencil? That means modifying interpret-markup-list (or who takes the leaf stencils? wordwrap-internal-markup-list maybe?) to not assume that what are now stencils to be combined, are in fact single stencils; test for stencil? and on the #t branch, add the stencil to the list like it does now, on the #f branch the return value is a list of stencils, add them all.
Do you think this approach is reasonable?
[Prev in Thread] | Current Thread | [Next in Thread] |