]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/header-ifelse.ly
instrument name fixup.
[lilypond.git] / input / test / header-ifelse.ly
index cbbde85227922e9919643e7ff82cbf2ce23bf4ca..9d717be65102aa81ed51db08bda73ae2834227d6 100644 (file)
@@ -1,27 +1,21 @@
-\version "1.9.1"
+\version "2.7.39"
 
 
-#(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.
-Since the tagline isn't used in creating the webpage, this example
-doesn't output anything unusual in the collated snippets.
+This example puts the current version in the title via Scheme.
 
 " 
 }
 
-\score{ \notes{ c'4 }
-\paper {raggedright=##t}
-}
+\layout {ragged-right=##t}
+{ c'4 }