]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/header-ifelse.ly
* lily/staff-symbol-referencer.cc (get_position): emergency
[lilypond.git] / input / test / header-ifelse.ly
index b2ecfa858439774c917eb8b1defabf9ed2d75c5e..3f0a95c59512b2c2b8394914f332cc89f840322c 100644 (file)
@@ -1,26 +1,21 @@
-\version "2.1.28"
+\version "2.3.8"
 
 
-#(define (my-ly-version)
-    (list-head (ly:version) 3))
-
 #(if (not (defined? 'pieceTagLine))
-    (define pieceTagLine (string-append "Jeremie " (numbers->string (my-ly-version)) " was here")))
+  (define pieceTagLine (string-append "Title has version " (lilypond-version))))
 
 \header{
-tagline = \pieceTagLine
-texidoc = "
+    title = \pieceTagLine
+    texidoc = "
 
-High level functionality (eg. conditional defines),
-can be accomplished with GUILE.
+High level functionality (eg. conditional defines), can be
+accomplished with GUILE.
 
-This example puts the current version in the tagline via Scheme,
-however, the tagline is not printed to the collated webpage snippets.
+This example puts the current version in the title via Scheme.
 
 " 
 }
 
-\score{ \notes{ c'4 }
 \paper {raggedright=##t}
-}
+{ c'4 }