lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: end-of-line-visible does not work


From: Thomas Morley
Subject: Re: end-of-line-visible does not work
Date: Fri, 10 Aug 2012 17:57:01 +0200

2012/8/10 Phil Holmes <address@hidden>:
> How about:
>
>   s1*64
>   s2. s8. s16
>   ^\markup { \right-align "D.C. al Fine" }
>
> --
> Phil Holmes
>
>
>
> ----- Original Message -----
> From: Loïc Chahine
> To: Phil Holmes
> Cc: address@hidden
> Sent: Friday, August 10, 2012 2:37 PM
> Subject: Re: end-of-line-visible does not work
>
> I tried with another score and it works, that’s weird.
> I can send the two included files, actually there are only two (I am used to
> work with more). Here they are, with the main score. I commented the
> ‘include "def-reprises.ly’ line: it is not useful in this score. That way,
> you should be able to compile the score.
> Let me know if that seems a good way to help or if I should do something
> more tiny.
> L.C.
>
> Le 10/08/12 15:32, Phil Holmes a écrit :
>
> Can you reduce the score to a small one that you can send, which will
> compile independently?  That way we can try to see what you're doing more
> easily.
>
> --
> Phil Holmes
>
>
>
> ----- Original Message -----
> From: Loïc Chahine
> To: address@hidden
> Sent: Friday, August 10, 2012 2:28 PM
> Subject: end-of-line-visible does not work
>
> Hi all!
>
> I am trying to write a Da Capo mark at the end of a score, but
> #end-of-line-visible option seems not to work.
> It is quite hard to send the whole score (it has some includes), but here is
> the Main file:
>
> \version "2.15.42"
>
> \include "def-reprises.ly"
>
> debut = {
>
> \tempo "Vivace"
>
> \time 4/4
>
> \set tupletSpannerDuration = #(ly:make-moment 1 4)
>
> \key b \minor
>
> }
>
> structure = {
>
> \repeat volta 2 {
>
> s1*3
>
> }
>
> \alternative {
>
> { s1 } { s1 }
>
> }
>
> \repeat volta 2 {
>
> s1*7
>
> }
>
> s1*64
>
> \once \override Score.RehearsalMark #'break-visibility =
> #end-of-line-visible
>
> \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
>
> \mark \markup { \smaller "D.C. al Fine" }
>
> }
>
> \score {
>
> \new StaffGroup
>
> <<
>
> \new Staff {
>
> \debut
>
> << \structure
>
> \include "flauto.ly" >>
>
> }
>
> \new Staff {
>
> \debut
>
> \include "violone.ly"
>
> }
>
>>>
>
> }
>
>
> If I comment the ‘\once \override Score.RehearsalMark #'break-visibility =
> #end-of-line-visible’ line, I have my Da Capo mark at the beginning of the
> bar.
>
> Thanks in advance for your help!
>
> L.C.
>
>
> ________________________________
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Hi,

it's a simple counting-mistake in `structure' of score.ly.

Try:

structure = {
  \repeat volta 2 {
    s1*3
  }
  \alternative {
    { s1 } { s1 }
  }
  \repeat volta 2 {
    s1*7
  }
  s1*65  %<=========================================
  \once \override Score.RehearsalMark #'break-visibility = #end-of-line-visible
                \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
                \mark \markup { \smaller "D.C. al Fine" }
}



HTH,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]