ptoye wrote
> Thanks, but in this case I'm more interested in why what I wrote doesn't
> work.
> 
> 
> 
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Cannot-use-layout-in-a-variable-tp199054p199073.html
> Sent from the User mailing list archive at Nabble.com.
> 
> _______________________________________________
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

I understand your question just fine. 

When you just asked:
"How does the parser know when the variable definition has finished if it
can be on multiple lines?"

...I took that to mean exactly that. Variables.

The layout block has braces as well, it's not different in that respect. It
needs braces like all other expressions, just like the manual says. Variable
or not. Just was trying to help.

i.e.

\layout {
  indent = 2\cm
  \context {
    \StaffGroup
    \override StaffGrouper.staff-staff-spacing.basic-distance = #8
  }
  \context {
    \Voice
    \override TextScript.padding = #1
    \override Glissando.thickness = #3
  }
}




-----
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Cannot-use-layout-in-a-variable-tp199054p199079.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to