[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: percussion-style
From: |
Jan Nieuwenhuizen |
Subject: |
Re: percussion-style |
Date: |
Mon, 04 Jul 2005 21:27:10 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Mats Bengtsson writes:
> It seems that you need a space before the "=", for some
> silly reason.
Yes. The reason is not so silly, if you know how it works.
After encountering a hash (#) in the input, LilyPond hands the input
stream to GUILE, to parse one scheme expression.
In Scheme, identifiers can consist of (almost) any character.
> \override StaffSymbol #'line-count= #1
In this case, the expression that is parsed is the name of an
identifier, called "line-count=". Then, LilyPond after receiving an
identifier, wants an equal sign.
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org