Paul Scott [EMAIL PROTECTED] writes:
Nicolas created the following for me some time ago and it works:
#(define* (textPad padding #:optional once?)
(ly:export ; this is necessary for using the expression
; directly inside a block
(if once?
#{ \once \override TextScript
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicolas Sceaux wrote:
The newer documentation on music functions 12.1 uses
define-music-function instead of define* Where can I find documentation
to make the #:optional once? part above work with define-music-function
so I can write some more
Thanks Sam,
Perhaps I am not asking for help in the right way.
I know these two postings should have been under Canorus but you can
look at them anyway:
https://developer.berlios.de/bugs/?
func=detailbuggroup_id=1bug_id=10693
https://developer.berlios.de/bugs/?
I want to stick an if statement in the middle of setting many values:
This doesn't work. The if block appears to be skipped.
By the way, in the real code, I replace #t with something else, but if
I can't get it to work with #t, there is something wrong with my
understanding.
The later block
Mats Bengtsson mats.bengtsson at ee.kth.se writes:
[...]
What happens is that the \mark allocates extra horizontal space (which
is strange
since it doesn't do that when there is any ordinary stave in the score).
One solution
is to replace the line
\override RehearsalMark #'self-alignment-X
Suppose I have a repeat with alternative endings. There's a slur from the
ending notes of the measure before the alternatives into the first note of
each alternative. Suppose I have the following:
\repeat volta 2 {
a4 ( g fis
}
\alternative {
{ a ) g
It's already been mentioned that midi2ly is broken, so I thought I'd
have a go at fixing it. It's my first encounter with python, so it's
been an amusing experience for me, and it's still a long way off working
perfectly, but it's better than nothing.
Below is a patch for what on my system