From b17f008445c3b080866f74fc3f4f5f5d6d7ada2c Mon Sep 17 00:00:00 2001 From: hanwen Date: Mon, 18 Aug 2003 11:40:45 +0000 Subject: [PATCH] (Beaming): add note about allowBeamBreak --- ChangeLog | 7 ++++++- Documentation/user/refman.itely | 6 ++++++ ly/declarations-init.ly | 10 ++++++++-- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 095ba888cf..1171f0b19d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-18 Han-Wen Nienhuys + + * Documentation/user/refman.itely (Beaming): add note about + allowBeamBreak + 2003-08-18 Juergen Reuter * lilypond.words, ly/engraver-init.ly, ly/params-init.ly: added @@ -115,7 +120,7 @@ 2003-08-08 Han-Wen Nienhuys * Documentation/topdocs/INSTALL.texi (Top): change GUILE - requirements. + requirements to plain 1.6. * buildscripts/mutopia-index.py (read_lilypond_header): update mutopia-index.py to 1.4 syntax [sic] diff --git a/Documentation/user/refman.itely b/Documentation/user/refman.itely index e7f41991d6..cba52fd95b 100644 --- a/Documentation/user/refman.itely +++ b/Documentation/user/refman.itely @@ -1297,6 +1297,12 @@ Kneed beams are inserted automatically, when a large gap is detected between the note heads. This behavior can be tuned through the object property @code{auto-knee-gap}. +Normally, line breaks are forbidden when beams cross bar lines. This +behavior can be changed by setting @code{allowBeamBreak}. + +@cindex @code{allowBeamBreak} +@cindex beams and line breaks + @cindex beams, kneed @cindex kneed beams @cindex auto-knee-gap diff --git a/ly/declarations-init.ly b/ly/declarations-init.ly index e434054613..f755987679 100644 --- a/ly/declarations-init.ly +++ b/ly/declarations-init.ly @@ -18,8 +18,14 @@ stop = 1 smaller = -1 bigger = 1 center=0 - -break = #(make-event-chord (list (make-penalty-music -10001))) + +%{ + +should also set allowBeamBreak, but how to do it "portably"? (ie. also +working with lyric sections) + +%} +break =#(ly:export make-event-chord (list (make-penalty-music -10001))) noBreak = #(make-event-chord (list (make-penalty-music 10001))) \include "scale-definitions-init.ly" -- 2.11.4.GIT