From 3d3de8e64c3575398be835570b839901f5c68d65 Mon Sep 17 00:00:00 2001 From: Mats Bengtsson Date: Fri, 27 Oct 2006 12:05:45 +0000 Subject: [PATCH] * ly/gregorian-init.ly (neumeDemoLayout): update minimumVerticalExtent -> VerticalAxisGroup #'minimum-Y-extent * scm/define-context-properties.scm, ly/engraver-init.ly: Remove obsolete verticalExtent / extraVerticalExtent / minumumVerticalExtent --- ChangeLog | 8 ++++++++ lily/axis-group-engraver.cc | 4 ---- ly/engraver-init.ly | 10 ---------- ly/gregorian-init.ly | 4 ++-- scm/define-context-properties.scm | 18 ------------------ 5 files changed, 10 insertions(+), 34 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc0aeb1007..33a1d4429f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-10-27 Mats Bengtsson + + * ly/gregorian-init.ly (neumeDemoLayout): update + minimumVerticalExtent -> VerticalAxisGroup #'minimum-Y-extent + + * scm/define-context-properties.scm, ly/engraver-init.ly: Remove + obsolete verticalExtent / extraVerticalExtent / minumumVerticalExtent + 2006-10-27 Erlend Aasland * GNUmakefile.in ($(tree-share-prefix)/mf-link-tree link-mf-tree): diff --git a/lily/axis-group-engraver.cc b/lily/axis-group-engraver.cc index d80bbde853..e6ad51e683 100644 --- a/lily/axis-group-engraver.cc +++ b/lily/axis-group-engraver.cc @@ -40,10 +40,6 @@ Axis_group_engraver::get_spanner () return make_spanner ("VerticalAxisGroup", SCM_EOL); } -/* - TODO: should we junk minimumVerticalExtent/extraVerticalExtent ? -*/ - void Axis_group_engraver::finalize () { diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index 4c759f3029..b80ae738a3 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -56,8 +56,6 @@ \consists "Script_row_engraver" \override VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4) - extraVerticalExtent = ##f - verticalExtent = ##f localKeySignature = #'() createSpacing = ##t ignoreFiguredBassRest = ##t @@ -136,8 +134,6 @@ contained staves are not connected vertically." \type "Engraver_group" \override VerticalAxisGroup #'minimum-Y-extent = ##f - extraVerticalExtent = ##f - verticalExtent = ##f localKeySignature = #'() createSpacing = ##t @@ -360,8 +356,6 @@ staffs, with a bracket in front and spanning bar lines. " \context{ \type "Engraver_group" \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 2.4) - extraVerticalExtent = ##f - verticalExtent = ##f \description " Corresponds to a voice with lyrics. Handles the printing of a single line of lyrics. " @@ -395,8 +389,6 @@ printing of a single line of lyrics. " \consists "Axis_group_engraver" \override VerticalAxisGroup #'minimum-Y-extent = ##f - extraVerticalExtent = ##f - verticalExtent = ##f \consists "Rest_swallow_translator" @@ -422,11 +414,9 @@ printing of a single line of lyrics. " voltaOnThisStaff = ##f \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 2.5) - extraVerticalExtent = ##f \override SeparatingGroupSpanner #'padding = #0.8 \override VerticalAxisGroup #'remove-first = ##t \override VerticalAxisGroup #'remove-empty = ##t - verticalExtent = ##f } diff --git a/ly/gregorian-init.ly b/ly/gregorian-init.ly index 163116b4f5..3a02ecc59e 100644 --- a/ly/gregorian-init.ly +++ b/ly/gregorian-init.ly @@ -1,6 +1,6 @@ %{ Shortcuts common for all styles of gregorian chant notation. - $Id: gregorian-init.ly,v 1.48 2006/10/22 20:19:31 reuter Exp $ + $Id$ %} \version "2.7.39" @@ -299,7 +299,7 @@ neumeDemoLayout = \layout { \override StaffSymbol #'transparent = ##t \remove "Time_signature_engraver" \remove "Bar_engraver" - minimumVerticalExtent = ##f + \override VerticalAxisGroup #'minimum-Y-extent = ##f } \context { \Voice diff --git a/scm/define-context-properties.scm b/scm/define-context-properties.scm index 2e03ec1aae..fe32b4ecd9 100644 --- a/scm/define-context-properties.scm +++ b/scm/define-context-properties.scm @@ -210,10 +210,6 @@ visibility for normal (i.e. at the start of the line) key signatures.") extra natural sign before accidentals changing from a non-natural to another non-natural.") - (extraVerticalExtent ,number-pair? - "extra vertical extent, same format as @var{minimumVerticalExtent}") - - (figuredBassCenterContinuations ,boolean? "Whether to vertically center pairs of extender lines. This does not work with three or more lines") (figuredBassPlusDirection ,ly:dir? "Where to put plus signs relative to the the main figure.") @@ -316,8 +312,6 @@ selects the highest string with a fret at least @code{minimumFret}") (minimumPageTurnLength ,ly:moment? "Minimum length of a rest for a page turn to be allowed") (minimumRepeatLengthForPageTurn ,ly:moment? "Minimum length of a repeated section for a page turn to be allowed within that section") - (minimumVerticalExtent ,number-pair? "minimum vertical extent, same -format as @var{verticalExtent}") (output ,ly:music-output? "The output produced by a score-level translator during music interpretation") (ottavation ,string? "If set, the text for an ottava spanner. Changing this creates a new text spanner. ") @@ -443,18 +437,6 @@ property, you can make brackets last shorter. Example (useBassFigureExtenders ,boolean? "Whether to use extender lines for repeated bass figures") - (verticalExtent ,number-pair? "Hard coded vertical extent. The format -is a pair of dimensions, for example, this sets the sizes of a staff -to 10 (5+5) staff-spaces high. - -@example -\\set Staff.verticalExtent = #'(-5.0 . 5.0) -@end example - - -This does not work for Voice or any other context that doesn't form a -vertical group.") - (verticallySpacedContexts ,list? "List of symbols, containing context names whose vertical axis groups should be taken into account for vertical spacing of systems.") -- 2.39.5