Neil Puttock [Mon, 26 Jul 2010 00:02:52 +0000 (01:02 +0100)]
Fix #1192.
System separator positioning depends on correct calculation of the
paper-system property 'staff-refpoint-extent, but this is incorrect for
systems which include Staff-like contexts since the
Vertically_spaced_contexts_engraver fails to acknowledge axis-groups whose
origin context is aliased to Staff.
Though it's simple to enhance the axis-group acknowledger to detect aliased
contexts, a better solution is to remove the Vertically_spaced_context_engraver:
spaceability is now determined by 'staff-affinity, so the engraver's more
limited functionality can be folded into System::get_paper_system ().
* lily/system.cc (get_paper_system):
calculate 'staff-refpoint-extent via VerticalAlignment and
Page_layout_problem::is_spaceable ()
remove 'spaceable-staves
* lily/vertically-spaced-context-engraver.cc:
delete
* ly/engraver-init.ly:
remove Vertically_spaced_context_engraver and verticallySpacedContexts
- The "real music" example overrides the line-width in the call
to lilypond, but the overriden length is too small, resulting
in an unwanted line break. Note that if the line-width is not
overridden the break occurs at the end of measure 2, resulting
in a collision of the phrasing slur with the 6/4 time signature.
This example should be reconsidered as part of issue 1015.
- Use explicitly instantiated voices (thanks Neil)
First, it becomes a better example to show newcomers.
It also ensures the voice contexts remain visible so collision
avoidance works correctly, even if a break occurs at the end
of measure 3. However, if the overridden line-width is
removed the break occurs after measure 2, and causes the
phrasing slur to collide with the 6/4 time signature, even with
explicit voice declarations.
Patrick McCarty [Wed, 14 Jul 2010 02:29:13 +0000 (19:29 -0700)]
Fix #413.
The `convert-to-png' procedure did not account for the 'landscape
setting, so a portrait orientation was always used.
This commit fixes the issue, so that width and height dimensions are
swapped whenever landscape orientation is set for full-page PNG output.
Additionally, I extracted some common routines from `convert-to-pdf' and
`convert-to-png' into three separate procedures: `output-width-height',
`output-resolution', and `output-filename'.
James Lowe [Mon, 12 Jul 2010 23:13:35 +0000 (00:13 +0100)]
Doc: Additions to Repeats Section in NR
Corrected typo
Made following examples more consistent with the preceding ones.
Expanded some examples to help user work through some functions
Minor re-arranging of paragraphs and examples.
-) Remove all checks for exactly one or two notes as arguments to a
tremolo repeat
-) Create proper beaming for multi-note tremolo (so far, the
chord-tremolo-engraver always assumed exactly two beamed notes)
-) Extend the make-repeat function to scale the notes properly also
in the case of multi-note tremolos
patch from issue 1786041 on codereview.appspot.com
James Lowe [Sun, 11 Jul 2010 22:12:57 +0000 (23:12 +0100)]
Doc: 989 - tidy up last checkin
Change files names of snippets to match doctitle
Edited relevant snippet list (to remove old file names)
Edited NR itely files to reflect change of snippet name
lilypond-book-vars.make: Play together with other stepmake files. Fixes dist.
* Drop `LILYPOND_BOOK_'-prefix from variables; there is nothing
lilypond-bookness about these
* Drop all regular (ly/doc) *_FILES from extra-dist files. Fixes
duplicate files in dist list.
Neil Puttock [Sun, 4 Jul 2010 17:06:47 +0000 (18:06 +0100)]
Docs: Snippets: Rename new snippets so titles match file names.
Doctitles and file names for new snippets must match, since they'll eventually
be migrated to LSR following a version bump. This will prevent docs compile
breakage for new selected snippets.
Patrick McCarty [Sat, 3 Jul 2010 22:30:11 +0000 (15:30 -0700)]
Build: Let Autoconf check its own minimum version.
After invoking `autoconf', Autoconf will check to see if it is older
than the minimum required version.
Right now, we require Autoconf 2.60, which is specified at the top of
configure.in:
AC_PREREQ(2.60)
If Autoconf < 2.60 is installed, an error message is produced:
$ ./autogen.sh
processing .
Running autoconf ...
configure.in:4: error: Autoconf version 2.60 or higher is required
configure.in:4: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
Lilypond-book: Check for dblatex and pdflatex for the regtests
Generate pdf from tex/xml only if they exist. Otherwise, simply link
to the .tex and .xml files in collated-files.html rather than to
the resulting pdf.