Re: Possible Bug with \partcombine?

2014-11-27 Thread Keith OHara
Joshua Nichols josh.d.nichols at gmail.com writes:

 I was recently typesetting a song, using part combine, from a hymnal. I ran 
into a problem: everytime I ran \partcombine, I found that unterminated 
slur and cannot end slur, were common warnings. I was confused, and so I 
created this small snippet that should reproduce the same issues.\version 
2.18.2
 

I would call it a limitation of the design \partcombine.
\partcombine takes its two inputs and combines them when possible
into one LilyPond Voice.  The resulting music goes through the
rest of LilyPond as usual, and in this case a pair of slurs starts
when \partcombine has produced two Voices, and ends when it only
has one (differnt) Voice holding the chords, so the slurs are left
dangling.

\partcombine on its own is smart enough to avoid switching from
separate stems to chords in the middle of a slur, but when we need
to override its choices, we need to take over completely.

The simplest solution here is to keep the voices separate through
the slurs

two = {
 b a b \partcombineApart c'( b) \partcombineAutomaticOnce a b( c') 
 \partCombineAutomatic }


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Possible Bug with \partcombine?

2014-11-27 Thread Joshua Nichols
 The simplest solution here is to keep the voices separate through the
slurs...

Thanks, this is helpful.

Is there talk about improving this feature? Or do you know of a hack for
getting the desired output?

Your solution will be a solid work around from here on out. Thanks.


Josh
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Possible Bug with \partcombine?

2014-11-27 Thread Keith OHara
Joshua Nichols josh.d.nichols at gmail.com writes:

 Is there talk about improving this feature? 

Yes.

Someone recently gave \partcombine an option to double-stem unisons
http://code.google.com/p/lilypond/issues/detail?id=4112
The example at the top of this follow-up might make more sense
http://code.google.com/p/lilypond/issues/detail?id=4198

In the next experimental version (available on Windows and macOS after
the one person currently practiced at cross-compiling is back from a
trip) you can tell LilyPond just once to double-stem unisons, and
then any notes slurred to those unisons are also kept in separate
Voices so the slurs have a place to go.

The basic mechanism of \partcombine, distributing your music into
Voices and letting the rest of LilyPond work on those, will almost 
certainly stay.  That is awkward sometimes, because we are thinking
of two voices in the input whether set as chords or double-stemmed.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user