Re: Can't use addArticulation function

2021-05-29 Thread Jean Abou Samra
Le 29/05/2021 à 22:10, Ivanov Dmitry a écrit : Hi Dmitry, Isn't it possible to simply use the pre-packaged installer? The current 32-bit version is https://lilypond.org/download/binaries/linux-x86/lilypond-2.22.1-1.linux-x86.sh Lukas Yes, tried that. It worked. This is much easier. But

Re: Can't use addArticulation function

2021-05-29 Thread Ivanov Dmitry
Hi Dmitry, Isn't it possible to simply use the pre-packaged installer? The current 32-bit version is https://lilypond.org/download/binaries/linux-x86/lilypond-2.22.1-1.linux-x86.sh Lukas Yes, tried that. It worked. This is much easier. But now I started to get warnigns: Fontconfig warning:

Re: Can't use addArticulation function

2021-05-29 Thread Lukas-Fabian Moser
Hi Dmitry, It worked, thanks. Upgrading now, but it's not as easy as I expected. I don't know much about Slackware, but I'm surprised you seem to try and compile LilyPond yourself. Isn't it possible to simply use the pre-packaged installer? The current 32-bit version is https://lilypond.o

Re: Can't use addArticulation function

2021-05-29 Thread Ivanov Dmitry
Now that's a good moment to switch from 2.18.2 to a more recent version of LilyPond :-). David Nalesnik's code you copied used syntax simplifications from the next LilyPond generation. It works with 2.18.2 if you replace #(define-music-function (scripts music) (list? ly:music?) by #(define-

Re: Can't use addArticulation function

2021-05-28 Thread Lukas-Fabian Moser
Hi Dmitry, This works. But as soon as I uncomment "music" definition, it starts to give an error: ./test.ly:23:50: error: unrecognized string, not in text script or \lyricmode music = \addArticulation #'("staccato") { | c4 d e f | } /usr/local/lilypond/usr/share/lilypond/current/scm/ly-syntax-c

Re: Can't use addArticulation function

2021-05-28 Thread Jean Abou Samra
Le 28/05/2021 à 22:45, Ivanov Dmitry a écrit : I need to add staccato signs to all the notes in a group. I read this thread: http://lilypond.1069038.n5.nabble.com/Function-to-add-articulation-to-all-notes-td208433.html and copied addArticulation function from it. But unfortunately when I try

Can't use addArticulation function

2021-05-28 Thread Ivanov Dmitry
I need to add staccato signs to all the notes in a group. I read this thread: http://lilypond.1069038.n5.nabble.com/Function-to-add-articulation-to-all-notes-td208433.html and copied addArticulation function from it. But unfortunately when I try to use it I get and error. Here is my attempt: add