Am So., 10. Mai 2026 um 15:19 Uhr schrieb Dan Eble <[email protected]>:
>
> On 2026-05-10 06:36, Thomas Morley wrote:
> > #(pretty-print (ly:duration->string (ly:make-duration -3)))
> > returning:
> > "log = -3"
> >
> > Is it possible to let it return "maxima" (similar for "longa", "breve")?
> > To be more precise, this is a request to modify ly:duration->string (I
> > have already some clumsy custom code to deal with negative durations).
> Are you looking for `duration->lily-string`?
>
> https://gitlab.com/lilypond/lilypond/-/blob/d41c7ad45aa1558e91776f398bfd490d94222366/scm/define-music-display-methods.scm#L104
>
> --
> Dan
>

Great hint!

Btw, grepping for `ly:duration->string` in the repository returns very
little matches.
Maybe we could replace them with `duration->lily-string`?

Thanks,
  Harm

Reply via email to