Marco, I may not understand what you are asking. Section 3.3.1 of the notation manual, "Including LilyPond Files", describes the use of \include. The \include command substitutes the contents of "filename.ly" wherever "\include "filename.ly"" is placed. (Sometimes the component files are named "*.ily" rather than "*.ly" to indicate that they will not compile on their own.) The component files typically contain variable definitions that are \include-ed at the top of the master file. Then the variables are called where needed. I've attached files that, if placed in a common directory, compile to the result you are looking for using 2.18.2.
Regards, Pete H. On Sat, May 16, 2015 at 11:51 AM, Marco <bagolin.ma...@gmail.com> wrote: > Hello, > I would like to know if is possible to reproduce the "Changing staff" > example (Chapter 2.2.1 Common notation for keyboards of Lilypond guide) > using: > - a single file "left.ly" for the Left-Hand > - a single file "right.ly" for the Right-Hand > - a file "general.ly" to generate the pdf output file. > > (sorry for my english) > > Thank you in advance to all for the answers. > > Regards > Marco B. > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user >
\version "2.18.2" \include "right.ily" \include "left.ily" \new PianoStaff << \rightMusic \leftMusic >>
left.ily
Description: Binary data
right.ily
Description: Binary data
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user