% lily-pdf-defs.tex
%
% Define an \embeddedpdf command so that we can do the right thing.
%
\edef\lilypdfdefsELC{\the\endlinechar}%
\endlinechar -1\relax

\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
    }
  }
}

\gdef\lilypondexperimentalfeatures{}

\endlinechar \lilypdfdefsELC
\endinput
