- **status**: New --> Invalid
- **Comment**:
The code is creating two different `\layout` blocks and then expects to use
both at once. That's just not possible since, as explained in the reference
mail threads, no information remains in the layout blocks how they were created
and which components can be considered "additional".
The normal way to achieve that kind of effect is using context modifications.
There is no equivalent "output modification" which would only carry
modifications to be applied to an existing output definition.
---
** [issues:#5382] Feature request: let \layout accept several \layouts stored
in variables**
**Status:** Invalid
**Created:** Mon Jul 16, 2018 05:42 AM UTC by pkx166h
**Last Updated:** Mon Jul 16, 2018 05:42 AM UTC
**Owner:** nobody
On Sun, 15 Jul 2018 09:24:22 +0200, Malte Meyn <[email protected]> wrote:
> Hi list,
>
> it’s possible to write something like
>
~~~
ambitus = \layout {
\context {
\Voice
\consists Ambitus_engraver
}
}
\score {
\relative { c' d e f g a b c }
\ambitus
}
~~~
>
> or put the \layout variable in a \layout block:
~~~
\score {
\relative { c' d e f g a b c }
\layout { \ambitus }
}
~~~
> Now it would be nice if \layout could accept several such \layout variables:
~~~
musicaFicta = \layout {
\context {
\Voice
suggestAccidentals = ##t
}
}
\score {
\relative { c' d e f g a b c }
\layout {
\ambitus
\musicaFicta
}
}
~~~
> Currently, that gives an “error: bad expression type” for \musicaFicta.
> If not putting \ambitus and \musicaFicta in another \layout layer, that
> will give two scores, one with Ambitus_engraver and one with
> suggestAccidentals.
Also see: thread:
http://lists.gnu.org/archive/html/bug-lilypond/2018-07/msg00043.html
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto