On Mon, 11 Oct 2010 21:40:30 +0200, Gilles Filippini <gilles.filipp...@free.fr> wrote:
To me the "standard" way would be to have the Volta_engraver doing this
for me, and taking care not to do it when inside \unfoldrepeats {}.

afaik \unfoldRepeats is intended mainly for the output...

maybe you could just override the visibility of the mark when using \unfoldRepeats:

\version "2.12.3"

music = \relative c'' {
  \repeat volta 4 { ais b c d a b c d}
  \once \override Score.RehearsalMark #'break-visibility =
     #begin-of-line-invisible
  \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
  \once \override Score.RehearsalMark #'font-size = #0
  \mark \markup "4x"
}

\score
{
  \new Staff {
    \music  % the mark woild be visible
    \once \override Score.RehearsalMark #'transparent = ##t
    \unfoldRepeats {\music} % the mark
   }
}

the problem is that surprisingly (at least for me) this prints the last mark and not the first :-S

this could be a bug. If nobody disagrees, I'll report that to the bug list.

greetings,

Vicente


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

Reply via email to