lilypond-devel
[Top][All Lists]
Advanced

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

Re: Help with making new Context and Engraver


From: Carl Sorensen
Subject: Re: Help with making new Context and Engraver
Date: Wed, 10 Nov 2004 07:28:13 -0700

On Wed, 2004-11-10 at 01:31, Han-Wen Nienhuys wrote:
> address@hidden writes:
> > 
> > Someone (probably Score) should accept the FretDiagram
> 
> >engraver.
> 
> (context)
> 

I changed the name of the context from FretDiagram to FretDiagrams, for
consistency with ChordNames.

Then I added a line to engraver-init.ly:

\context {
    \type Score_engraver
    \name Score
<snip>
    \accepts "FiguredBass"
    \accepts "FretDiagrams"
<snip>
}

I also added a line  '\accepts "FretDiagrams"' to every context that
accepts ChordNames.



I still get this error:

Interpreting music... warning: Cannot find or create `FretDiagrams'
called `uniqueContext1'

Any further ideas?

Carl







reply via email to

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