[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Placement of clefs at repeat bars
From: |
Thomas Morley |
Subject: |
Re: Placement of clefs at repeat bars |
Date: |
Sat, 3 Feb 2018 21:22:38 +0100 |
Hi Peter,
2018-02-03 20:08 GMT+01:00 ptoye <address@hidden>:
> I've found that this is was reported as an "ugly" in 2011.
Plese provide the link.
> I think it's a bug
> as the output is definitely incorrect.
Look at the following examples
(1)
%\unfoldRepeats
\new Staff {
\time 4/4
\clef "bass"
c'2 c'
\repeat volta 2 { c' c' | \clef "treble" c' c' \clef "bass" }
c' c'
}
Imho, all's correct, even if you uncomment unfoldRepeats
(2)
%\unfoldRepeats
\new Staff {
\time 4/4
\clef "treble"
c'2 c'
\repeat volta 2 {
%\clef treble
c' c' | c' c'
\clef "bass"
}
c' c'
}
Here the bass-clef at end-repeat is misleading.
Uncommenting unfoldRepeats will lead to likely undesired results
(which can be fixed by uncommenting the treble-clef at start-repeat)
Though, how should LilyPond behave differently?
The clef at end-repeat can't know which one is valid at start-repeat.
So I tend to "no bug" or rather "won't fix".
I don't see a possibility to make it work without adding a wagonload of code.
Likely in C++, so I'm out anyway.
Instead you can add the proper clef at start-repeat (it will not be
printed unless forced), to fix repeatUnfold, and use something at the
lines of the override Mark provided already.
Cheers,
Harm
- RE: Placement of clefs at repeat bars, (continued)
- RE: Placement of clefs at repeat bars, Mark Stephen Mrotek, 2018/02/04
- Re: Placement of clefs at repeat bars, Peter Toye, 2018/02/05
- RE: Placement of clefs at repeat bars, Mark Stephen Mrotek, 2018/02/05
- Re: Placement of clefs at repeat bars, Peter Toye, 2018/02/20
- RE: Placement of clefs at repeat bars, Mark Stephen Mrotek, 2018/02/20
- Re: Placement of clefs at repeat bars, Peter Toye, 2018/02/20
- RE: Placement of clefs at repeat bars, Mark Stephen Mrotek, 2018/02/20
- RE: Placement of clefs at repeat bars, Mark Stephen Mrotek, 2018/02/20
- Re: Placement of clefs at repeat bars, Thomas Morley, 2018/02/20
- Re: Placement of clefs at repeat bars, Peter Toye, 2018/02/21
Re: Placement of clefs at repeat bars,
Thomas Morley <=