Fwd to bug-lilypond

It does not seems to be "tracked" already; I do not know how to isolate
the issue.

Cheers,
Xavier


---------- Forwarded message ----------
From: Bill Mooney <[email protected]>
Date: 20 November 2010 04:23
Subject: page fit error
To: Lilypond-User List <[email protected]>


Greetings All,
The attached .ly file compiles and gives an error

Drawing systems...
warning: couldn't fit music on page: overflow is -0.000000

but the resulting pdf file has everything as it should be.

Is there an error in the code, or is LP's layout process at fault?

This file actually produces a more compact layout (vertically) than
its parent due to the absence of elements outside some of the
staves... note stems, hairpins etc ...

All helpful suggestions etc gratefully accepted! :)
Regards
Bill

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user




-- 
Xavier Scheuer <[email protected]>
\version "2.13.39"

\header {
%tagline = " "
	}
	
stemOn = { \revert Staff.Stem #'transparent }
stemOff = { \override Staff.Stem #'transparent = ##t }	

\paper {
#(set-paper-size "a4")
ragged-bottom = ##t
ragged-last-bottom = ##t
	}
	
#(set-global-staff-size 16)

global =
{
\key g \major
\override Staff.TimeSignature #'style = #'()
 }


\score {  
 \new StaffGroup <<
      % Must be lower than the actual number of staff lines
  \override StaffGroup.SystemStartBracket #'collapse-height = #1
  \override Score.SystemStartBar #'collapse-height = #1

\new Staff 
\with {   \remove Time_signature_engraver }
\relative c'
 {
\override Staff.BarLine #'transparent = ##t
\stemOff
\key g \major
\time 4/4
\once \override TextScript #'outside-staff-padding = #1.5
  g'4^\markup  {  \hspace #-8  \bold  \large "Text" }
\override Staff.BarLine #'transparent  = ##f
\bar "||" 

\once \override TextScript #'outside-staff-padding = #1.5
 s \override Staff.BarLine #'transparent = ##t
 g4^\markup  {  \hspace #-2  \bold  \large "Text" }
\override Staff.BarLine #'transparent = ##f
\bar "||" 
 }
 \addlyrics
 {
 	 A B
 }
 >>
\layout {
ragged-right = ##t
indent = 0

  }
  \header { piece = \markup  { \hspace #45  \bold  \fontsize #6  "Main" } }
 }

\score { 

 \new StaffGroup <<
      % Must be lower than the actual number of staff lines
  \override StaffGroup.SystemStartBracket #'collapse-height = #1
  \override Score.SystemStartBar #'collapse-height = #1

\new Staff 
\with {   \remove Time_signature_engraver }
\relative c'
 {
\override Staff.BarLine #'transparent = ##t
\stemOff
\key g \major
\time 4/4
\once \override TextScript #'outside-staff-padding = #1.5
  g'4^\markup  {  \hspace #-8  \bold  \large "Text" }

\override Staff.BarLine #'transparent = ##f
\bar "||" 
 }
 \addlyrics
 {
 	 A
 }
 >>
\layout {
ragged-right = ##f 
indent = 0
  }
  \header { piece = \markup  { \hspace #45   \bold \fontsize #5  "2nd" } }
   }

soprano = 

 \relative c'
 {
 \partial 4  \once \override TextScript #'outside-staff-padding = #1
 d4^\markup  {  \vspace #1.5 \hspace #-10  \bold  \large "Text" }
 d1
  \bar "|."
 }

 alto = 
 \relative c'
 {
 \partial 4 d4
 c1
 
 }
 
 tenor = 
 \relative c'
 {
 
 \clef bass
 \partial 1 d,4
  d1
  
 }
 
 bass = 
 \relative c
 {
 
 \clef bass
 \partial 4 d4
 d1 _\fermata
  
 }
 
 Words = \lyricmode
 {
A B
 }
 
\score
{
	\transpose c' c'
    \new PianoStaff
    	<<
         \new Staff 
          <<
        \new Voice = sopranos { \voiceOne << \global \soprano >> }
        \new Lyrics = sopranos { s1 }
        \new Voice = altos { \voiceTwo << \global \alto >> }
      >>
        \new Staff 
         <<
        \clef bass
        \new Voice = tenors { \voiceOne <<\global \tenor >> }
        \new Voice = basses { \voiceTwo <<\global \bass >> }
      >>
         \context Lyrics = sopranos \lyricsto sopranos \Words
      >>
  \layout {
  ragged-right = ##f 
   indent = 0
   \context {
      \PianoStaff \accepts "Lyrics"    
            }
         }
         \header { piece = \markup  {   \hspace #45   \fontsize #3 "3rd" }
         	 opus = \markup  {     \fontsize #2 "opus" }
         }
}

soprano = 

 \relative c'
 
 {
 	 \time 2/4
 \once \override TextScript #'outside-staff-padding = #1
 g'4(^\markup  { \vspace #1.5 \hspace #-10  \bold  \large "Text" }
 g)  a a
 \bar "|."
 }

 alto = 
 \relative c'
 {
 d2 d4( d)
 }
 
 tenor = 
 \relative c'
 {
 g2 g2
 }
 
 bass = 
 \relative c
 {
 	 b2 b2_\fermata
 }
 
 Words = \lyricmode
 {
A B
 }
 
\score
{

	\transpose c' c'
    \new PianoStaff
    	<<
         \new Staff 
          <<
        \new Voice = sopranos { \voiceOne << \global \soprano >> }
        \new Lyrics = sopranos { s1 }
        \new Voice = altos { \voiceTwo << \global \alto >> }
      >>
        \new Staff 
         <<
        \clef bass
        \new Voice = tenors { \voiceOne <<\global \tenor >> }
        \new Voice = basses { \voiceTwo <<\global \bass >> }
      >>
         \context Lyrics = sopranos \lyricsto sopranos \Words
      >>
    
 
  \layout {
  ragged-right = ##f 
   indent = 0
   \context {
      \PianoStaff \accepts "Lyrics"    
            }
           
         }
          \header { piece = \markup  {   \hspace #45  \fontsize #3 "4th" }
          opus = \markup  {       \fontsize #2 "opus" }
          }
}

\score { 
 \new StaffGroup <<
      % Must be lower than the actual number of staff lines
  \override StaffGroup.SystemStartBracket #'collapse-height = #1
  \override Score.SystemStartBar #'collapse-height = #1

\new Staff 
\with {   \remove Time_signature_engraver }
\relative c'
 {
 	 
\override Staff.BarLine #'transparent = ##t
\stemOff
\key g \major
\time 4/4
\once \override TextScript #'outside-staff-padding = #1.5
  g'4^\markup  { \vspace #1.5 \hspace #-8  \bold  \large "Text" } s
g2
\override Staff.BarLine #'transparent = ##f
\bar "||" 
 }
 \addlyrics
 {
 	 A B
 }
 >>
\layout {
ragged-right = ##t
indent = 0
  }
  \header { piece = \markup  {   \hspace #45   \bold \fontsize #5 "5th" } }
 }

 \score {  
 \new StaffGroup 
 <<
      % Must be lower than the actual number of staff lines
  \override StaffGroup.SystemStartBracket #'collapse-height = #1
  \override Score.SystemStartBar #'collapse-height = #1

\new Staff 

\with {   \remove Time_signature_engraver }
\relative c'
 {
 	\override Staff.BarLine #'transparent = ##t
\stemOff
\key g \major
\time 4/4
\once \override TextScript #'outside-staff-padding = #0
  g'4^\markup {  \hspace #-14  \italic "A" }
  s
g
\override Staff.BarLine #'transparent = ##f
\bar "||" 
 }
 \addlyrics
 {
 	A B
 }
 >>
\layout {
ragged-right = ##t 
indent = 0
  }
 }

 \score {  
 \new StaffGroup <<
      % Must be lower than the actual number of staff lines
  \override StaffGroup.SystemStartBracket #'collapse-height = #1
  \override Score.SystemStartBar #'collapse-height = #1

\new Staff 
\with {   \remove Time_signature_engraver }
\relative c'
 {
\override Staff.BarLine #'transparent = ##t
\stemOff
\key g \major
\time 4/4
\once \override TextScript #'outside-staff-padding = #0
  g'4^\markup {  \hspace #-14  \italic "B" }
  s
g
\override Staff.BarLine #'transparent = ##f
\bar "||" 
 }
 \addlyrics
 {
 	A B
 }
 >>
\layout {
ragged-right = ##t 
indent = 0
  }
 }

 AllT = 
\relative c'
{
\time 2/4
\once \override TextScript #'outside-staff-padding = #1
  g'2^\markup  {  \hspace #-8  \bold  \large "Text" }
 g2 g2^\fermata
\bar "||" 
 }
 Twords = \lyricmode
 { A B C }
 
 sopranoT = 
 \relative c'
 {
 \once \override TextScript #'outside-staff-padding = #1.5	 
 d'2^\markup  {  \vspace #1 \hspace #-8  \bold  \large "Text" } d4^\< d8 d8 d2\!^\fermata \ff	 
 }
 altoT = 
 \relative c'
 {
 g'2 g2 g2
 }
 tenorT =
 
 \relative c
 {
 	 \clef bass
 d'2 d2	d2
 }
 bassT =
 \relative c
 {
 g'2 g2 g2 _\fermata	 
 }
\score {  
 \new StaffGroup <<
      % Must be lower than the actual number of staff lines
  \override StaffGroup.SystemStartBracket #'collapse-height = #4
  \override Score.SystemStartBar #'collapse-height = #4

\new Staff 
\with {   \remove Time_signature_engraver }
\relative c'
 {
 	 \set Staff.instrumentName = #"Or   "
\override Staff.BarLine #'transparent = ##t
\stemOff
\key g \major
\time 4/4
\once \override TextScript #'outside-staff-padding = #0
  g'2^\markup {  \hspace #-14  \italic "C" }
    g4(  g)  g2 
\override Staff.BarLine #'transparent = ##f
\bar "||" 

<<
 \once\override Score.BreakAlignment #'break-align-orders =
      #(make-vector 3  '( staff-bar span-bar  clef key-signature time-signature) )
      
 \new Voice = "sopranos" {   << \stemOn   \AllT >> }
 \new Lyrics \lyricsto sopranos \Twords
 
\new PianoStaff 
  <<
  \once\override GrandStaff.SystemStartBrace #'X-offset = #0
  \new Staff
  <<
  \new Voice = sopranos { << \voiceOne \global \sopranoT >> }
  \new Lyrics = sopranos { s1 }
  \new Voice = alto { << \voiceTwo \global \altoT >> }
  	  >>
 \new Staff  
 << 
 \new Voice = tenor { <<  \voiceOne \global \tenorT >> }
 \new Voice =bass { <<  \voiceTwo \global \bassT >> }
  	  >>
  	
  	  \context Lyrics = sopranos \lyricsto sopranos \Twords
 >>
 
 >>
 }
 \addlyrics
 { A B C }
 >>
 
 
\layout {
\context { \PianoStaff \accepts "Lyrics" }
ragged-right = ##f
indent = 0
  }
  \header { opus = \markup  { \fontsize #2 "Opus" } }
 }
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to