bug-lilypond
[Top][All Lists]
Advanced

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

Re: LM 2.4.1: errors in variable definitions


From: David Kastrup
Subject: Re: LM 2.4.1: errors in variable definitions
Date: Sun, 17 Jul 2016 11:44:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Federico Bruni <address@hidden> writes:

> Il giorno dom 17 lug 2016 alle 10:45, Malte Meyn
> <address@hidden> ha scritto:
>>
>>
>> Am 17.07.2016 um 09:16 schrieb Federico Bruni:
>>>
>>> 3. width variable triggers this error:
>>> error: unknown escaped string: `\cm'
>>>
>>> I don't know how to fix this,
>>
>> Put the definition of width into an \paper block. cm seems to be
>> unknown outside.
>>
>> \paper {
>>   width = 4.5\cm
>> }
>
> Of course, but this is the standard \paper property and the whole
> point of the example in the documentation is defining variables.
>
> We may omit the unit and use the default one (millimeters). But I
> wonder if this is a bug or there's a better way to define such a
> variable.

I thought the default unit was staff spaces?  Don't quote me on that but
I thought that the main mess was that the definition of \cm changed when
one changed the default staff size.

-- 
David Kastrup



reply via email to

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