-% #(define pieceTagLine "Copyright 2002 (C) Mutopia")
+\version "1.9.0"
+
+
+#(define (my-ly-version)
+ (list-head (ly:version) 3))
#(if (not (defined? 'pieceTagLine))
- (define pieceTagLine (string-append "Jeremie " (numbers->string (ly-version)) " was here")))
+ (define pieceTagLine (string-append "Jeremie " (numbers->string (my-ly-version)) " was here")))
+
+\header{
+tagline = \pieceTagLine
+texidoc = "
+
+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.
+
+"
+}
+\score{ \notes{ c'4 }
+\paper {raggedright=##t}
+}
-pieceTagLine = #pieceTagLine
-\header {
- tagline = \pieceTagLine
- texidoc = "High level functionality can be accomplished with GUILE. Semantics aren't nice though."
- }
-\score { \notes { c4 }}