lilypond-user
[Top][All Lists]
Advanced

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

Re: Header LSR 0.34821


From: Jan-Peter Voigt
Subject: Re: Header LSR 0.34821
Date: Thu, 26 Jan 2012 08:23:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Lightning/1.0b2 Thunderbird/3.1.16

Dear Ming Tsang,

in recent 2.15 Version, the scheme function ly:export has been removed in favour of a syntax change. (The LSR still relies on v2.12?)
So to have this example running in 2.15.26, you have to change:
#(ly:export (lilypond-version))
to
$(lilypond-version)

HTH
Cheers, Jan-Peter

Am 26.01.2012 04:03, schrieb MING TSANG:
I try to use the LSR 0.34821 in LPv2.15.26 and I got the following error: 
<><><><><><><>
> %lilypond %args "C:\Users\Tsang\Dropbox\Lyndon\LiLy\TEST\test_header.ly"
Processing `C:/Users/Tsang/Dropbox/Lyndon/LiLy/TEST/test_header.ly'
Parsing...
C:/Users/Tsang/Dropbox/Lyndon/LiLy/TEST/test_header.ly:62:7: error: GUILE signaled an error for the _expression_ beginning here
      #
       (ly:export (lilypond-version))
C:/Users/Tsang/Dropbox/Lyndon/LiLy/TEST/test_header.ly:62:6: error: not a markup
     
      #(ly:export (lilypond-version))
<><><><>end

LSR 

Translating the default LilyPond tagline [0.34821]

%LSR thanks to John Mandereau for this snippet

\header {
  %% taken from titling-init.ly
  tagline = \markup {
    \with-url
    #"http://lilypond.org/web/"
    \line {
      %% feel free to translate this line to your own language
      "This score has been wonderfully engraved thanks to the awesome LilyPond"
      #(ly:export (lilypond-version))
      \char ##x2014
      "http://lilypond.org"
    }
  }
}

\relative c' {
  c4 d e f
}
 
Blessing in+,
_______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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