Federico Bruni | 10 Jun 2012 15:16
Picon
Gravatar

footnote duplicated when using StaffGroup

I've started using \footnote today, so I might miss something.
Here the footnote is printed twice, first in Staff, then in TabStaff:

\version "2.15.40"
#(set-default-paper-size "a8landscape")
\header { tagline = ##f }

music =  \relative c' {
   \footnote #'(1 . 1)
   \markup { Text text }
   c
}

\score {
   \new StaffGroup <<
     \new Staff <<
       \context Voice { \clef "G_8" \music }
     >>
     \new TabStaff  <<
       \context TabVoice { \clef "moderntab" \music }
     >>
   >>
}
_______________________________________________
bug-lilypond mailing list
bug-lilypond <at> gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond
(Continue reading)

mike@apollinemike.com | 10 Jun 2012 15:21

Re: footnote duplicated when using StaffGroup

On 10 juin 2012, at 15:16, Federico Bruni wrote:

> I've started using \footnote today, so I might miss something.
> Here the footnote is printed twice, first in Staff, then in TabStaff:
> 
> \version "2.15.40"
> #(set-default-paper-size "a8landscape")
> \header { tagline = ##f }
> 
> music =  \relative c' {
>  \footnote #'(1 . 1)
>  \markup { Text text }
>  c
> }
> 
> \score {
>  \new StaffGroup <<
>    \new Staff <<
>      \context Voice { \clef "G_8" \music }
>    >>
>    \new TabStaff  <<
>      \context TabVoice { \clef "moderntab" \music }
>    >>
>  >>
> }
> <footnote_staffgroup.png>_______________________________________________

You can have multiple footnotes at the same moment (just as the notes are recycled in the staves, so too are
the footnotes).  You can use tags as a workaround.

(Continue reading)

Federico Bruni | 10 Jun 2012 16:20
Picon
Gravatar

Re: footnote duplicated when using StaffGroup

Il 10/06/2012 15:21, mike <at> apollinemike.com ha scritto:
> You can have multiple footnotes at the same moment (just as the notes
> are recycled in the staves, so too are the footnotes).  You can use
> tags as a workaround.

Ok, easy in the minimal example.
I'm having trouble with a real score, but I'll try to figure out what's 
the problem.

\version "2.15.40"
#(set-default-paper-size "a8landscape")
\header { tagline = ##f }

music =  \relative c' {
   \tag #'foot { \footnote #'(1 . 1) \markup { Text text } c }
   \tag #'nofoot { c }
}

\score {
   \new StaffGroup <<
     \new Staff <<
       \context Voice { \clef "G_8" \removeWithTag #'nofoot \music }
     >>
     \new TabStaff  <<
       \context TabVoice { \clef "moderntab" \removeWithTag #'foot \music }
     >>
   >>
}
Colin Hall | 10 Jun 2012 17:13
Picon

Re: footnote duplicated when using StaffGroup

On Sun, Jun 10, 2012 at 04:20:18PM +0200, Federico Bruni wrote:
> Il 10/06/2012 15:21, mike <at> apollinemike.com ha scritto:
> >You can have multiple footnotes at the same moment (just as the notes
> >are recycled in the staves, so too are the footnotes).  You can use
> >tags as a workaround.
> 
> Ok, easy in the minimal example.

As far as I can see this is a feature, rather than a bug, so I'm not
planning to create an issue tracker for this.

Cheers,
Colin.

--

-- 

Colin Hall

Gmane