]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/embedded-postscript.ly
bump .ly \version to 2.10.0
[lilypond.git] / input / test / embedded-postscript.ly
index 77e3789d0fcac4bad944b9ae3c736d95681bc87d..8240c4baa7e67f61ae647fd8f517d813f5eb590f 100644 (file)
@@ -1,27 +1,28 @@
-\version "1.7.18"
+
+\version "2.10.0"
+
+
 \header {
-  texidoc = "@cindex Embedded Postscript
-By inserting the @TeX{} command \embeddedps, you can
-insert postscript directly into the output.
 
-  "
+  texidoc = "
+
+@cindex Embedded Postscript
+
+The markup command @code{\postscript} inserts postscript directly into
+the output."
+
 }
 
+\layout {
+  line-width = 70 * 5 \pt
+}
 
-%
-%TODO: make molecule-callback to do this. 
-% 
-
-\score {
-  \notes \relative c'' {
-    a-#"\\embeddedps{3 4 moveto 5 3 rlineto stroke}"
-    -#"\\embeddedps{ [ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke}"
-    b-#"\\embeddedps{3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke}"
-    s2
-    a'1
-  }
-  \paper { linewidth = 70 * \staffspace
-%      raggedright = ##t 
-       }
+\relative c'' {
+  a-\markup { \postscript #"3 4 moveto 5 3 rlineto stroke" }
+  -\markup { \postscript #"[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " }
+  
+  b-\markup { \postscript #"3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" }
+  s2
+  a'1
 }