lilypond-user
[Top][All Lists]
Advanced

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

Re: changing lyric font


From: Mats Bengtsson
Subject: Re: changing lyric font
Date: Mon, 08 Sep 2003 11:26:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

It's about time you read the Section "Fine tuning layout" of the
Tutorial carefully once more and learn that the syntax for setting
a property of a graphical object is

\property Contexttype . GraphicalObject \override #'propertyname = #value

   /Mats

Aaron wrote:
Hi,
To be precise.
I put it here:

-------------------------
\context Lyrics \apply #(text-augment "\\R{" "}") \lyrics \override #'font-name = 
#"he8aharoni" { hebrew
lyrics in here.

     }

and I get this output:

ly2dvi (GNU LilyPond) 1.8.0
Running /usr/bin/lilypond...GNU LilyPond 1.8.0
Now processing: `356a.ly'
Parsing...
/snd/backupfromaa/sefern4/shabbos/ly/356a.ly:81:70: error: parse error,
unexpect
ed OVERRIDE:
    \context Lyrics \apply #(text-augment "\\R{" "}") \lyrics \overrid
                                                                      e
#'font-n
ame = #"he8aharoni" {       א ס דר ל סעו ד תא ב צפ רא ד ש ב תא ו אז מין
בה הש תא
 א  תי קא ק די שא _  א ס דר ל סעו ד תא ב צפ רא ד ש ב תא ו אז מין בה _ הש
תא א  ת
י קא ק די שא. איי יאי - - - - - - - - - - - - - - - - - - - - - - - - -
- -  נ ה
ו ריה י שרי בה _ ב ק דו שא ר  בא - ו ב חמ רא - ט בא  ד  ביה תח די נפ שא

/snd/backupfromaa/sefern4/shabbos/ly/356a.ly:87:12: error: parse error,
unexpect
ed '.':
  indent = 0
            .0\cm

/snd/backupfromaa/sefern4/shabbos/ly/356a.ly:89:0: error: parse error,
unexpecte                                            d '}':

}


/snd/backupfromaa/sefern4/shabbos/ly/356a.ly:81:390: warning: Braces
don't match                                            :
    \context Lyrics \apply #(text-augment "\\R{" "}") \lyrics \override
#'font-n                                            ame = #"he8aharoni"
{       א ס דר ל סעו ד תא ב צפ רא ד ש ב תא ו אז מין בה הש
תא                                             א  תי קא ק די שא _  א ס
דר ל סעו ד תא ב צפ רא ד ש ב תא ו אז מין בה _ הש תא א ת י קא ק די שא. איי יאי - - -
- - - - - - - - - - - - - - - - - - - - - - - -  נ
ה                                            ו ריה י שרי בה _ ב ק דו שא
ר  בא - ו ב חמ רא - ט בא  ד  ביה תח די נפ ש
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
      א


ly2dvi: error: LilyPond failed on input file 356a (exit status 1)
ly2dvi: warning: Running LilyPond failed. Rerun with --verbose for a
trace.
address@hidden ly]$

------------------------------------------------------------
I tried these variations:
 \context Lyrics \override 'font-name = #"he8aharoni" \apply
#(text-augment "\\R{" "}") \lyrics  { hebrew

lyrics in here.

      }


and:
\context Lyrics  \apply #(text-augment "\\R{" "}") \lyrics  { \override
'font-name = #"he8aharoni" hebrew

lyrics in here.

      }

to the same error unexpected OVERRIDE:

Is the problem where I put the override, or maybe something else??
Thanks
Aaron






_______________________________________________
Lilypond-user mailing list
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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