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: Mats Bengtsson
Subject: Re: Help with making new Context and Engraver
Date: Wed, 10 Nov 2004 15:39:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

I hope you have checked that LilyPond really reads the copy of
the engraver-init.ly file that you edit (run lilypond --verbose
to see the full path).

   /Mats

Carl Sorensen wrote:
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





_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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