* Documentation/user/changing-defaults.itely (Creating contexts):
[lilypond.git] / tex / lily-pdf-defs.tex
blob69af9f0465e0dd222e475fad836cd989c6b07663
1 % lily-pdf-defs.tex
3 % Define an \embeddedpdf command so that we can do the right thing.
5 \edef\lilypdfdefsELC{\the\endlinechar}%
6 \endlinechar -1\relax
8 \gdef\lilypondspace{ }
10 \gdef\lilypondpostscript{
11 % This sets CTM so that you get to the currentpoint
12 % by executing a 0 0 moveto
13 \def\embeddedpdf##1{
14 \pdfliteral{
15 q \lilypondpaperoutputscale\lilypondspace 0 0 %
16 \lilypondpaperoutputscale\lilypondspace 0 0 cm %
17 \lilyoutputscalefactor\lilypondspace 0 0 %
18 \lilyoutputscalefactor\lilypondspace 0 0 cm %
19 ##1 Q
24 \gdef\lilypondexperimentalfeatures{}
26 \endlinechar \lilypdfdefsELC
27 \endinput