Joe Neeman [Fri, 1 Oct 2010 23:10:54 +0000 (16:10 -0700)]
Fix drastic overestimation of staff heights.
The outside-staff simulation in f530eeb5bba has severe problems
when there many outside-staff objects per bar. This patch
mitigates the problems by assuming that outside-staff objects
don't intersect with each other (but only with the staff).
Joe Neeman [Tue, 28 Sep 2010 21:22:46 +0000 (14:22 -0700)]
Improve pure-height estimations with outside-staff-priority.
Since outside-staff placing using outside-staff-priority can
only be done properly when horizontal positioning is available,
the pure-height estimates did not take outside-staff-priority
into account at all. This commit does a better approximation
to outside-staff placement, in which the outside-staff placements
are computed assuming that the outside-staff grobs in one bar
do not collide with those in the next bar.
The estimates are still bad for RehearsalMark and other grobs
that live at the Score level.
Part-combine: Add a way to override the part-combination decision
Add functions partcombineApart[Once], partcombineChords[Once],
partcombineUnisono[Once], partcombineAutomatic[Once] etc. to tweak the
decision of the part-combiner.
Internally, they are implemented using PartCombineForceEvent
These events are not processed by an engraver as most other events,
but rather directly in Scheme by the part-combiner.
don't return prematurely if no fingerings have been created, since this
allows listened events to build up from skipped music, resulting in
the creation of extra fingerings on the first visible notehead
Neil Puttock [Sat, 25 Sep 2010 23:43:29 +0000 (00:43 +0100)]
Fix #372.
Thanks to Carl for providing the inspiration for this patch.
* input/regression/auto-beam-partial-grace.ly:
new regtest
* input/regression/display-lily-tests.ly:
remove TODO for scaled duration \partial test
* lily/partial-iterator.cc (new file):
use a simple music iterator to calculate the correct measurePosition
setting, and warn for \partial used after the start of a score
* scm/define-music-display-methods.scm:
simplify display method for partial: since the new music object `PartialSet'
carries the original duration from the parser, extra code for converting
moments to durations is no longer required
Graham Percival [Fri, 24 Sep 2010 13:34:18 +0000 (14:34 +0100)]
Doc: remove a \new Score.
This particular case doens't need any games with \score or
\layout; the \new Score was a typo. Other cases will probably not
be as easy as this one. :)
Graham Percival [Sun, 19 Sep 2010 15:37:17 +0000 (16:37 +0100)]
LSR: escape double backslashes.
4+4+10 backslashes on one line to do this?! How the bloody mao
can people (including myself) still refer to python as a "highly
readable language" ?
Also, I'm appalled at the state of makelsr.py. A few years ago it
was a nice and simple script; now it's a confusing mess of regex,
some stuff in functions, some stuff in global, etc. It took me
over an hour to add the "escape double backslahes" to this script.
Granted, I'm an idiot without previous experience with regex...
but hey, I'm the only person to work on this bug in the over 3
years. I think our python+build scripts need to be written with
idiots in mind, because smart people are too busy doing other
stuff.
James Lowe [Sat, 18 Sep 2010 09:10:49 +0000 (10:10 +0100)]
Doc: Tracker 1241 - Second Patch
Replaced Tec accented chars with UTF-8 ones.
Also made the space for each @[section] similar in essence to
@lilypond examples. There is nothing in CG about .bib file layout.
Also corrected some missed spacing edits from the previous patch.
James Lowe [Fri, 17 Sep 2010 14:28:38 +0000 (15:28 +0100)]
Doc: Tracker 1241 - First Patch
Replaced Tex accented chars with UTF-8 ones.
Also made the spacing for each @Book @TechReport @MastersThesis etc similar
in essence to @lilypond examples as there is nothing in the CG about spacing
or indentation. So I used some common sense and applied some consistency
throughout. There may still need be some more consistency applied (i.e. set
and explicit order of each entry (author, index, year, pages etc.).