DescriptionIssue 5437 Improve markup->string
'all-relevant-markup-commands' is now a toplevel-defined procedure.
So it is not longer a part of the rekursive 'markup->string'.
It needs to be a procedure, because not all bindings of the
lily-module are already done in markup.scm, so it should be
evaluated at the time 'markup->string' is called.
Additionally we gain the chance to have user-defined
markup-commands from '(current-module)' been processed as well.
Formerly uncatched markup-commands with string?-predicate are
special-cased: wordwrap-string-markup, justify-string-markup and
simple-markup.
Others are added to 'markup-commands-to-ignore'
Patch Set 1 #Patch Set 2 : simplify, catch string-markups #Patch Set 3 : simplify, catch string-markups #
Total comments: 4
Patch Set 4 : Paul's review #MessagesTotal messages: 11
|