DescriptionAllow defining markup commands in LilyPond syntax
This works with assignments of the form
\markup with-red = \markup \with-color #red \etc
or similar. The resulting definition (in addition to being available
as \with-red command inside of markups) can be used with the `markup'
macro and also gets a `make-with-red-markup' convenience function.
Also contains commits:
markup-partial regtest: use \markup function assignment
Changes: show \markup xxx = ... \etc assignments
Parser: let `assignment_id' return a symbol
That's actually what's needed rather than a string.
Split off `markup-lambda' from `define-markup-command'
Also markup-list-lambda from define-markup-list-command.
Let `make-markup' fetch the signature itself
Also don't export it from markup-macros.scm: it is an internal function.
Reorganize markup commands to use object properties
This loosens the ties between the actual markup function and its
calling methods.
Patch Set 1 #
Total comments: 2
MessagesTotal messages: 3
|