Why making it so complicated, see http://lilypond.org/doc/v2.0/input/test/out-www/collated-files.html#unfold-all-repeats.ly for a simpler solution.
/Mats
Erik Sandberg wrote:
On Thursday 15 January 2004 20.55, Alberto Manuel Brandão Simões wrote:
In the other hand, to unfold them makes the paper output to be unfolded too :(
There is a dirty trick:
1. Put your notes in their own file (say notes.ly, which puts all the notes of your score into the variable YourNotes).
2. Instead of repeat "unfold" 2, use a variable for "unfold" in this file. Like
repeat \foo 2
3. In the file with your \score definitions, do two separate score blocks for paper & midi, including the notes.ly twice with different definitions of foo:
foo = "times" \include "notes.ly" \score { \YourNotes \paper {..} } foo = "unfold" \include "notes.ly" \score { \YourNotes \midi {tempo 4=100} }
Hope it works, Erik
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user