]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3827: remove the necessity to have a \layout block in a \markup \score ...
authorDavid Kastrup <dak@gnu.org>
Sat, 8 Feb 2014 18:05:16 +0000 (19:05 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 14 Feb 2014 08:35:40 +0000 (09:35 +0100)
commit00e7e96f8393ad1fe86f57cf90f4567142bd4e72
tree7ce68801343d23b57cb85b168a674426cfd9ded4
parent9a2e4509ec1a4004223f63e09dd6342ba261ee71
Issue 3827: remove the necessity to have a \layout block in a \markup \score ...

It turns out that this is not really fixable in the backend since what
is called "layout" in the markup function definitions does not
actually correspond to \layout but rather to \paper.  Very funny.

So this is solved in the parser itself when reading a \score or
\score-lines to be used in a markup or markup list by cloning
$defaultlayout as necessary (which simulates \layout {}) whenever the
score is without an output definition.
lily/parser.yy