Hi, I run into a problem when I create a (very high) single-page PDF file from a Lilypond score. 'After a certain time', the rest of the page is rendered in white.
In my use case, I wanted to make a large system staff, and white-on-black music, because of readability-reasons. Specifically: Puttin this on a tablet, and using one page for continuous scrolling to make the music less 'jumpy' (even staff spacing, not constrained to page height). Can anyone shed a light on what goes wrong here? I've attached my files for reference. ...and I _think_ I saw a better way to create black-on-white music, but I haven't been able to find it. Christ van Willegen
color.ily
Description: Binary data
base.ily
Description: Binary data
\version "2.25.1" \include "base.ily" \header { title = \markup { \with-color #white { "Grease Medley" } } arranger = \markup { \with-color #white { "Marieke Jacobse" } } poet = \markup { \with-color #white { "" } } % Standaard LilyPond-tagline verwijderen tagline = ##f } \layout { \context { \Voice \consists "Melody_engraver" } } global = { \black \override TupletBracket.bracket-visibility = ##t } globalWeGo = { \global \key bes \major \time 4/4 } globalSummer = { \global \key d \major \time 4/4 } globalGreased = { \global \key bes \major \time 4/4 } globalWeGoTwo = { \global \key bes \major \time 4/4 } sopranoVoiceWeGo = \relative c' { \globalWeGo \dynamicUp % Muziek volgt hier. \compressEmptyMeasures r4 d f g | a4. g4 r8 g4 | es8 es es es es es4 es8 | f8 f8 f g4 g8 f4 | r4 d8 f4 f8 g4 | a4. g4 r8 g4 | es8 es4 es8 es es es es | f8 f f g4 g8 f4 | r4 d' d r | bes8 bes bes bes4 a8 g4 | r4 c2 bes4 | a4. bes c4 | c4.( d8~d2~ | d2) r4 f4 | es1 | f4\glissando \cadenzaOn \hideNotes a,4 \unHideNotes \cadenzaOff r4 r2 | r4 d, f8 f g4 | a4.( g4.) g4 | es4 es8 es4 es8 es4 | f8 f4 f8 g g f4 | r4 d f g | a4.( g) r4 | \override NoteHead.style = #'cross \times 2/3 { bes8 bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes } \revert NoteHead.style f8 f f g4 g8 f4 | r4 d'4 d2 | bes8 bes bes bes4 a8 g4 | r4 c c bes | a4.( bes4.) c4 | c4.( bes4.) r4 | \times 2/3 { es2 es es } | es4.( d8 ~ d2 ~ | d2) r2 | r4 bes bes4. g8 | bes8 c4 bes4. r4 | r4 bes bes4. g8 | bes8 c4 bes4. r4 | r4 f f f | g2. f4 | g4( d f2~ | f2) r2 | R1 | r2 r4 c' | bes4 r r2 | R1 | c4 c r c | d2 c4 r | g'2 f4 r8 f8 | g4 f d8( f) r4 | r1 R1 | R1 | \override NoteHead.style = #'cross bes,8 bes r bes bes bes bes bes | bes bes bes bes4 bes8 bes4 | R1 | R1 | bes4 bes8 bes4 bes8 bes4 | bes8 bes4 bes8 bes bes bes4 | \times 2/3 { bes8 bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes | } bes8 bes bes bes4 bes8 bes4 | bes8 bes bes bes bes bes bes bes | bes8 bes bes bes4 bes8 bes4 | r2 r4 r8 bes8 | bes4 bes bes r \revert NoteHead.style \bar "|." } verseWeGo = \lyricmode { % Liedtekst volgt hier. We go to -- ge -- ther, like ra -- ma -- la -- ma -- la -- ma ka ding -- it -- ty ding -- de -- dong. Re -- mem -- bered for e -- ver, like shoo -- bob shoo -- wa -- da -- wa -- da yip -- pi -- ty boom de boom. Chang chang chang -- i -- ty chang shoo -- bob. That's the way it should be! Wha -- ooh yeah! "" We're one of a kind, like dip -- da -- dip -- da -- dip do -- wop a -- doo -- bee -- doo. Our names are signed, boo -- ge -- dy boo -- ge -- dy boo -- ge -- dy boo -- ge -- dy shoo -- by doo -- wap shoo -- wap Chang chang chang -- i -- ty chang shoo -- bob, we'll al -- ways be like one. Wa -- wa -- wa -- wah! When we go out at night, and stars are shi -- ning bright. Up in the skies a -- bove. Ah -- hah Ba -- by, it might be lo -- ho -- ho -- ho -- ho -- hove! Shoo -- bop sha -- wa -- da -- wa -- da yip -- i -- ty boom -- de -- boom Dip -- da -- dip -- da -- dip doo -- wop a -- doo -- be -- doo. Boo -- ge -- dy boo -- ge -- dy boo -- ge -- dy boo -- ge -- dy shoo -- by doo -- wop shoo -- wap Sha -- na -- na -- na -- na -- na -- na -- na yip -- pi -- ty dip -- de boom! a -- wop bam boom! } soloVoiceSummer = \relative c' { \globalSummer \dynamicUp \compressEmptyMeasures R1 | R1 | r4 fis8^"Boy" d g e r4 | a8 fis a a4( g4.) | r4 fis8^"Girl" d g e r4 | a8 fis a a4( g4.) | r4 fis8^"Boy" d g2 | \times 2/3 { a4 fis a } b8( ais b4) | r4 gis8^"Girl" e a2 | gis8 e gis a~a2 | r4 d8 ^"Both" a b2 | a8 b a fis4. b8( a) | g8 r e b' a( b) a d, | R1 R1 * 8 | r4 fis8^"Boy" d g e r4 | a8 fis a a4( g4.) | r4 fis8^"Girl" d g e r4 | a8 fis a a4( g4.) | r4 fis8^"Boy" d g2 | \times 2/3 { a4 fis a } b8( ais b4) | r4 gis8^"Girl" e a2 | gis8 e gis a~a2 | r4 d8^"Both" a b2 | a8 b a fis4. b8( a) | g8 r e b' a( b) a d, | R1 * 7 | r4 fis8^"Boy" d g e r4 | a8 fis a a4( g4.) | r4 fis8^"Girl" d g e r4 | a8 fis a a4( g4.) | r4 fis8^"Boy" d g2 | \times 2/3 { a4 fis a } b8( ais b4) | r4 gis8^"Girl" e a2 | gis8 e gis a~ a2 | r4 d8^"Both" a b2 | a8 b a fis4. b8( a) | g8 r e b' a( b) a <d, d'>8 ~ | <d d'>4 <bes d'>4 <c c'> <d bes'!> | \key es \major R1 * 6 | r4 g8^"Girl" es as f r4 | bes8 as bes bes4( as4.) | r4 g8^"Boy" es as f r4 | bes4 bes8 bes as( f es) r | r4 g8^"Girl" es as4 r | \times 2/3 { bes4 g bes } d16( c d8 c4) | r4 a8 f bes4 bes8 bes | a8 f a bes r2 | r4 es8^"Both" bes c2 | bes8 c bes g4. c8( bes) | as8 r f8 c'8 bes8( c) bes <es, es'>~ | <es es'>4 <b es'> <des des'> <es b'> | \key e \major R1 * 5 | \key d \major r4 fis8^"Girl" d g e r4 | a8 g a a4( g4.) | r4 r8 fis16^"Boy" d g8 e r4 | \times 2/3 { a4 a a } \times 2/3 { g( e d) } | r4 fis8^"Girl" d g4 r | a8 fis a b~b2\fermata | r4 gis8^"Boy" e a4 r | gis8 gis gis a4. r4 | r4 <d, d'>8 a' b2 | \times 2/3 { <a cis>4 <b d> <a cis> } <fis b>4\fermata b8( a)\fermata | g8\fermata r8 <b d>4 \times 2/3 { <a cis>4 <b d> <a cis>\fermata } | \time 2/4 r4 <fis gis>4( | \time 4/4 <fis a>1 | <g b>1 | <a d>2 <g a>2 | <fis d'>1) | \bar "|." } verseSoloSummer = \lyricmode { Sum -- mer lo -- ving had me a blast. Sum -- mer lo -- ving, hap -- pened so fast Met a girl, cra -- zy for me Met a boy, cute as can be Sum -- mer days, drif -- ting a -- way, but ah, oh, those sum -- mer nights. She swam by me, she got a cramp. He ran by me, got my suit damp. Saved her life, she near -- ly drowned. He showed off, spla -- shing a -- round. Sum -- mer sun, some -- thing's be -- gun, but ah, oh, those sum -- mer nights. Took her bow -- ling, in the ar -- cade. We went strol -- ling, drank le -- mo -- nade. We made out un -- der the docks. We stayed out 'till ten o' clock. Sum -- mer fling, don't mean a thing, but ah, oh, those sum -- mer nights. Wow wow wow! He got friend -- ly hol -- ding my hand. She got friend -- ly down in the sand. He was sweet, just turned eight -- teen. She was good, if you know what I mean. Sum -- mer heat, boy and girl meet, but ah, oh, those sum -- mer nights. Wow wow wow! It turned col -- der, that's where it ends. So I told her, we'd still be friends. Then we made our true love vow. Won -- der what she's do -- ing now? Sum -- mer dreams ripped at the seams, but oh, those sum -- mer nights! __ } sopranoVoiceSummer = \relative c' { \globalSummer \dynamicUp % Muziek volgt hier. \compressEmptyMeasures R1 | R1 | R1 * 8 | r4 fis r d | r4 e r fis | r4 g cis,8(d) e fis | R1 | d4 r8 d g,4 r8 g | d'4 r8 d g,4 r8 g | d'4 a'8 a b4 b8 b | b4 b8 b a b a fis | r8 fis fis4 r8 g8 g4 | r8 a8 a4 r2 | r8 fis fis4 r8 g8 g4 | r8 a8 a4 r2 | r8 fis fis4 r8 g8 g4 | r8 a8 a4 r2 | r8 fis fis4 r8 g8 g4 | r8 a8 a4 r2 | r8 fis fis4 r8 g8 g4 | r8 fis8 fis4 r2 | r4 gis4 a8 a a r | r4 gis4 a8 a a r | r4 fis r d | r e r fis | r4 g cis,8( d) e fis | r8 a, a a b b cis cis | d4 g8 g a4 a8 a | b4 b8 b a b a fis ~ | fis4 r8 d8 g,4 r8 g8 | e'4 r8 e8 a4 r8 a | a4 a8 a b4 b8 b | cis4 cis8 cis b cis b cis | a4 a8 a b4 b8 b | cis4 cis8 cis b cis b cis | a4 a8 a b4 b8 b | cis4 cis8 cis b cis b cis | a4 a8 a b4 b8 b | cis4 cis8 cis b cis b cis | e8 e4 cis2 b8 | e8 e4 cis2 r8 | r4 fis, r d | r4 e r fis | r4 g cis,8( d) e f~ | f4 f es d | \key es \major es4 r8 es as,4 r8 as | f'4 r8 f8 bes,4 r8 bes8 | es4 bes'8 bes c4 c8 c | c4 \override NoteHead.style = #'cross c8 c bes as bes g | \revert NoteHead.style g16 g g8 g4 as16 as as8 as4 | bes16 bes bes8 bes4 as16 as as8 as4 | g16 g g8 g4 as16 as as8 as4 | bes16 bes bes8 bes4 as16 as as8 as4 | g16 g g8 g4 as16 as as8 as4 | bes16 bes bes8 bes4 as16 as as8 as4 | g16 g g8 g4 as16 as as8 as4 | bes16 bes bes8 bes c4 r8 r4 | f8 f4 d2 c8 | f8 f4 d4 r8 \override NoteHead.style = #'cross bes'4 \revert NoteHead.style | r4 g, r es | r4 f r g | r4 as d,8( es) f ges~ | ges4 ges e es | \key e \major r4 b'8 b cis4 cis8 cis | cis4 cis8 cis b cis b gis~ | gis4 r8 e8 a,4 r8 a8 | fis'4 r8 fis8 b,4 r8 b8 | e4 r r2 | \key d \major R1 * 6 | b'2( cis | b cis) | fis,2( g | a fis4)\fermata r4 | g8\fermata r8 r4 r2 | \time 2/4 R2 | \time 4/4 r2 a4 a | b2 b4 b | d2( a4 fis'8 e | d1) | } verseSopranoSummer = \lyricmode { Dm dm dm dm dm sum -- mer nights. dm doo dm doo dm doo dm doo dm Tell me more, tell me more, like does he have a car? ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah ah -- hah Doo -- wap -- pap -- pap, doo -- wap -- pap -- pap. Dm dm dm dm dm sum -- mer nights. A -- well a -- well a -- well a -- huh! Tell me more, tell me more. Was it love at first sight? doo dm doo dm doo dm doo down doo -- bie dm doo -- bie dm doo -- bie doo -- bie doo -- bie down doo -- bie dm doo -- bie dm doo -- bie doo -- bie doo -- bie down doo -- bie dm doo -- bie dm doo -- bie doo -- bie doo -- bie down doo -- bie dm doo -- bie dm doo -- bie doo -- bie doo -- bie Wa -- pa -- pow! A -- wap -- pa -- pow! dm dm dm dm dm sum -- mer nights. Wow wow wow! Ah ah -- hah a -- hah ah -- hah ah -- hah Tell me more, tell me more. 'Cause he sounds like a drag. Shoe -- de -- bob -- bob shoe -- de -- bob -- bob Shoe -- de -- bob -- bob shoe -- de -- bob -- bob Shoe -- de -- bob -- bob shoe -- de -- bob -- bob Shoe -- de -- bob -- bob shoe -- de -- bob -- bob Shoe -- de -- bob -- bob shoe -- de -- bob -- bob Shoe -- de -- bob -- bob shoe -- de -- bob -- bob Shoe -- de -- bob -- bob shoe -- de -- bob -- bob Shoe -- de -- bob -- bob yeah! Doo -- pauw -- pauw! Da -- doo -- pauw -- pauw! Wow! dm dm dm dm dm Sum -- mer nights Wow wow wow! Tell me more, tell me more, how much dough did he spend? ah -- hah ah -- hah ah -- hah ah -- hah hm __ oo __ dm Tell me more, tell me more. __ } sopranoVoiceGreased = \relative c'' { \globalGreased \dynamicUp % Muziek volgt hier. \compressEmptyMeasures R1 * 7 | R1 * 3 | R1 * 7 | r4 bes bes bes | f8 f f f f f f f | bes,4 d f g8 f | bes8 bes g g f d4 bes8 | r4 f' es8 f4 es8( | f4) f es8 f r4 | es4 g bes c8 bes | des8 des c c bes g4 f8 | r4 f es8 f4 es8( | f4) f es8 f f f | c'4 r r2 | r4 \override NoteHead.style = #'cross bes4 bes8 \revert NoteHead.style g f4 | bes4 bes2 r4 | f8 f f f f f f f | r4 bes8 bes r4 bes8 bes | r4 bes8 bes r4 bes8 bes | bes4( g f g8 f | bes8 g4 f) r8 r4 | r4 bes8 bes r4 bes8 bes | r4 bes8 bes r4 bes8 bes | bes4( g f g8 g | bes8 g4 f) r8 r4 | c'1 | bes1 | c1 | bes1 | r4 bes bes bes | f8 f f f f f f f | bes,4 d f g8 f | bes8 bes g g f d4 bes8 | r4 f' es8 f4 es8( | f4) f es8 f r4 | es4 g bes c8 bes | des8 des c c bes g4 f8 | r4 f es8 f4 es8( | f4) f es8 f f f | c'4 r r2 | r4 \override NoteHead.style = #'cross bes4 bes8 \revert NoteHead.style g f4 | bes4 bes2 r4 | f8 f f f f f f f | \repeat volta 8 { \override NoteHead.style = #'cross g'8^"clap. 8 bars" g g g g g g g \revert NoteHead.style } R1 * 4 | R1 * 2 | as,2 as | as4 as as8 as as as | \key es \major es4 g bes c8 bes | es8 es c c bes g4 es8 | r4 bes'4 as8 bes4 as8( | bes4) bes as8 bes r4 | as4 c es f8 es | ges8 ges f f es c4 bes8 | r4 bes as8 bes4 as8( | bes4) bes as8 bes bes bes | f4 r r2 | r4 \override NoteHead.style = #'cross bes4 bes8 \revert NoteHead.style c bes4 es,4 es2 r4 | bes'4 << bes2. \\ { bes4 des des } >> | R1 | es4 << es2. \\ { es4 ges ges } >> | <es ges>4 <es ges>2.\fermata \bar "|." } verseSopranoGreased = \lyricmode { Go, go, go, go go go go go go go go Go Greased Light -- ning, you're bur -- ning up the quar -- ter mile. Greased Light -- ning go Greased Light -- ning. Go Greased Light -- ning, you're coas -- ting through the heat lap trial. Greased Light -- ning, go Greased Light. You are su -- preme, uh huh! 'Bout Greased Light -- ning. Go go go go go go go go. Tu tu tu tu tu tu tu tu ooh __ Tu tu tu tu tu tu tu tu ooh __ Ah ah ah ah Go, go, go, go go go go go go go go Go Greased Light -- ning you're bur -- ning up the quar -- ter mile. Greased Light -- ning, go Greased Light -- ning. Go Greased Light -- ning you're coas -- ting through the heat lap trial. Greased Light -- ning, go Greased Light. You are su -- preme. Uh huh! For Greased Light -- ning. Go go go go go go go go "" "" "" "" "" "" "" "" Go, __ go, __ go, go, go go go go Go Greased Light -- ning, you're bur -- ning up the quar -- ter mile. Greased Light -- ning, go Greased Light -- ning Go Greased Light -- ning, you're coast -- ing through the heat lap trial. Greased Light -- ning, go Greased Light. You are su -- preme. Uh huh! For Greased Light -- ning, Light -- ning, Light -- ning, Light -- ning, Light -- ning, Light -- ning! } sopranoVoiceWeGoTwo = \relative c'' { \globalWeGoTwo R1 * 2 | \override NoteHead.style = #'cross bes8 bes r bes bes bes bes bes bes bes bes bes4 bes8 bes4 | R1 * 2 | bes4 bes8 bes4 bes8 bes4 | bes8 bes4 bes8 bes bes bes4 | \times 2/3 { bes8 bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes } | bes8 bes bes bes4 bes8 bes4 | bes8 bes bes bes bes bes bes bes | bes8 bes bes bes4 bes8 bes4 | bes8 bes bes bes bes bes4 bes8 | bes8 bes bes bes4 bes8 bes4 | bes8 bes r bes bes bes bes bes | bes8 bes bes bes4 bes8 bes4 | r4 bes bes r | bes8 bes bes bes4 bes8 bes4 | bes4 bes8 bes4 bes8 bes4 | bes8 bes4 bes8 bes bes bes4 | \times 2/3 { bes8 bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes } \times 2/3 { bes bes bes } | bes8 bes bes bes4 bes8 bes4 | bes8 bes bes bes bes bes bes bes | bes8 bes bes bes4 bes8 bes4 | r2 r4 r8 bes8 | bes4 bes bes r \bar "||" | \revert NoteHead.style \key c \major r4 e, g a | b4. a4 r8 a8 a | f4 f8 f f f r f | g4 g a( g) | r4 e g a | b4. a4 r8 a4 | f8 f f f f f r4 | g8 g g a4 a8 g4 | r4 e' e r | c8 c c c4 b8 a4 | r4 d d c | b4.( c) d4 | d4. e8~ e2~ | e2 r4 f | e1 | f4\glissando \cadenzaOn \hideNotes a,4 \unHideNotes \cadenzaOff r4 r4 g | \repeat volta 4 { a2 g~ | g4 r4 a4 g | a4. g4. r4 | \alternative { \volta 1,2,3 { r2. g4 | } \volta 4 { r2. r4 | } } } R1 * 7 | r2. g4 | \repeat volta 2 { a2 g~ | g4 r a g | a4. g r4 | r2. g4 } r2. r4 | r2. r8 \override NoteHead.style = #'cross b8 | b4 b8 b b b r b | b4 b8 b b b r b | bes4 bes bes r \bar "|." } verseSopranoWeGoTwo = \lyricmode { Shoo -- bob sha -- wa -- da -- wa -- da yip -- pi -- ty boom -- de -- boom. Dip -- da dip -- da -- dip doo -- wop a -- doo -- be -- doo boog -- e -- dy boog -- e -- dy boog -- e -- dy boog -- e -- dy shoo -- by doo -- wop shoo -- wap. Sha -- na -- na -- na -- na -- na -- na -- na yip -- py -- ty dip -- de boom! Ra -- ma -- la -- ma -- la -- ma ka -- ding -- it -- ty ding de dong. Shoo -- bop sha -- wa -- da -- wa -- da yip -- pi -- ty boom -- de -- boom Chang chang chang -- it -- ty chang shoo -- bop. Dip -- da -- dip -- da -- dip doo -- wop a -- doo -- be -- doo boog -- e -- dy boog -- e -- dy boog -- e -- dy boog -- e -- dy shoo -- by doo -- wop shoo -- wap. Sha -- na -- na -- na -- na -- na -- na -- na yip -- pi -- ty dip -- de boom! a -- wop bam boom! We're for each o -- ther, like a -- wop ba -- be -- loo -- ba a -- wap -- bam -- boom. Just like my brot -- her like sha -- na -- na -- na -- na -- na jip -- pet -- ty dip -- de -- boom. Chang chang chang -- i -- ty chang shoo -- bop. We'll al -- ways be to -- get -- her! Wa -- hoo, yeah! "" We'll al -- ways be to -- get -- her. We'll We'll al -- ways be to -- get -- her. We'll A -- wop ba -- be -- loo -- ba a -- wop ba -- be -- loo -- ba a -- wap -- bam -- boom. } verseSoloGreased = \lyricmode { "" } soloVoiceGreased = \relative c { R1 } \book { \score { \header { title = \markup { \with-color #white { "We go together" } } arranger = \markup { "" } } \new Staff \with { instrumentName = "S." } { \sopranoVoiceWeGo } \addlyrics { \verseWeGo } \layout { } } \score { \header { title = \markup { \with-color #white { "Summer nights" } } arranger = \markup { "" } } \new ChoirStaff << \new Staff \with { instrumentName = "Solo." } { \soloVoiceSummer } \addlyrics { \verseSoloSummer } \new Staff \with { instrumentName = "S." } { \sopranoVoiceSummer } \addlyrics { \verseSopranoSummer } >> \layout { \context { \Staff \RemoveEmptyStaves } } } \score { \header { title = \markup { \with-color #white { "Greased Lightning" } } arranger = \markup { "" } } \new ChoirStaff << %\new Staff \with { % instrumentName = "Solo." %} { \soloVoiceGreased } %\addlyrics { \verseSoloGreased } \new Staff \with { instrumentName = "S." } { \sopranoVoiceGreased } \addlyrics { \verseSopranoGreased } >> \layout { } } \score { \header { title = \markup { \with-color #white { "We go together II" } } arranger = \markup { "" } } \new ChoirStaff << \new Staff \with { instrumentName = "S." } { \sopranoVoiceWeGoTwo } \addlyrics { \verseSopranoWeGoTwo } >> \layout { } } }