]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/embedded-scm.ly
*** empty log message ***
[lilypond.git] / input / test / embedded-scm.ly
index dd66fad17aa482580fd89b960b432cd6253a0a5d..9237122f77c1b1df91a018eb054b532a0c2186c3 100644 (file)
@@ -1,13 +1,22 @@
+\version "2.2.0"
+\header {
+    
+    texidoc = "@cindex Embedded scm
 
-\version "2.1.7"
-% 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.
-"}
+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))
 
-#(begin (newline)(display "hello world")(newline))\score{
-       \notes\relative c'{ c }
-\paper{raggedright = ##t}
+\score {
+       \notes\relative c' { c }
+       \paper {raggedright = ##t}
 }