[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conflicting layout blocks causes duplication of music
From: |
Thomas Morley |
Subject: |
Re: Conflicting layout blocks causes duplication of music |
Date: |
Tue, 8 Aug 2017 21:32:30 +0200 |
2017-08-08 21:23 GMT+02:00 David Kastrup <address@hidden>:
> Étienne Beaulé <address@hidden> writes:
>
>> As reported at https://phabricator.wikimedia.org/T49616 in the context of
>> Wikipedia.
>>
>> Using a simpler example:
>>
>> \version "2.18.2"
>> \score {
>>
>> \relative c { c }
>>
>> \layout { indent = 2\cm }
>>
>> \layout {}
>>
>> }
>
> They aren't "conflicting". Each block causes one output to be generated
> under possibly different conditions (and possibly setting different file
> names), just like each \midi block causes a Midi file to be generated.
>
> --
> David Kastrup
David you were faster.
Étienne, you may be confused by the fact that subsequent
_toplevel_-layouts will sort-of merge.
Whereas in this case we're inside the \score-function, they don't "merge".
Nevertheless, one may call it a feature, not a bug. In any case
expected behaviour.
Cheers,
Harm