lilypond-user
[Top][All Lists]
Advanced

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

Problem with /accepts


From: Roman Stawski
Subject: Problem with /accepts
Date: Mon, 17 Apr 2017 21:08:53 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Hello all


I'm coming across a problem with context definitions:

    \version "2.19.59"
    \layout {
        \context {
            \Staff
            \accepts P
        }
        \context {
            \name P
            \alias Voice
        }
    }

    \new Staff {
        \new P \relative c'' { c c c c }
    }


This blows up with the error

Interpreting music...ERROR: In procedure symbol->string:
    ERROR: Wrong type argument in position 1 (expecting symbol): ()
    Exited with return code 1.

If I comment out the '\accepts' compilation finishes, (but ignores the context P obviously).

Could someone let me know what I'm doing wrong here?

Thanks

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus




reply via email to

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