On 6 November 2011 00:49, jakob lund <jakob.be...@gmail.com> wrote:
> Hello list
>
> I am setting up a lead sheat with chord names. At one point there is a
> descending bassline over a minor chord, and I'd like to display
> something like:
>
> Gm    /f#    /f    /e
>
> i.e. don't repeat the "Gm" with each new bass note.
> To do this, I have
>
> #(define (empty-namer pitch lower?) (make-simple-markup ""))
> rootless = {
>  \once \set chordRootNamer = #empty-namer
> }
>
> and then
>
> g:m \rootless g:/fis \rootless g:/f \rootless g:/e
>
> (I know these are actually major chords, but it produces the display I want).
> Now the problem is that when I use \germanChords, then after I used
> the above trick, \germanChords is no longer in effect.
>
> Minimal working example (for 2.14.2) would be
> ----------------
> #(define (empty-namer pitch lower?) (make-simple-markup ""))
> rootless = {
>  \once \set chordRootNamer = #empty-namer
> }
> \score {
> \new ChordNames {
> \germanChords
> \chordmode{
> b:m
> \once \set chordRootNamer = #empty-namer
> b:/a
> b:m
> }
> }
> }
> -------------------
> the first b:m will be "Hm", the second will be "Bm".
>
> I'd like to know if this is a bug, if yes, is it documented,
> otherwise, how to report it :-)

Hi,

The output is "Hm /a Hm" with 2.15.16.  So I assume if there was a bug
in the way \once \set "falls back to previous" it has been corrected.

Cheers,
Xavier

-- 
Xavier Scheuer <x.sche...@gmail.com>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to