Re: Programming question

2014-11-25 Thread David Nalesnik
Harm, On Tue, Nov 25, 2014 at 11:54 AM, Thomas Morley wrote: attached my own attempt using Davids work and some recyceled > own codings. > Very nice! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond

Re: Programming question

2014-11-25 Thread David Nalesnik
On Tue, Nov 25, 2014 at 8:49 AM, Jay Vara wrote: > Trying to force the lyric in David's program to associate with the > Staff/Voice, I added a name "jun" to the voice and see if that worked. > [...] In this case, the lyrics, that is the pitch numbers, did not show up at > all! Wonder why? > I

Problem to write a function for markup

2014-11-25 Thread Jacques Menu
Hello folks, I tried the following to obtain a centered, colored fingering indication: \version "2.18.2" doigte = #(define-music-function (parser location music doigte) (ly:music? markup?) #{ \once\override TextScript.self-alignment-X = #CENTER #music ^\markup{\large\bold #doigt

Re: Programming question

2014-11-25 Thread David Nalesnik
On Tue, Nov 25, 2014 at 12:42 PM, Jay Vara wrote: > This version seems to work. You are creating a list of lyric-events to be > fed to the parser rather than a string - is that the difference? Hopefully > I can understand your code within a few days. > > Interestingly, b-flat is coming out as b r

Re: Programming question

2014-11-25 Thread Jay Vara
This version seems to work. You are creating a list of lyric-events to be fed to the parser rather than a string - is that the difference? Hopefully I can understand your code within a few days. Interestingly, b-flat is coming out as b rather than bes. Or rather b is shown as b-flat on the staff.

Re: Programming question

2014-11-25 Thread Thomas Morley
2014-11-25 15:49 GMT+01:00 Jay Vara : > Trying to force the lyric in David's program to associate with the > Staff/Voice, I added a name "jun" to the voice and see if that worked. > > noteNameToLyric = > > #(define-void-function (parser location lst) (list?) > > (let* ((str (t lst)) > > (str (strin

Re: Programming question

2014-11-25 Thread Thomas Morley
2014-11-25 15:49 GMT+01:00 Jay Vara : > Trying to force the lyric in David's program to associate with the > Staff/Voice, I added a name "jun" to the voice and see if that worked. > > noteNameToLyric = > > #(define-void-function (parser location lst) (list?) > > (let* ((str (t lst)) > > (str (strin

Re: Programming question

2014-11-25 Thread Jay Vara
Trying to force the lyric in David's program to associate with the Staff/Voice, I added a name "jun" to the voice and see if that worked. noteNameToLyric = #(define-void-function (parser location lst) (list?) (let* ((str (t lst)) (str (string-append "{ " str "}"))) (display str) (newline) (ly

Re: Problems / questions around a choir partition

2014-11-25 Thread Markus Baertschi
> Not really a bug, more an enhancement: it didn't work this way in > any release before 2.19. Yet another far-sighted improvement by > David Kastrup! I find it at least surprising that text formatting alignment is suddenly broken in that context. Good that it work now ! > http://www.lilypond.or

Re: Problems / questions around a choir partition

2014-11-25 Thread Trevor Daniels
Markus Baertschi wrote Tuesday, November 25, 2014 7:47 AM > Thanks Trevor ! My pleasure. > Yes, looks like a bug in 2.18. I've installed 2.19 and there is works. Not really a bug, more an enhancement: it didn't work this way in any release before 2.19. Yet another far-sighted improvement by