Acciaccaturas under slurs

2010-05-15 Thread David Sumbler
Using Lilypond 2.12.1

Normally an acciaccatura is slurred to the following note.

However, in wind music for instance, sometimes an acciaccatura occurs
during a passage which is slurred already.  In that case there is no
reason to print an extra slur on the acciaccatura.

In Lilypond, if I enter:

a4( \acciaccatura b8 c4 d)

I would expect to see three crotchets (A, C and D), slurred from the A
to the D, and with an acciaccatura B on the C.

In practice, I find that Lilypond prints the notes correctly, but
finishes the slur on the C and gives a cannot end slur warning for the
')' marked on the D.  It does not print a small slur from the B to the
C, which is fine so far as I am concerned!

How can I persuade Lilypond to print a slur correctly from the A to the
D?

Any advice gratefully received!

David



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


Re: Acciaccaturas under slurs

2010-05-15 Thread Graham Percival
On Sat, May 15, 2010 at 04:35:22PM +0100, David Sumbler wrote:
 a4( \acciaccatura b8 c4 d)

Known problem; you can't do this.

 How can I persuade Lilypond to print a slur correctly from the A to the
 D?

You can kind-of fake it with a phrasing slur.  \( \)
This runs into problems if you want an acciacatura, slur, and
phrasing slur, though.  If you really need that, I'd fake the
accia slur with postscript.

Cheers,
- Graham

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


Re: Acciaccaturas under slurs

2010-05-15 Thread Neil Puttock
On 15 May 2010 16:42, Graham Percival gra...@percival-music.ca wrote:

 You can kind-of fake it with a phrasing slur.  \( \)
 This runs into problems if you want an acciacatura, slur, and
 phrasing slur, though.  If you really need that, I'd fake the
 accia slur with postscript.

OTOH, if you don't need the slur from the acciaccatura, you can use
\grace with a Stem override:

\relative c' {
  a4(
  \once \override Stem #'stroke-style = #grace
 \grace b8 c4 d)
}

Cheers,
Neil

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


Re: Acciaccaturas under slurs

2010-05-15 Thread David Sumbler
On Sat, 2010-05-15 at 16:42 +0100, Graham Percival wrote:
 On Sat, May 15, 2010 at 04:35:22PM +0100, David Sumbler wrote:
  a4( \acciaccatura b8 c4 d)
 
 Known problem; you can't do this.

Oh!  :-(

  How can I persuade Lilypond to print a slur correctly from the A to the
  D?
 
 You can kind-of fake it with a phrasing slur.  \( \)

Brilliant - that works a treat.  Doing it this way does produce the
usual (but here unnecessary) slur from the acciaccatura to the following
note, but I can live with that.

 This runs into problems if you want an acciacatura, slur, and
 phrasing slur, though.  If you really need that, I'd fake the
 accia slur with postscript.

I rarely use 2 layers of slurs, so it is unlikely to be a problem to me.

Thanks for your speedy reply!

David



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