lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ignoring certain parts when using lilypond-book


From: Reinhold Kainhofer
Subject: Ignoring certain parts when using lilypond-book
Date: Tue, 7 Aug 2007 15:43:00 +0200
User-agent: KMail/1.9.7

Hi all!
Probably I'm just blind, but I couldn't find anything in the online 
documentation:

Is there a way to ignore certain parts of a .ly file (e.g. the whole 
\paper{..} section) when including that .ly file in a tex file for 
lilypond-book.
In particular, I want to combine lots of christmas songs into a book. However, 
each song was laid out on its own with separate page margins etc. When I 
include these files directly into the tex file, lilypond-book will use the 
margins given in the .ly file and not take those inherited from tex, which 
results in the images being way too large (margins are larger in the tex 
document than I set them in lilyond).
I don't want to split eachfile into two, so I'm looking for something like

\ignoreInLilypondBook {
\paper {
  left-margin = 1\cm
....
}
}

Is there anything like this?

Cheers,
REinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]