Hi, Phil:
After I send the following email, I play around with some lilypond code. If I
remove the syspem-per-page = 6 the \break breaks at the intended place. The
same is true if I use sysrem-per-page = 0. I have no idea and don't
understand. Any help is appreciated.
Blessing in+,
Ming.
>________________________________
> From: MING TSANG <[email protected]>
>To: Phil Holmes <[email protected]>; lilypond-usermailinglist
><[email protected]>
>Sent: Friday, April 20, 2012 10:39:54 AM
>Subject: Re: \break not working properly
>
>
>Hi, Phil:
>
>
>I try to put \override NonMusicalPaperColumn #'line-break-permission =
##f
>
> in \paper and it doesn't produce as intended - it
>breaks with extra break before the \break.
>Then I try to put the code inside the \relative c' { } and it doe snot
>work either.
>Then I try to put the code inside \layout \context { } and it does not work
>either.
>
>
>Question: Where do I pur the \override
>
>
>Blessing in+,
>Ming.
>
>
>>________________________________
>> From: Phil Holmes <[email protected]>
>>To: MING TSANG <[email protected]>; lilypond-usermailinglist
>><[email protected]>
>>Sent: Friday, April 20, 2012 7:44:45 AM
>>Subject: Re: \break not working properly
>>
>>
>>
>>You can over-ride automatic breaking
with
>>
>>\override NonMusicalPaperColumn #'line-break-permission =
##f
>>
>>
>>Phil
Holmes
>>
>>
>>----- Original Message -----
>>>From: MING TSANG
>>>To: lilypond-usermailinglist
>>>Sent: Friday, April 20, 2012 2:40
PM
>>>Subject: \break not working
properly
>>>
>>>
>>>Sorry about this long snippet. The \break seems not working all the
>>>times. I am puzzled - if I don't use both "\include and its content" the
>>>\break works as intended. There must have some coding inside the \include
>>>that make the \break not behave as intended. Help appreciated.
>>>
>>>
>>>% {
>>>\version "2.15.37"
>>>\include "english.ly"
>>>%\include "include_number-notehead_smaller.ly"
>>>#(define Ez_numbers_engraver
>>>(list
>>>(cons 'acknowledgers
>>>(list
>>>(cons 'note-head-interface
>>>(lambda (engraver grob source-engraver)
>>>(let* ((context (ly:translator-context engraver))
>>>(tonic-pitch (ly:context-property context 'tonic))
>>>(tonic-name (ly:pitch-notename tonic-pitch))
>>>(grob-pitch
>>>(ly:event-property (event-cause grob) 'pitch))
>>>(grob-name (ly:pitch-notename grob-pitch))
>>>(delta (modulo (- grob-name tonic-name) 7))
>>>(note-names
>>>(make-vector 7 (number->string (1+ delta)))))
>>>(ly:grob-set-property! grob 'note-names
>>>note-names))))))))
>>>EzNum = {
>>>\easyHeadsOn
>>>\override Staff.StaffSymbol #'staff-space = #1.4
>>>\override Staff.StaffSymbol #'line-thickness = #1.4
>>>\override Staff.NoteHead #'font-size = #+2.5
>>>\override Staff.Clef #'font-size = #+1.25
>>>\override Staff.TimeSignature #'font-size = #+1.25
>>>\override Staff.Accidental #'font-size = #+1.25
>>>\override Voice.NoteHead #'font-size = #-5.0
>>>}
>>>ti = " : My God, How Wonderful Thou Art"
>>>st = "...................."
>>>sy=6
>>>
>>>%\include "include_paper-header-footer-filename-footnote.ly"
>>>date = #(strftime "%Y-%m-%d" (localtime (current-time)))
>>>#( define comml ( object->string (command-line )))
>>>#( define loc ( + (string-rindex comml #\space ) 2 ))
>>>#( define commllen ( - (string-length comml ) 2 ))
>>>#( define filen ( substring comml loc commllen ))
>>>\header {
>>>title = \ti
>>>subtitle = \st
>>>composer = \date
>>>arranger = "[yMt]"
>>>copyright = \markup { line (\fromproperty #'header:title) }
>>>tagline = \markup {
>>>Engraved on
>>>\simple #(strftime "%x at %X" (localtime (current-time)))
>>>with
>>>\with-url #"http://lilypond.org/web/" {
>>>LilyPond \simple #(lilypond-version) (http://lilypond.org/)
>>>}
>>>}
>>>}
>>>odbolTagline = \markup {
>>>Music engraving by \italic { Score Your Music } (url.example.net)
>>>using LilyPond (www.lilypond.org)
>>>}
>>>#(define (part-not-first-page layout props arg)
>>>(if (not (= (chain-assoc-get 'page:page-number props -1)
>>>(ly:output-def-lookup layout 'first-page-number)))
>>>(interpret-markup layout props arg)
>>>empty-stencil))
>>>\paper {
>>>#(set-paper-size "letter")
>>>%%{
>>>system-system-spacing =
>>>#'((basic-distance . 8)
>>>(minimum-distance . 6)
>>>(padding . 1)
>>>(stretchability . 15))
>>>indent = #(* mm 0)
>>>interscoreline = 8\mm
>>>between-system-space =5\mm
>>>ragged-bottom = ##t
>>>print-first-page-number = ##t
>>>two-sided=##t
>>>binding-offset = 0\mm
>>>inner-margin = 0.7\in
>>>outer-margin = 0.3\in
>>>markup-system-spacing = #'((basic-distance . 10) (minimum-distance . 10)
>>>(padding . 2) (stretchability . 3))
>>>system-system-spacing = #'((basic-distance . 20) (minimum-distance . 20)
>>>(padding . 2) (stretchability . 3))
>>>systems-per-page=\sy
>>>top-system-spacing #'basic-distance = #7
>>>top-markup-spacing #'basic-distance = #5
>>>last-bottom-spacing #'basic-distance = #10
>>>top-system-spacing #'stretchability = #30
>>>top-markup-spacing #'stretchability = #10
>>>last-bottom-spacing #'stretchability = #20
>>>markup-system-spacing #'stretchability = #20
>>>%}
>>>%%{
>>>oddFooterMarkup = \markup {
>>>\column {
>>>\fill-line {
>>>\line { \fromproperty #'header:title }
>>>\line {
>>>\on-the-fly #print-page-number-check-first
>>>\fromproperty #'page:page-number-string
>>>" of " \concat { \page-ref #'lastPage "0" "?"}
>>>}
>>>}
>>>}
>>>}
>>>evenFooterMarkup = \markup {
>>>\column {
>>>\fill-line {
>>>\line { \fromproperty #'header:title }
>>>\line {
>>>\on-the-fly #print-page-number-check-first
>>>\fromproperty #'page:page-number-string
>>>" of " \concat { \page-ref #'lastPage "0" "?"}
>>>}
>>>}
>>>}
>>>}
>>>}
>>>%========================================
>>>#(set-global-staff-size 20)
>>>#(set-default-paper-size "letter")
>>>mbk = \break
>>>global = {\key af\major \time 4/4 \tempo 4 = 90
>>>\override Staff.TimeSignature #'style = #'()
>>>}
>>>%}
>>>SSa = \relative c' { \partial 4
>>>\override Score.BarNumber #'stencil = #(make-stencil-circler 0.1 0.25
>>>ly:text-interface::print)
>>>\dynamicUp
>>>\set Score.barNumberVisibility = #all-bar-numbers-visible
>>>%{bar00-03%} c4 f4 f4 g4 f8 g8 | af4 bf8 af8 g4 af8 bf8 | c4 f,4 f4 ef4 |
>>>f2. \bar ""\mbk
>>>%{bar03-07%} c4 | f4 f4 g4 g8 af8 | bf4. c8 bf4 af8 g8 | f4 f4 c4 g'4 | f2.
>>>\bar ""\mbk
>>>%{bar07-11%} af8 bf8 | c4 c4 bf4 bf8 c8 | df4 df4 c4c8 df8 | ef4 c4 bf4 af4
>>>| g2. \bar""\mbk
>>>%{bar11-15%} c,4 | f4 f4 g4 f8 g8 | af4 bf8 af8 g4 af8 bf8 | c4 f,4 f4 ef4
>>>| f2. \bar "||" \mbk
>>>\label #'lastPage
>>>}
>>>%------------------------------------------------------------------------------
>>>
>>>SSb = \relative c' {
>>>}
>>>%-------------------------------------------------------------------------------
>>>
>>>SSc = \relative c' {
>>>}
>>>%-------------------------------------------------------------------------------
>>>
>>>SSd = \relative c' {
>>>}
>>>%-------------------------------------------------------------------------------
>>>
>>>SSe = \relative c' {
>>>}
>>>%-------------------------------------------------------------------------------
>>>
>>>SSf = \relative c' {
>>>}
>>>%-------------------------------------------------------------------------------
>>>
>>>SSlyricA = \lyricmode {
>>>}
>>>SSlyricB = \lyricmode {
>>>}
>>>crd = {
>>>\chordmode {
>>>}
>>>}
>>>%-------------------------------------------------------------------------------
>>>
>>>%%%%%%%%%%%%%%%%%%%%%%% individual soprano midi
>>>% {
>>>\score {
>>>\new ChoirStaff <<
>>><<
>>>\context ChordNames { \crd }
>>>>>
>>>\new Staff <<
>>>\new Voice = "soprano" << { \EzNum
>>>\global
>>>{ \SSa
>>>\SSb
>>>\SSc
>>>\SSd
>>>\SSe }
>>>}
>>>>>
>>>>>
>>>\new Lyrics \lyricsto "soprano" { \SSlyricA }
>>>\new Lyrics \lyricsto "soprano" { \SSlyricB }
>>>>>
>>>\layout {
>>>\context {
>>>\RemoveEmptyStaffContext
>>>\override VerticalAxisGroup #'remove-first = ##t
>>>\consists \Ez_numbers_engraver
>>>}
>>>}
>>>\midi {
>>>\context {
>>>\Score
>>>tempoWholesPerMinute = #(ly:make-moment 90 4)
>>>midiMinimumVolume = #0.2
>>>midiMaximumVolume = #0.85
>>>}
>>>}
>>>}
>>>%}
>>>
>>>
>>>
>>>________________________________
>>> _______________________________________________
>>>lilypond-user
mailing
list
>>>[email protected]
>>>https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>
>>
>
>_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user