lilypond-user
[Top][All Lists]
Advanced

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

Re: fraction-with-notes problem as of version 2.21.0


From: Thomas Morley
Subject: Re: fraction-with-notes problem as of version 2.21.0
Date: Tue, 9 Apr 2019 20:52:27 +0200

Am Di., 9. Apr. 2019 um 07:42 Uhr schrieb Jacques Menu <address@hidden>:
>
> Hello folks,
>
> This snippet taken from LPNR 2.19.82 is handled alright by the latter, but 
> fails with 2.21.0:
>
> %%%%%%%
> \version "2.21.0"
>
> \relative c'' {
>   \once \override TupletNumber.text = #(tuplet-number::fraction-with-notes 
> "4." "8")
>   \tuplet 3/2  { c4. c4. c4. c4. }
> }
> %%%%%%%
>
> Starting lilypond 2.21.0 [foo.ly]...
> Processing `/home/user/libmusicxml-git/files/samples/musicxml/foo.ly'
> Parsing...
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> fatal error: make-note-markup: Invalid argument in position 1.  Expect: 
> duration, found: "4.".
> Exited with return code 1.
>
> Has something changed in that area in 2.21.0?

Yes, with https://sourceforge.net/p/testlilyissues/issues/5156/

Did you try convert-ly from 2.21.0? Make sure your file has the
\version-statement according to LSR, i.e. 2.18.2
You would get:

\relative c'' {
  \once \override TupletNumber.text =
    #(tuplet-number::fraction-with-notes
      (ly:make-duration 2 1)
      (ly:make-duration 3 0))
  \tuplet 3/2  { c4. c4. c4. c4. }
}

But this works as well:

\relative c'' {
  \once \override TupletNumber.text =
    #(tuplet-number::fraction-with-notes #{ 4. #} #{ 8 #})
  \tuplet 3/2  { c4. c4. c4. c4. }
}

Cheers,
  Harm



reply via email to

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