| [ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
| [ < Multiple output files from one input file ] | [ Up : Input structure ] | [ File structure > ] | ||
3.1.4 Output file names
Lilypond provides facilities to allow you to control what file names are used by the various back-ends when producing output files.
In the previous section, we saw how Lilypond prevents name-clashes when
producing several ouputs from a single source file. You also have the
ability to specify your own suffixes for each \book block, so
for example you can produce files called
‘eightminiatures-Romanze.pdf’, ‘eightminiatures-Menuetto.pdf’
and ‘eightminiatures-Nocturne.pdf’ by adding a
\bookOutputSuffix declaration inside each \book block.
\book {
\bookOutputSuffix "Romanze"
\score { … }
\layout { … }
}
\book {
\bookOutputSuffix "Menuetto"
\score { … }
\layout { … }
}
\book {
\bookOutputSuffix "Nocturne"
\score { … }
\layout { … }
}
You can also specify a different output filename for book block,
by using \bookOutputName declarations
\book {
\bookOutputName "Romanze"
\score { … }
\layout { … }
}
\book {
\bookOutputName "Menuetto"
\score { … }
\layout { … }
}
\book {
\bookOutputName "Nocturne"
\score { … }
\layout { … }
}
The file above will produce these output files:
- ‘Romanze.pdf’,
- ‘Menuetto.pdf’ and
- ‘Nocturne.pdf’.
| [ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
| [ < Multiple output files from one input file ] | [ Up : Input structure ] | [ File structure > ] | ||