Лысов Дмитрий <sii...@yandex.ru> writes: > Спасибо, Павел. Структура мне понятна, помогите правильно определить передачу > данных для функции. Если мы прямо записываем в функции > define-scheme-function текстовую строку {e f g h}, то она выводится на > странице: > \new Lyrics > \lyricsto "melody" > {e f g h} > А если заменяю {e f g h} на переменную функции #lyricdown, то получается > ошибка. Функция вызывается > так \makeScore "Удра" {e4 c d f e d c d e d e1} {a b c d} {e f g hh} > Определение функции такое: > makeScore = > #(define-scheme-function (mark notes lyricup lyricdown) (markup? ly:music? > ly:music? ly:music?) > Где ошибка? > > Thank you, Pavel. The structure is clear to me, help me correctly determine > the data > transfer for the function. If we directly write the text string {e f g h} in > the > define-scheme-function, then it is output on the page: > \new Lyrics > \lyricsto "melody" > {e f g h} > And if I replace {e f g h} with a variable of the #lyricdown function, then > an error is > obtained. The function is called > so \makeScore "Удра" {e4 c d f e d c d e d e1} {a b c d} {e f g hh} > The function definition is: > makeScore = > #(define-scheme-function (mark notes lyricup lyricdown) (markup? ly:music? > ly:music? ly:music?) > Where is the error?
What is hh supposed to be? -- David Kastrup