+ %% A document processed with lilypond-book can contain music fragments in
+ %% different sizes. To reduce overhead, we define `lyscaleXXX' PS macros
+ %% only once.
+ \lilypondifundefined{lyscale\lilypondpaperoutputscale}
+ {\expandafter\gdef\csname lyscale\lilypondpaperoutputscale\endcsname{}
+ %% This sets CTM so that you get to the currentpoint
+ %% by executing a 0 0 moveto
+ \special{
+ \string!
+ /lyscale\lilypondpaperoutputscale
+ {\lilypondpaperoutputscale\lilypondspace\scaletounit %
+ dup scale} def}}
+ {}
+