I have a lilypond file with at least one score and a header. When compiling this single song e.g. with
lilypond-windows -ddelete-intermediate-files -dno-point-and-click --pdf example.ly
the full song (including title and composer from the header) is generated:
Is it possible to add commandline switches that print only the score(s) without the header information without stripping the possibility to compile the full stand-alone file?
MWE (if it is much easier we can start also with a single-score example):
\header {
title = "SUITE I."
composer = "J. S. Bach."
}
\score {
\new Staff \relative g, {
\clef bass
\key g \major
\repeat unfold 2 { g16( d' b') a b d, b' d, } |
\repeat unfold 2 { g,16( e' c') b c e, c' e, } |
}
\header {
piece = "Prélude."
}
}
\score {
\new Staff \relative b {
\clef bass
\key g \major
\partial 16 b16 |
<g, d' b'~>4 b'16 a( g fis) g( d e fis) g( a b c) |
d16( b g fis) g( e d c) b(c d e) fis( g a b) |
}
\header {
piece = "Allemande."
}
}
(Score/Example taken from Lilypond manual)