lilypond-user
[Top][All Lists]
Advanced

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

RE: layout of markup text (Peter Gentry)


From: Peter Gentry
Subject: RE: layout of markup text (Peter Gentry)
Date: Mon, 23 Jul 2018 15:22:06 +0100

I have placed a copy of addTextSpannerText.ly to the C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/ly folder.

My score has five parts and in case a. each part/movement file includes the
statement -  \include "addTextSpannerText.ly"

Result -  Each part/movement compiles without error.

I also have a score file case b. which produces a full score of five parts
and currently two movements. Each part is input via \include "Line1_M1.ly"
etc within  \new staff blocks in a \bookpart block for each Movement.

With files as above b. fails with a cascade of  errors staring with

 C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/ly/addTextSpannerText.ly:3:1:
error: wrong type for argument 1.  Expecting music, found
"addTextSpannerText"

addTextSpannerText =

C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/ly/addTextSpannerText.ly:3:20:
error: syntax error, unexpected '='
addTextSpannerText 
                   =
It looks as though in this case the compiler is treating each
"addTextSpannerText.ly" in the parts as music rather than scheme.

For b to succeed I remove all the   include "addTextSpannerText.ly"  from
the part files and put one statement at the head of the score file. 

But the corollary is that each individual part file will fail when compiled
alone. (I like to check each part/Mov before compiling the whole score.)

Is there a way to make the score file regard the part file \include
"addTextSpannerText.ly" statements as scheme as happens when the part is
compiled alone.

If this explanation seems convoluted it properly reflects my mind...:)




reply via email to

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