Patrick,

Are you sure \transpose changes the key signature? It doesn't work for me,
unless the \key is inside the \transpose, which won't generally be the
case, since I put \key in a \global ... or is there some easier way to
manage \transpose and \key? (I would like a way to \transpose all voices in
a piece with a single command rather than putting an individual \transpose
on each voice.)

Also, the snippet is quite simplified; I really do need the two-voice
construct. The actual treble clef's first measure is

<< { \appoggiatura { g16 ([a] } \voiceOne g4) (c8 g) a4 (b) } \\ {
\appoggiatura { s8 }<g e>2 <f c>4 <g d>} >>

where the \voiceOne is need to prevent warnings about too many clashing
note columns (which I also don't understand, but it does work, more or
less).


Thanks,

Fred



On 9 November 2013 15:38, pls <[email protected]> wrote:

>
> On 09.11.2013, at 21:06, Frederick Bartlett <[email protected]>
> wrote:
>
> Urs,
>
> Thanks for that; I have been putting spacers everywhere. But now I have a
> new problem: My wife just asked me (she's the musician, I'm just the
> engraver) to transpose the piece up a half step. So, I put a \transpose c
> des {} around every voice and changed the \key in my \global to des\major.
>
> Frederick,
>
> Don't change the key to des\major. \transpose c des {} will do it for you.
>
>
> Now, in my first bar (which has an appoggiatura), the key signature shows
> up on the third beat (literally 'on': it's superimposed over the notes),
> even though I have the spacers everywhere. This snippet shows most of the
> problems, though not the superimposition, and the key signature comes after
> the appoggiatura instead of on the third beat of the measure:
>
> \version "2.16"
>
> \book {
> \score {
> \new Staff = "treble" <<
> \new Voice = "treble1" <<
> \key des\major
> \time 4/4
> \transpose c des { \relative c''' {
> << { \appoggiatura { g16 ([a] } g2 g ) } \\ { \appoggiatura { s8 } e2 e}
> >> |
> }}
> >>
> >>
> \layout {
> }
> }
> }
>
> There is no need for temporary polyphony here. This solution is easier:
>
> \version "2.16"
>
> \book {
>   \score {
>     \new Staff = "treble" <<
>       \new Voice = "treble1" <<
>         \transpose c des {
>           \key c\major
>           \time 4/4
>           \relative c''' {
>             \slurUp
>             \appoggiatura { g16 ([a] } <e g>2 <e g> ) } |%1
>           }
>       >>
>     >>
>     \layout {
>     }
>   }
> }
>
> hth
> patrick
>
> While the snippet shows the problem it doesn't show the rather
> uninformative message I get when engraving the larger piece:
> Preprocessing graphical objects...
> programming error: Object is not a markup.
> continuing, cross fingers
> I guess I should look up debugging options ....
>
> Thanks again,
> Fred
>
>
>
> On 9 November 2013 14:23, Urs Liska <[email protected]> wrote:
>
>>  It is a common problem.
>> You have to put an appogiatura with spacer rests in all voices.
>>
>> Hth
>> Urs
>>
>>
>>
>> Frederick Bartlett <[email protected]> schrieb:
>>>
>>> I'm running Lilypond 2.16.2 inside Frescobaldi 2.0.10 on Fedora 19.
>>>
>>> This gives two 'C' time signatures, one before and one after the
>>> appoggiatura:
>>>
>>> \version "2.16"
>>>
>>> \book {
>>> \score {
>>> \new Staff = "treble" <<
>>> \new Voice = "treble1" <<
>>> \key c\major
>>> \time 4/4
>>> \relative c''' {
>>> << { \appoggiatura { g16 ([a] } g1) } \\ { <g e>1} >> |
>>> }
>>> >>
>>> >>
>>> \layout {
>>> }
>>> }
>>> }
>>>
>>> If I comment out the \time 4/4, I get only one 'C', in the usual place.
>>>
>>> If I change the \time to 3/4 (and the note values to 2.), then I get a
>>> 'C' before the appoggiatura and a '3/4' after.
>>>
>>> Is this a known bug? I couldn't find it, though I did see discussions of
>>> problems with appoggiaturi and bar lines in general ...
>>>
>>> Thanks!
>>> Fred
>>>
>>> --
>>> “To my knowledge I have no knowledge.” -- John Kerry, the Secretary of
>>> State of the United States of America, in response to Senator Barbara
>>> Boxer, 3 Sep 2013
>>>
>>> ------------------------------
>>>
>>> lilypond-user mailing list
>>> [email protected]
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>
>
> --
> “To my knowledge I have no knowledge.” -- John Kerry, the Secretary of
> State of the United States of America, in response to Senator Barbara
> Boxer, 3 Sep 2013
>  _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>


-- 
“To my knowledge I have no knowledge.” -- John Kerry, the Secretary of
State of the United States of America, in response to Senator Barbara
Boxer, 3 Sep 2013
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to