]> git.donarmstrong.com Git - lilypond.git/blob - tex/lily-pdf-defs.tex
* scm/framework-tex.scm (header-end): Don't set \outputscale.
[lilypond.git] / tex / lily-pdf-defs.tex
1 % lily-pdf-defs.tex
2 %
3 % Define an \embeddedpdf command so that we can do the right thing.
4 %
5 \edef\lilypdfdefsELC{\the\endlinechar}%
6 \endlinechar -1\relax
7
8 \gdef\lilypondspace{ }
9
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
20     }
21   }
22 }
23
24 \gdef\lilypondexperimentalfeatures{}
25
26 \endlinechar \lilypdfdefsELC
27 \endinput