]> git.donarmstrong.com Git - lilypond.git/blobdiff - tex/lily-pdf-defs.tex
small update.
[lilypond.git] / tex / lily-pdf-defs.tex
index 69cacb71a6cd259b53cc1855720e9e704b4db198..69af9f0465e0dd222e475fad836cd989c6b07663 100644 (file)
@@ -1,17 +1,27 @@
-% Defines an embeddedpdf command so that we can do the right thing.
+% lily-pdf-defs.tex
+%
+% Define an \embeddedpdf command so that we can do the right thing.
+%
+\edef\lilypdfdefsELC{\the\endlinechar}%
+\endlinechar -1\relax
 
-\def\lilySpace{ }
-\def\turnOnPostScript{%
-        % This sets CTM so that you get to the currentpoint
-        % by executing a 0 0 moveto
-        \def\embeddedpdf##1{%
-                \pdfliteral{q \lilypondpaperoutputscale\lilySpace 0 0 %
-                        \lilypondpaperoutputscale\lilySpace 0 0 cm %
-                       \lilyoutputscalefactor\lilySpace 0 0 %
-                       \lilyoutputscalefactor\lilySpace 0 0 cm %
-                        ##1 Q}%
-        }
+\gdef\lilypondspace{ }
+
+\gdef\lilypondpostscript{
+  % This sets CTM so that you get to the currentpoint
+  % by executing a 0 0 moveto
+  \def\embeddedpdf##1{
+    \pdfliteral{
+      q \lilypondpaperoutputscale\lilypondspace 0 0 %
+        \lilypondpaperoutputscale\lilypondspace 0 0 cm %
+        \lilyoutputscalefactor\lilypondspace 0 0 %
+        \lilyoutputscalefactor\lilypondspace 0 0 cm %
+      ##1 Q
+    }
+  }
 }
 
-\def\turnOnExperimentalFeatures{}
+\gdef\lilypondexperimentalfeatures{}
 
+\endlinechar \lilypdfdefsELC
+\endinput