Re: Multiple scores with common layout setup

2009-04-02 Thread Helge Kruse

Anthony W. Youngman wrote:

Any other suggestions are welcome.


If it's all the same code, just bung it in a \include!

Ok, I placed the lines in the layout block into a .ly file and include
it wherever I would repeat the lines. I also tried to define an expression

dynamicsContext = {
  %% all the things that are in the include
}

But this failed to compile.
error: syntax error, unexpected CONTEXT_DEF_IDENTIFIER
when I try to use \dynamicsContext.


If it's similar code, look at using tags.
I started reading, but need to understand. It looks like a conditional 
construct in a definition. Will play around it...



Thanks,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple scores with common layout setup

2009-04-01 Thread Anthony W. Youngman
In message 49d32d78.8070...@gmx.net, Helge Kruse
helge.kruse-nos...@gmx.net writes
Hello,

I have a Theme and Variations questions. I started notating a piece
what could be handled with (3.1.2 Multiple scores in a book, see also
http://lsr.dsi.unimi.it/LSR/Item?id=310). But I need a lot of layout setup in
the PianoStaff, that is bound to the \score. Further I would like to write
the Upper, Lower and Dynamics of the three variations in a similar way as
I did for the theme.

What is a convinient way to continue this notation work? I would like to
avoid duplicating text group by copy and paste.

Any other suggestions are welcome.

If it's all the same code, just bung it in a \include!

If it's similar code, look at using tags.

I create parts as separate files and an awful lot of my stuff is in
includes. For example, all the piece information for the header is in an
include and the part file contains

\header {
instrument = ...
\include header.ly
}

Cheers,
Wol
-- 
Anthony W. Youngman - anth...@thewolery.demon.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user