[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing functions for large-scale layout
From: |
David Kastrup |
Subject: |
Re: Writing functions for large-scale layout |
Date: |
Fri, 26 Oct 2012 07:14:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> Well, I managed to print a score (omiiting `precesĀ“), but I'm quite
> sure it is not really what you want:
>
> \version "2.16.0"
>
> precesAndResponse =
> #(define-scheme-function (parser location ;preces
> soprano alto tenor bass)
> (;ly:music?
> ly:music? ly:music? ly:music? ly:music?)
> #{
> %\score {
^^^^^^^^^^^^^^^
You comment out the score here, letting the function return music rather
than a "score" data structure. So you could just use a music function
instead.
A score is already scorified and has some other properties.
> \new Score {
> \precesAndResponse \mI \mII \mIII \mIV
> }
The idea was to be able to write
\score {
\precesAndResponse \mI \mII \mIII \mIV
}
and after <URL:http://code.google.com/p/lilypond/issues/detail?id=2928>,
you'll be able to do just that.
--
David Kastrup