> I am top posting. This is an example of something that should be sent to lilypond-devel, rather than to the frogs list. There are many developers who are not on the frogs list.
Therefore, I've forwarded this to the -devel list. Thanks, Carl Sorensen On 8/5/09 5:12 PM, "Ian Hulin" <i...@hulin.org.uk> wrote: > This is AU section 3.2.1 > > 3.2.1 Invoking lilypond > The lilypond executable may be called as follows from the command line. >> >> lilypond [option]S fileS >> > When invoked with a filename that has no extension, the O.ly¹ extension is > tried first. To read input from stdin, use a dash (-) for file. > > When Ofilename.ly¹ is processed it will produce Ofilename.ps¹ and > Ofilename.pdf¹ as output. Several files can be specified; they will each be > processed independently. 1 > <http://lilypond.org/doc/v2.13/Documentation/user/lilypond-program/Invoking-li > lypond#FOOT2> > > If Ofilename.ly¹ contains more than one \score block, then the rest of the > scores will be output in numbered files, starting with Ofilename-1.pdf¹. In > addition, the value of output-suffix will be inserted between the basename and > the number. An input file containing >> >> #(define output-suffix "violin") >> \score { S } >> #(define output-suffix "cello") >> \score { S } >> > will output baseO-violin.pdf¹ and baseO-cello-1.pdf¹. > ______________________________________________________________________________ > ______________________________________________ > This is a regression: you need to use \book instead of \score for the > compilation to produce two files. > > E.g. > >> >> #(define output-suffix "violin") >> \book { S } >> #(define output-suffix "cello") >> \book { S } >> > Here's my (not-so) minimal version, if you change the \book to a \bookpart or > \score you only get an output file using the last setting of output-suffix in > the score, > > \version "2.12.1" > \header { > title = "Exsultate, Jubilate" > subtitle = "Motet" > subsubtitle = "K. 165" > instrument = "Soprano Solo and Orchestra" > composer = "W. A. Mozart" > opus = "KV 165" > } > movonesettings = { > \key f \major > \time 4/4 > \tempo "Allegro" 4=128 > > } > movtwosettings = { > \key a \major > \time 3/4 > \tempo "Andante" 4=72 > } > BCmovoneMusic = \relative c { > \movonesettings > \clef bass f8 f f f f f f f | > } > BCmovtwoMusic = \relative c { > \movtwosettings > \clef bass > \partial 8 r8 > r4 a'4 a, | > } > #(define output-suffix "Allegro") > \book { > \header { > subtitle = "I Allegro" > } > \score { > > \BCmovoneMusic > } > } > #(define output-suffix "Andante") > \book { > \header { > subtitle = "II. Andante" > } > \score { > \BCmovtwoMusic > } > } > _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel