[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Re: Non-music variables seem not to work in Lilypond 2.19.54-1
From:       Colin Campbell <cpkc () shaw ! ca>
Date:       2017-02-05 23:51:42
Message-ID: a9cd6f4f-4201-1630-2d6a-7d67364327a9 () shaw ! ca
[Download RAW message or body]

On 2017-02-05 04:08 PM, Simon Albrecht wrote:
> On 05.02.2017 09:45, Tom Campbell wrote:
>>> I'm not top posting
>> % Lilypad version required for non-music variables
>> \version "2.19.54"
>>
>>
>> % I believe one should now be able to create non-music variables, at 
>> least
>> according to:
>> %
>> http://lilypond.org/doc/v2.19/Documentation/learning/organizing-pieces-with-variables 
>>
>> % I am attempting to create style sheet-like thingies for book 
>> publishing.
>> % This gives the error "Ignoring non-music expression" in Lilypond 
>> 2.19.54-1
>
> More importantly, before that it gives the error ‘unknown escaped 
> string: `\fontsize''.
> That's because \fontsize is a markup command and you are using it in a 
> music expression.
> Please refer to <lilypond-user@gnu.org> for help on your use case.
>

Just to expand a bit on Simon's reply: anything inside brackets is taken 
as a music expression by LilyPond, while \fontsize needs to be placed in 
a non-musical container, such as a \markup. I see you are working 
through the Learning Manual, and you will find more help a bit further 
down in 3.4.4 and 4.7.2 of that manual. Simon has also recommended that 
you try posting to the user list first, for your next questions, keeping 
the bug list for those issues which cannot be answered elsewhere.


Cheers

Colin

-- 
I like to believe that people in the long run are going to do more to 
promote peace than our governments. Indeed, I think that people want 
peace so much that one of these days governments had better get out of 
the way and let them have it.
  - Dwight D. Eisenhower, U.S. general and 34th president (1890-1969)

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic