David Nalesnik <[email protected]> writes: > Hi Janek, > > >> > \layout { >> > \context { >> > \Staff >> > \consists #stacc-corrector >> > } >> > } >> >> i wanted to include your engraver in Fried Songs project, but there's an >> error. >> Unfortunately i don't have time to debug this problem at the moment, >> but maybe the error message will give you an idea what is happening? >> >> In procedure string= in expression (string= (ly:prob-property # #) >> "staccato"): >> Wrong type argument in position 1 (expecting string): () >> >> I've just pasted the definition and context modification to main .ly >> file... When i used it as a separate snippet everything was fine. >> > > Try changing the context from Staff to Voice -- that's where I should have > put it in the first place!
from the docs: script-interface: This grob interface is used in the following graphical object(s): *note AccidentalSuggestion::, *note DynamicText:: and *note Script::. Quite a lot of stuff created without an articulation-type, so you should be using eqv? rather than string= ... -- David Kastrup _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
