]> git.donarmstrong.com Git - lilypond.git/blobdiff - tex/lily-pdf-defs.tex
teTeX-3.0 fix: install .enc in fonts/enc. Add
[lilypond.git] / tex / lily-pdf-defs.tex
index 69cacb71a6cd259b53cc1855720e9e704b4db198..be62a95bf28742882d2a9055f1d5e39887576b15 100644 (file)
@@ -1,17 +1,24 @@
-% 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{ }
 
-\def\turnOnExperimentalFeatures{}
+\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}}}
 
+\endlinechar \lilypdfdefsELC
+\endinput
+
+%% end lily-pdf-defs.tex