lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5382 Feature


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5382 Feature request: let \layout accept several \layouts stored in variables
Date: Mon, 16 Jul 2018 08:01:08 -0000

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 address@hidden 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 address@hidden 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
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]