On 2016/01/30 23:32:17, dak wrote:

https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm#newcode4783
scm/define-markup-commands.scm:4783: (split-lst lst columns '())))
We've had this a few times.  A markup-list? argument is not
necessarily a list
of markups.  It can also be a markup list command call.  The only
thing you can
reliably do before starting list processing is to call
interpret-markup-list on
the _whole_ markup-list argument.  Only _then_ can you start splitting
the
resulting list of stencils.

Thinking more about: it's not easily predictable how many stencils a
markup list command call will return.
Thus I extended the code, adding point-stencils to last row of the
table, if needed, i.e. if (pseudo-code)
(/ (length stencils) number-of-columns)
is not integer.



https://codereview.appspot.com/289980043/

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to