Hi David,

Am 29.04.2013 16:15, schrieb David Nalesnik:
Hi Urs,


On Mon, Apr 29, 2013 at 9:02 AM, Urs Liska <u...@openlilylib.org <mailto:u...@openlilylib.org>> wrote:

    The NR (1.2.3 "Displaying Rhythms") states that time signatures
    "are printed at the beginning of a piece and whenever the time
    signature changes."

    But if I write

    music = {
      \time 3/4
      R2.*4
      \time 3/4
      R2.
    }

    the time signature is printed a second time although it doesn't
    change (to my understanding)

    a) Is this intended behaviour? And if yes, shouldn't it be documented?


I would think that you should need to tell LilyPond to force the unusual situation of a redundant time signature as it's not typical practice. It shouldn't be possible to do something unusual like this through oversight.
OK, I see.

    b) How can I achieve that the time signature is only printed if it
    is actually different from the one currently in use?


This question came up here:
http://www.mail-archive.com/lilypond-user@gnu.org/msg72613.html

Hopefully the engraver (see second version) still works!
Yes, it works with 2.16 and 2.17.17.

Thank you very much!

    c) How can I achieve the same (only displaying if really changed)
    for key signatures and clefs?


Possibly that engraver can be adapted. (I can't try now as my job is calling).
Although I've done my first steps with Scheme by now I don't see any chance to try that myself. So I'd be extremely grateful if you could give it a try.

This will surely become part of openLilyLib, and I think it should also be included in LilyPond proper (because this 'uncommon' behaviour should be possible, I think (Trevor even thought it were a bug, isn't it))

Best
Urs

Best,
David

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

Reply via email to