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
      <http://lsr.dsi.unimi.it/LSR/Item?id=366> [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
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to