]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/embedded-scm.ly
*** empty log message ***
[lilypond.git] / input / test / embedded-scm.ly
index 4673dadce17d29fc5628cab00ebfb5df4c5b074b..9237122f77c1b1df91a018eb054b532a0c2186c3 100644 (file)
@@ -1,12 +1,22 @@
-\version "1.7.18"
-% TODO: does this work?  It doesn't do anything with 1.7.20
-\header {texidoc="@cindex Embedded scm
-You can embed scm functions in your scores.
-"}
-
-#(begin (newline)(display "hello world")(newline))\score{
-       \notes\relative c'{ c }
-\paper{raggedright = ##t}
+\version "2.2.0"
+\header {
+    
+    texidoc = "@cindex Embedded scm
+
+You can embed scheme functions in your scores.  While generating the
+output, ``hello world'' is printed to the console.
+"
+     % see also: --safe-mode
+}
+
+#(begin
+  (newline)
+  (display "hello world")
+  (newline))
+
+\score {
+       \notes\relative c' { c }
+       \paper {raggedright = ##t}
 }