The common templates for orchestral music require to remove comments when
using separate files. (ex: http://lsr.dsi.unimi.it/LSR/Item?id=359).

I am using the following structure that does not require commenting and
un-commenting the score parts but this requires to create one more file for
each part to generate the individual part.

   pieceName_instrument-1-part.ly
   pieceName_instrument-1-score.ly
   pieceName_instrument-2-part.ly
   pieceName_instrument-2-score.ly
   pieceName_score.ly

I thought about defining a macro (like IFDEF in C++) that would un-comment
the \score block in each of the instrument part if the file has been
included.

Example in pseudo code:

   pieceName_instrument-1-part.ly
   => contains  the following code:

If ( FILE_IS_INCLUDED) {
%{
\score {
  ....
  instrument_1
}
%}

Any idea if that is possible?




   pieceName_instrument-2-part.ly
   pieceName_score.ly
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to