It seems that you forgot to include your new context into the context
hieararchy, see section "Defining new contexts" in the manual for
instructions
on how to do that using the \accepts keyword.
/Mats
John Zaitseff wrote:
Dear LilyPond users,
I have searched the LilyPond documentation, lilypond-user mailing list
archives and the LilyPond snippet repository---all without success...
The question is: how do I define a BraceStaff that is exactly like a
ChoirStaff, except that braces are used instead of brackets at the start of
systems? In particular, I tried to define the following in my stylesheet
(which gets included into all my documents):
\layout {
\context {
\type "Engraver_group"
\name "BraceStaff"
\alias "ChoirStaff"
\description
"Just like @code{ChoirStaff} but with a brace (SystemStartBrace)
instead of a bracket (SystemStartBraclet) at the start of
each system."
\consists "System_start_delimiter_engraver"
systemStartDelimiter = #'SystemStartBrace
}
}
\midi {
\context {
\type "Performer_group"
\name "BraceStaff"
\alias "ChoirStaff"
}
}
When compiling a file with these lines, LilyPond 2.10.33 does not complain
about the definitions, but it DOES complain that it cannot find them:
warning: can't find or create new `BraceStaff'
I'm attaching a sample LilyPond document to illustrate this problem. Any
help is appreciated, as this little problem has already taken rather a lot
of hours of my time... :-)
Yours truly,
John Zaitseff
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user