Am 3. April 2012 15:17 schrieb Siska Ádám <sa...@sadam.hu>:
> Dear List,
>
>
> is there a way to put the layout block for a score in a variable that lives 
> in a separate file? Unfortunately the following won't compile:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> myMusic = \relative d' {
>  d4 d d d
> }
>
> myLayout = \layout {
>   \context {
>    \Staff
>    \remove "Clef_engraver"
>  }
> }
>
> \score {
>  \myMusic
>  \myLayout
> }
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> I tried several other ways to export the content of the layout block, but 
> none of them succeeded. I'm writing parts of an orchestral piece and I'd like 
> to include the layout definition for these scores in a separate file.
>
>
> Thanks for any help,
> Ádám

Hi,

try:

\layout { \myLayout }

Cheers,
  Harm

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to