[Top][All Lists]

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

Re: Fwd: Help

From: Jean Abou Samra
Subject: Re: Fwd: Help
Date: Sun, 21 Nov 2021 16:52:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 21/11/2021 à 15:50, Leonid Hrabovsky a écrit :
Jean, there is the log of my attempt to do your code -
# -*-compilation-*-
Processing `C:/Users/LH/Documents/Scores/LilyPond Scores/Hrabovsky Lines'
error: program too old: 2.20.0 (file requires: 2.22.1)
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-Sr3odJ'...
Converting to `/Users/LH/Documents/Scores/LilyPond Scores/Hrabovsky Lines Test-1.pdf'...
Deleting `./tmp-lilypond-Sr3odJ'...
fatal error: failed files: "C:\\Users\\LH\\Documents\\Scores\\LilyPond Scores\\Hrabovsky Lines"

Do I have to upgrade the version to 2.22.1 only - or there are necessary additional corrections for success?

Hello Leonid,

As requested by Harm, please keep the address of the
mailing list in copy. This is so that other people can
see the replies, add their own comments, and benefit
from already proposed solutions in the future. So,
in your mail client, click "Reply to all", not "Reply".

If you can upgrade to version 2.22, that would be best.
In version 2.20, you would have to use a different
syntax for \override in markups, like this:

\version "2.20.0"

#(define-markup-command (draw-horizontal-arches layout props len) (number?)
    #:properties ((thickness 0.1)
                  (arch-length 5)
                  (arch-height 1.5)
                  (angularity 0.2)
      (let loop ((x-pos 0.0)
                 (path-acc '()))
        (if (> x-pos len)
            (reverse! path-acc)
            (loop (+ x-pos arch-length)
                    `(rcurveto ,(* 1/2 angularity arch-length)
                               ,(- arch-height)
                               ,(- arch-length (* 1/2 angularity arch-length))
                               ,(- arch-height)

\markup \draw-horizontal-arches #20

  \override #'(thickness . 0.2)
  \override #'(arch-length . 10)
  \override #'(arch-height . 3)
  \override #'(angularity . 0.8)
\draw-horizontal-arches #20

Best regards,

reply via email to

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