3 \edef\lilypsdefsELC{\the\endlinechar}%
6 %% Header info (macros/defs, etc) should go into a \special{! ... };
7 %% note the ! sign. See dvips.info for details.
9 %% We protect punctuation characters with \string to avoid problems with
10 %% language specific shorthands (e.g. `:' for French, `"' for German, etc.).
12 \gdef\lilypondsetdimen#1{
13 \expandafter\gdef\csname #1ps
\endcsname{}
16 /
#1 (
\csname #1\endcsname) set_tex_dimen
}}
18 \gdef\lilypondspace{ }
20 \gdef\lilypondpostscript{
21 %% A document processed with lilypond-book can contain music fragments in
22 %% different sizes. To reduce overhead, we define `lyscaleXXX' PS macros
24 \lilypondifundefined{lyscale
\lilypondpaperoutputscale}
25 {\expandafter\gdef\csname lyscale
\lilypondpaperoutputscale\endcsname{}
26 %% This sets CTM so that you get to the currentpoint
27 %% by executing a 0 0 moveto
30 /lyscale
\lilypondpaperoutputscale
31 {\lilypondpaperoutputscale\lilypondspace\scaletounit %
38 lyscale
\lilypondpaperoutputscale\lilypondspace #
#1}}}
40 \endlinechar \lilypsdefsELC
43 %% end lily-ps-defs.tex