Actually your snippet works for me.
The only thing that I noticed is that you specified two layout-blocks and only
the second of the two is used.
You need to put both your variables into the same layoutblock to make them both
apply for the same score, but beware, if you put both variables on the same
line you'll get an error, I don't know why, though, so make sure you write
something like:
\layout {
\keineTaktangabe
\keineTaktzahl
}
Regards,
Tao
-------- Original-Nachricht --------
> Datum: Mon, 2 Mar 2009 16:08:55 +0100
> Von: Stefan Thomas <[email protected]>
> An: lilypond-user <[email protected]>
> Betreff: substitution in layout-block
> Dear lilypond-users,
> I tried to make a substitution in the layout-block, but without
> success. I don't know what could be wrong.
> Here is the short snippet:
> \version "2.12.0"
> keineTaktart = \layout { \context { \Staff \remove
> "Time_signature_engraver"} }
> keineTaktzahl = \layout{ \context { \Score \remove
> "Bar_number_engraver" } }
> \relative {c4 d e f \break g1 }
> \layout { \keineTaktart } \layout{ \keineTaktzahl }
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user