lilypond-user
[Top][All Lists]
Advanced

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

Re: Different colours in a single word


From: Jayaratna
Subject: Re: Different colours in a single word
Date: Wed, 10 Jun 2009 22:48:03 -0700 (PDT)

Hi Trevor,

thank you for your reply. 

Now the problem looks worse, as I get really strange errors like this:

$ lilypond score.ly
GNU LilyPond 2.12.2
Processing `score.ly'
Analisi...
score.ly:25:11: error: syntax error, unexpected UNSIGNED
%\include "
           04_fig.ly"
error: failed files: "score.ly"

The first lines of my file are like this:


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.12.2"
#(set-global-staff-size 16)




\include "01_fl1.ly"
\include "01_fl2.ly"
\include "01_bc.ly"
%\include "01_fig.ly"

\include "02_fl1.ly"
\include "02_fl2.ly"
\include "02_bc.ly"
%\include "02_fig.ly"

\include "03_fl1.ly"
\include "03_fl2.ly"
\include "03_bc.ly"
%\include "03_fig.ly"

\include "04_fl1.ly"
\include "04_fl2.ly"
\include "04_bc.ly"
%\include "04_fig.ly"

\book {



  \header {

    title = \markup \center-align { \smallCaps "La Fuitte du Roi
d'Angleterre" \fontsize #-3 "à 3. deux Violons où Flutes, & Basse ou
Continue. par N. DEROSIER" }
    subtitle = \markup { \italic \fontsize #-2  "et se vendenz chez.
l'Autheur, sur le Cingel devant le Doele inde Roose-Boom" }
    subsubtitle = \markup { \smallCaps "A Amsterdam, 1689."}
    %composer = \markup \center-column { "Nicolas Derosier "  }
    copyright =  "© A******** M******* 2009"
%    tagline = \markup {\roman "A***** M*****" \concat {\with-color
#(x11-color "red")  "M" \with-color #(x11-color "black") "vsicvs P******
C*****"}

    }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Version is 2.12.2


If I delete the %\include "04_fig.ly" line, Lilypond starts giving errors
from the next " character.



Thank you,
Andrea


Trevor Daniels wrote:
> 
> Hi
> 
> This works fine for me.  Are you including the title in a \header 
> { ... } block?
> 
> If you are, tell us what version of LilyPond you are using, what the 
> error is, and post more of your .ly file so we can look for the 
> problem.
> 
> Trevor
> 
> ----- Original Message ----- 
> From: "Jayaratna" <address@hidden>
> To: <address@hidden>
> Sent: Wednesday, June 10, 2009 7:34 PM
> Subject: Re: Different colours in a single word
> 
> 
>>
>> I am sorry I am a real beginner, this:
>>
>>    title = \markup {\roman "Nomen Cognomen" \concat {\with-color
>> #(x11-color "red")  "M" \with-color #(x11-color "black") 
>> "vsicvs"} }
>>
>> produces errors.
>>
>>
>>
>>
>> Graham Percival-3 wrote:
>>>
>>> Use \concat.  See the docs for details.
>>>
>>> Cheers,
>>> - Graham
>>>
>>> On Wed, Jun 10, 2009 at 09:55:49AM -0700, Jayaratna wrote:
>>>>
>>>> Dear all,
>>>>
>>>> I need to print in red colour the first letter in a word, but 
>>>> the
>>>> following:
>>>>
>>>> \markup {\roman \with-color #(x11-color "red") "M" \with-color
>>>> #(x11-color
>>>> "black") "vsicvs"}
>>>>
>>>> creates a space between the coloured letter and the rest of the 
>>>> word.
>>>>
>>>> Any suggestions?
>>>> Thank you in advance,
>>>> Andrea
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/Different-colours-in-a-single-word-tp23966604p23966604.html
>>>> Sent from the Gnu - Lilypond - User mailing list archive at 
>>>> Nabble.com.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> lilypond-user mailing list
>>>> address@hidden
>>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Different-colours-in-a-single-word-tp23966604p23968396.html
>> Sent from the Gnu - Lilypond - User mailing list archive at 
>> Nabble.com.
>>
>>
>>
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
> 
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Different-colours-in-a-single-word-tp23966604p23975632.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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