[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: hanwenn
Subject: showFirstLength
Date: Mon, 20 Oct 2008 05:17:00 -0700

Reviewers: Valentin Villenave,
File scm/music-functions.scm (right):
Line 827: "set skipTypesetting, make SkipMusic of the given MUS length,
update doc string mus suggests music argument, but you are passing a
Line 836: (ly:moment-main-denominator mus)))
this looks like a good candidate for a function

Line 841: "unset skipTypesetting if set, make SkipMusic of the given MUS
update doc string: you're always unsetting
Line 843: (make-sequential-music
fix indent ; use emacs indent-region
Line 867: ((show-last  (ly:parser-lookup parser 'showLastLength))
one space after var name.
Line 884: 'symbol 'whichBar)))
you may want to do this in 'Timing context.


* new showFirstLength feature
This commit implements a showFirstLength property, that does
the opposite of showLastLength (both properties may be set,
in this case the beginning and the end of the piece are printed,
with a double barline as a separator).

When only showFirstLength is set, the 'length property is
overriden (except if already shorter than the specified first
length) and therefore the compilation will be much faster.

This new feature may be very convenient, e.g. to print the
index of a book containing only the beginning of each \score.

Please review this at

Affected files:
  A input/regression/
  M input/regression/
  M scm/music-functions.scm

reply via email to

[Prev in Thread] Current Thread [Next in Thread]