Hi Tao, Except this is an assignment and not a macro substitution so it wont work in my situation...
\header { %Common settings poet = #(markup lyricist) } \book { \bookpart { \header { lyricist = \markup { \bold "Yaahda Ohda" } composer = \markup { \italics "Bill G.t.s" } } etc... } \bookpart { \header { lyricist = \markup { \bold "Tom Albany" } composer = \markup { \italics "Bill G.t.s" } } etc... } etc... } This code will fail to compile because lyricist is an unbound variable in the first instance. Cheers Simon On Sun, 14 Dec 2008 10:34:57 +0100, "Tao Cumplido" <tao_lilypondu...@gmx.net> said: > Hi, > > I solved this for by using scheme in the header, like this: > > poet = #(markup lyricist) > > I don't know if you have to use scheme there but it works. > Hope that helps. > > Regards, > > Tao > > -------- Original-Nachricht -------- > > Datum: Sun, 14 Dec 2008 14:00:25 +0700 > > Von: "Simon J Mackenzie" <smac...@fastmail.fm> > > An: "LilyPond Mailing List" <lilypond-user@gnu.org> > > Betreff: Replacement Macros - Ooops! Try Again Again > > > Hi > > How do you go about defining replacement macros so that ... > > lyricist = \markup { \bold "Fred" "J" \italic "Bones" } > > is transformed into say a form of... > > poet = lyricist > > Cheers > > Simon > > -------------------------------------------------- > > > > Reverend Simon J Mackenzie <simon.macken...@lca.org.au> > > > > LUTHERAN CHURCH OF AUSTRALIA > > 197 Archer Street, > > North Adelaide, > > South Australia, > > AUSTRALIA, 5006 > > > > -- > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: > http://www.gmx.net/de/go/multimessenger -------------------------------------------------- Reverend Simon J Mackenzie <simon.macken...@lca.org.au> LUTHERAN CHURCH OF AUSTRALIA 197 Archer Street, North Adelaide, South Australia, AUSTRALIA, 5006 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user