lilypond-user
[Top][All Lists]
Advanced

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

Re: Triplets


From: J Martin Rushton
Subject: Re: Triplets
Date: Sat, 14 Jan 2017 22:41:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0


On 14/01/17 22:34, Hans Aikema wrote:
> 
>> On 14 Jan 2017, at 23:32, Hans Aikema <address@hidden> wrote:
>>
>>
>>> On 14 Jan 2017, at 23:14, J Martin Rushton <address@hidden> wrote:
>>>
>>>
>>>>
>>> Progress.  That seems to have sorted out the syntax errors but there's
>>> an issue with one variable:
>>> -------------------%<----------------------
>>> Processing `.../file.ly'
>>> Parsing...
>>> Interpreting music...
>>> Preprocessing graphical objects...
>>> Finding the ideal number of pages...
>>> Fitting music on 1 page...
>>> Drawing systems....../file.ly:51:36: While evaluating arguments to eq?
>>> in expression (eq? UP (ly:tuplet-bracket::calc-direction x)):
>>> .../file.ly:51:36: Unbound variable: UP
>>>
>>> exited with status: 1
>>> -------------------%<--------------------
>>>
>> Can you try replacing 
>> UP in that line by 1
>> and DOWN in that line by -1
>> apparently the version of Lilypond in use does not yet have these constatnts 
>> defined (values taken from internalsreference: 
>> http://lilypond.org/doc/v2.19/Documentation/internals/tupletbracket)
>>
>>
>>
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> Better yet… as you mentioned 2.14
> 
> 
> try #UP and #DOWN instead
> (http://lilypond.org/doc/v2.14/Documentation/internals/tupletbracket)
> 
#UP and #DOWN changed one error to dozens :-(
1 and -1 looks more hopeful though :-)
  #(define (invert-direction x) (if (eq? 1
(ly:tuplet-bracket::calc-direction x)) -1 1))

=>

Drawing systems....../file.ly:51:43: In expression
(ly:tuplet-bracket::calc-direction x):
.../file.ly:51:43: Unbound variable: ly:tuplet-bracket::calc-direction

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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